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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user