[vlc-commits] [Git][videolan/vlc][master] share: utils: remove obsolete gnome-vlc-default script

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Fri Jul 29 07:29:58 UTC 2022



Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
2e72899e by Marvin Scholz at 2022-07-29T07:09:19+00:00
share: utils: remove obsolete gnome-vlc-default script

This script works using tools that operate on the
no longer used GConf database.

- - - - -


2 changed files:

- share/Makefile.am
- − share/utils/gnome-vlc-default.sh


Changes:

=====================================
share/Makefile.am
=====================================
@@ -47,7 +47,6 @@ dist_icons128_DATA = icons/128x128/vlc.png icons/128x128/vlc-xmas.png \
 dist_icons256_DATA = icons/256x256/vlc.png
 
 nobase_dist_pkgdata_SCRIPTS = \
-	utils/gnome-vlc-default.sh \
 	utils/audio-vlc-default.sh \
 	utils/video-vlc-default.sh \
 	$(NULL)


=====================================
share/utils/gnome-vlc-default.sh deleted
=====================================
@@ -1,28 +0,0 @@
-#!/bin/sh
-# share/applications/gnome-vlc-default.sh
-# $Id$
-#
-# Copyright (C) 2006, VideoLAN team
-# Authors: Torsten Spindler
-#          Jean-Paul Saman <jpsaman _at_ videolan dot org>
-#
-# Set vlc as default player on the gnome desktop
-# Tested on Ubuntu 6.10 Edgy
-#
-GCONFTOOL=gconftool
-if test -x /usr/bin/gconftool; then
-	GCONFTOOL=/usr/bin/gconftool
-	OPTS="-t string -s"
-fi
-if test -x /usr/bin/gconftool-2; then
-	GCONFTOOL=/usr/bin/gconftool-2
-	OPTS="--type string --set"
-fi
-$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_vcd_command "vlc %m"
-$GCONFTOOL $OPTS /desktop/gnome/volume_manager/autoplay_dvd_command "vlc %m"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mms "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/mmsh "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtsp "vlc %s"
-$GCONFTOOL $OPTS /desktop/gnome/url-handlers/rtp "vlc %s"
-
-exit 0



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2e72899ec2305395a54c38f7924c52ae093c9235

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2e72899ec2305395a54c38f7924c52ae093c9235
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list