diff --git a/data/ui/About.ui b/data/ui/About.ui new file mode 100644 index 0000000..5600bb7 --- /dev/null +++ b/data/ui/About.ui @@ -0,0 +1,139 @@ + + + + + + False + True + center + dialog + Uberwriter + 2.0.3 + Copyright (C) 2018, Wolf Vollprecht + http://uberwriter.github.io/uberwriter + Uberwriter website + Wolf Vollprecht <w.vollprecht@gmail.com> +Manuel Genovés <manuel.genoves@gmail.com> + image-missing + gpl-3-0 + + + + + + False + vertical + 2 + + + False + end + + + + + + + + + False + False + 0 + + + + + True + False + vertical + + + True + False + center + True + + + True + False + end + Donations: + + + 0 + 0 + + + + + Liberapay + True + True + True + start + none + https://liberapay.com/UberWriter/donate + + + 1 + 0 + + + + + False + True + 0 + + + + + True + False + center + True + + + True + False + end + Help to translate: + + + 0 + 0 + + + + + Poeditor + True + True + True + start + none + https://poeditor.com/join/project/gxVzFyXb2x + + + 1 + 0 + + + + + False + True + 1 + + + + + False + True + 2 + + + + + + diff --git a/uberwriter_lib/AppWindow.py b/uberwriter_lib/AppWindow.py index 503eda2..363c71e 100644 --- a/uberwriter_lib/AppWindow.py +++ b/uberwriter_lib/AppWindow.py @@ -172,7 +172,7 @@ class Application(Gtk.Application): action.connect("change-state", self.on_spellcheck) self.add_action(action) - '''Left Menu Actions''' + '''Menu Actions''' action = Gio.SimpleAction.new("new", None) action.connect("activate", self.on_new) @@ -260,15 +260,10 @@ class Application(Gtk.Application): def on_about(self, action, param): - about_dialog = Gtk.AboutDialog(transient_for=self.window, modal=True) - about_dialog.set_program_name("Uberwriter") - about_dialog.set_version("2.0.3") - about_dialog.set_copyright("Copyright (C) 2018, Wolf Vollprecht") - about_dialog.set_license_type(Gtk.License.GPL_3_0) - about_dialog.set_website("Uberwriter website http://uberwriter.github.io/uberwriter") - about_dialog.set_authors(["Wolf Vollprecht ", - "Manuel Genovés "]) - + + builder = get_builder('About') + about_dialog = builder.get_object("AboutDialog") + about_dialog.set_transient_for(self.window) logo_file = get_media_path("uberwriter.svg") logo = GdkPixbuf.Pixbuf.new_from_file(logo_file)