Si vous constatez la perte de tickets, de commentaires ou de projets, veuillez consulter la page

Commit 06ad3991 authored by Thuban's avatar Thuban

fix handyupdate pour fermeture

parent e9cb3119
...@@ -13,12 +13,13 @@ class HandyUpdate(): ...@@ -13,12 +13,13 @@ class HandyUpdate():
def on_button2_clicked(self, widget): def on_button2_clicked(self, widget):
os.system("handy-update-checker &") os.system("handy-update-checker &")
gtk.main_quit() Gtk.main_quit()
def __init__(self): def __init__(self):
window = Gtk.Window() window = Gtk.Window()
window.set_title("HandyUpdate") window.set_title("HandyUpdate")
window.connect("destroy", self.on_button1_clicked) window.connect("destroy", self.on_button1_clicked)
window.connect("delete_event", lambda x,y: Gtk.main_quit())
window.set_default_size(300, 200) window.set_default_size(300, 200)
vBox = Gtk.VBox() 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