From 4998d8c83efda6a86e7a657b886aa6681262bda0 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Wed, 22 Apr 2009 12:13:06 -0400 Subject: [PATCH 1/2] Set the SVG wicd icon as the window icon in wicd-client. --- wicd/gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/wicd/gui.py b/wicd/gui.py index 2a2e174..e6bdecb 100644 --- a/wicd/gui.py +++ b/wicd/gui.py @@ -149,6 +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') size = daemon.ReadWindowSize("main") width = size[0] height = size[1] From 72941a17c16ae7b619a6de3cb4c9625701a2bf0b Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Wed, 22 Apr 2009 17:37:50 -0400 Subject: [PATCH 2/2] Made the network preferences dialogs save whether they are using static IPs or not. Thanks to Adam for finding this one. --- curses/netentry_curses.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/curses/netentry_curses.py b/curses/netentry_curses.py index 5bcf2f8..2723efe 100644 --- a/curses/netentry_curses.py +++ b/curses/netentry_curses.py @@ -178,6 +178,9 @@ class WiredSettingsDialog(AdvancedSettingsDialog): self.global_dns_cb.set_state(bool(wired.GetWiredProperty('use_global_dns'))) self.static_dns_cb.set_state(bool(wired.GetWiredProperty('use_static_dns'))) + # Set static ip checkbox. Forgot to do this the first time. + if stringToNone(self.ip_edit.get_edit_text()): + self.static_ip_cb.set_state(True) self.dns1.set_edit_text(self.format_entry( "dns1")) self.dns2.set_edit_text(self.format_entry( "dns2")) self.dns3.set_edit_text(self.format_entry( "dns3"))