mirror of
https://github.com/gryf/wicd.git
synced 2025-12-22 05:48:03 +01:00
Merged
This commit is contained in:
@@ -178,6 +178,9 @@ class WiredSettingsDialog(AdvancedSettingsDialog):
|
|||||||
self.global_dns_cb.set_state(bool(wired.GetWiredProperty('use_global_dns')))
|
self.global_dns_cb.set_state(bool(wired.GetWiredProperty('use_global_dns')))
|
||||||
self.static_dns_cb.set_state(bool(wired.GetWiredProperty('use_static_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.dns1.set_edit_text(self.format_entry( "dns1"))
|
||||||
self.dns2.set_edit_text(self.format_entry( "dns2"))
|
self.dns2.set_edit_text(self.format_entry( "dns2"))
|
||||||
self.dns3.set_edit_text(self.format_entry( "dns3"))
|
self.dns3.set_edit_text(self.format_entry( "dns3"))
|
||||||
|
|||||||
@@ -149,6 +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')
|
||||||
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