aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--h-client/hclient.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/h-client/hclient.py b/h-client/hclient.py
index 691e3be..64c59e3 100644
--- a/h-client/hclient.py
+++ b/h-client/hclient.py
@@ -353,6 +353,8 @@ class hclient:
self.loginWindow.set_icon_from_file("img/icon.png")
self.loginWindow.set_size_request(300, -1)
+ self.window.connect("delete_event", self.delete_event_login)
+
#self.prefWindow.set_size_request(300, -1)
vbox = gtk.VBox(False, 0)
@@ -504,7 +506,10 @@ class hclient:
##cell_renderer.set_property('pixbuf', img)
#return
-
+ def delete_event_login(self, widget, event, data=None):
+ self._submitFlag = False
+ return False
+
#another callback
def delete_event(self, widget, event, data=None):
gtk.main_quit()