Commit 06ad3991 authored by prx's avatar prx

fix handyupdate pour fermeture

parent e9cb3119
......@@ -13,12 +13,13 @@ class HandyUpdate():
def on_button2_clicked(self, widget):
os.system("handy-update-checker &")
gtk.main_quit()
Gtk.main_quit()
def __init__(self):
window = Gtk.Window()
window.set_title("HandyUpdate")
window.connect("destroy", self.on_button1_clicked)
window.connect("delete_event", lambda x,y: Gtk.main_quit())
window.set_default_size(300, 200)
vBox = Gtk.VBox()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment