Added support for Gnome proxy configuration using gnome-network-properties
This commit is contained in:
parent
f901b3b3de
commit
449de0389a
@ -172,8 +172,10 @@ class SystemTrayIcon(QtGui.QSystemTrayIcon):
|
||||
networkFirewallConfigureProcess.execute("/usr/bin/gufw")
|
||||
|
||||
def networkProxy(self):
|
||||
networkProxyProcess.execute("/opt/kde/bin/kcmshell4",
|
||||
QtCore.QStringList(list(set(['proxy']))))
|
||||
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")
|
||||
|
||||
def SRPMSCheckUpgradeList(self):
|
||||
checkSRPMSUpdatesTimer.stop()
|
||||
|
Loading…
Reference in New Issue
Block a user