diff --git a/src/module/gtkwindow.py b/src/module/gtkwindow.py index 6cf745c..9700a4f 100644 --- a/src/module/gtkwindow.py +++ b/src/module/gtkwindow.py @@ -34,8 +34,6 @@ def block_delete(*args): self.o("ui_window_main").connect("destroy", Gtk.main_quit) self.o("ui_window_main").connect("delete-event", block_delete) self.o("ui_window_main").connect("draw", self.__draw_window) - self.o("ui_window_main").connect( - "focus-out-event", self.__event_window_focus_out) # Login button and password entry enter self.o("ui_button_login").connect("clicked", self.__event_login_button) self.o("ui_entry_password").connect( @@ -108,9 +106,6 @@ def __init_gui(self): ############### Window event ############### - def __event_window_focus_out(self, sender, event): - self.o("ui_window_main").present() - def __draw_window(self, widget, context): if self.background_pixbuf: Gdk.cairo_set_source_pixbuf(context, self.background_pixbuf, 0, 0)