1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

Fixed a bug that would sometimes cause the tray icon to not display the right connection state on startup.

This commit is contained in:
imdano
2007-12-17 15:44:41 +00:00
parent 7e6f7938d5
commit da4d84b793
3 changed files with 4 additions and 7 deletions

5
gui.py
View File

@@ -896,9 +896,7 @@ class appGui:
self.windowname = "gtkbench"
self.wTree = gtk.glade.XML(gladefile)
dic = { # "on_vpn_connection" : self.on_vpn_connection,
# I don't see a function that matches this...
"refresh_clicked" : self.refresh_networks,
dic = { "refresh_clicked" : self.refresh_networks,
"quit_clicked" : self.exit,
"disconnect_clicked" : self.disconnect_wireless,
"main_exit" : self.exit,
@@ -935,6 +933,7 @@ class appGui:
self.is_visible = True
self.window.connect('delete_event', self.exit)
size = config.ReadWindowSize()
width = size[0]
height = size[1]