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")
|
networkFirewallConfigureProcess.execute("/usr/bin/gufw")
|
||||||
|
|
||||||
def networkProxy(self):
|
def networkProxy(self):
|
||||||
networkProxyProcess.execute("/opt/kde/bin/kcmshell4",
|
if desktop_session == 'kde':
|
||||||
QtCore.QStringList(list(set(['proxy']))))
|
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):
|
def SRPMSCheckUpgradeList(self):
|
||||||
checkSRPMSUpdatesTimer.stop()
|
checkSRPMSUpdatesTimer.stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user