1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-24 23:22:27 +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:
Robby Workman
2009-04-25 23:17:33 -05:00
parent c9b3a507d8
commit 9588a78b68

View File

@@ -149,7 +149,7 @@ class appGui(object):
gladefile = os.path.join(wpath.share, "wicd.glade")
self.wTree = gtk.glade.XML(gladefile)
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")
width = size[0]
height = size[1]