1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 05:48:03 +01:00

Fix issues with the way disconnect scripts work.

Make flushing the route table more likely to work.
This commit is contained in:
Dan O'Reilly
2009-01-26 18:46:57 -05:00
parent ed9a0d63dc
commit d20dafa088
4 changed files with 25 additions and 15 deletions

View File

@@ -527,6 +527,7 @@ class appGui(object):
instruct_label = self.wTree.get_widget("label_instructions")
if num_networks > 0:
instruct_label.show()
dbus_ifaces = dbusmanager.get_dbus_ifaces()
for x in range(0, num_networks):
if printLine:
sep = gtk.HSeparator()
@@ -535,7 +536,7 @@ class appGui(object):
sep.show()
else:
printLine = True
tempnet = WirelessNetworkEntry(x, dbusmanager.get_dbus_ifaces())
tempnet = WirelessNetworkEntry(x, dbus_ifaces)
self.network_list.pack_start(tempnet, False, False)
tempnet.connect_button.connect("button-press-event",
self.connect, "wireless", x,