From 9588a78b68bc6d14b3b6162da38793253b5dc49e Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 25 Apr 2009 23:17:33 -0500 Subject: [PATCH] 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). --- wicd/gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/gui.py b/wicd/gui.py index e6bdecb..47227ba 100644 --- a/wicd/gui.py +++ b/wicd/gui.py @@ -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]