mirror of
https://github.com/gryf/wicd.git
synced 2026-01-06 13:54:17 +01:00
Use set_icon_name() instead of set_icon_from_file() in gui.py ; this
allows gtk to use the themed icons (and presumably the correct size and all that good stuff).
This commit is contained in:
@@ -149,7 +149,7 @@ class appGui(object):
|
|||||||
gladefile = os.path.join(wpath.share, "wicd.glade")
|
gladefile = os.path.join(wpath.share, "wicd.glade")
|
||||||
self.wTree = gtk.glade.XML(gladefile)
|
self.wTree = gtk.glade.XML(gladefile)
|
||||||
self.window = self.wTree.get_widget("window1")
|
self.window = self.wTree.get_widget("window1")
|
||||||
self.window.set_icon_from_file(wpath.icons +'scalable/apps/wicd-client.svg')
|
self.window.set_icon_name("wicd-client")
|
||||||
size = daemon.ReadWindowSize("main")
|
size = daemon.ReadWindowSize("main")
|
||||||
width = size[0]
|
width = size[0]
|
||||||
height = size[1]
|
height = size[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user