diff options
-rwxr-xr-x | macrofusion.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/macrofusion.py b/macrofusion.py index 5e52139..e0ede36 100755 --- a/macrofusion.py +++ b/macrofusion.py @@ -34,7 +34,7 @@ global session_options_bak session_options_bak=[] APP = 'MacroFusion' -__VERSION__='0.7.3' +__VERSION__='0.7.4' __LICENSE__='GPL' __COPYRIGHT__='Dariusz Duma' __WEBSITE__='http://sourceforge.net/p/macrofusion' @@ -253,6 +253,7 @@ class Interface: self.checkbutton_a5_crop = self.gui.get_object("checkbutton_a5_crop") self.checkbutton_a5_shift = self.gui.get_object("checkbutton_a5_shift") self.checkbutton_a5_field = self.gui.get_object("checkbutton_a5_field") + self.buttonabout = self.gui.get_object("buttonabout") self.entryedit_field = self.gui.get_object("entry_editor") @@ -326,8 +327,8 @@ class Interface: "on_buttonbeforeafter_pressed" : self.baswitch, "on_buttonbeforeafter_released" : self.baswitch, "on_entry_editor_activate" : self.check_editor, - "on_imagemenuitem10_activate" : self.apropos, - "on_hscaleexp_format_value" : self.apropos + "on_hscaleexp_format_value" : self.apropos, + "on_buttonabout_clicked" : self.apropos } #Auto-connection des signaux self.gui.connect_signals(dic) @@ -857,14 +858,12 @@ class Thread_Fusion(threading.Thread): class AproposFen: def __init__(self): - # self.about = Gtk.glade.XML(donnees.install_dossier + "/Apropos.glade", domain=APP) - # self.aboutdialog = self.about.get_object("aboutdialog1") self.aboutdialog = Gtk.AboutDialog() self.aboutdialog.set_name("MacroFusion") self.aboutdialog.set_modal(True) - self.aboutdialog.set_position(Gtk.WIN_POS_CENTER) + self.aboutdialog.set_position(Gtk.WindowPosition.CENTER) self.aboutdialog.set_version(__VERSION__) - self.aboutdialog.set_comments('A GTK Gui for the excellent Enfuse.\n Based on EnfuseGui by Chez Gholyo.\n\n2011 (c) Dariusz Duma\n<dhor@toxic.net.pl>') + self.aboutdialog.set_comments('A GTK Gui for the excellent Enfuse.\n\n2014 (c) Dariusz Duma\n<dhor@toxic.net.pl>') # self.aboutdialog.set_copyright(__COPYRIGHT__) self.aboutdialog.set_website(__WEBSITE__) self.pixbuf=GdkPixbuf.Pixbuf.new_from_file(IMG + "macrofusion.png") |