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:
5
gui.py
5
gui.py
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user