diff --git a/src/mambatray b/src/mambatray index 11bdc4e..3dc9c10 100755 --- a/src/mambatray +++ b/src/mambatray @@ -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()