Support for Gnome 3 proxy configuration (currently dropped Gnome 2 support)

This commit is contained in:
Silvan Calarco 2012-11-08 01:44:10 +01:00
parent 1e9eddbda6
commit 77e45e4e2b

View File

@ -175,7 +175,7 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
if desktop_session == 'kde':
networkProxyProcess.execute("/opt/kde/bin/kcmshell4", QtCore.QStringList(list(set(['proxy']))))
elif desktop_session == 'gnome':
networkProxyProcess.execute("/usr/bin/gnome-network-properties")
networkProxyProcess.execute("/usr/bin/gnome-control-center", "network")
def SRPMSCheckUpgradeList(self):
checkSRPMSUpdatesTimer.stop()