def on_menu_about_activate(self, *extra): gtk.about_dialog_set_url_hook(lambda dialog, uri: misc.open_uri(uri)) about = gtk.glade.XML(paths.ui_dir("meldapp.glade"), "about").get_widget("about") about.props.version = version about.set_transient_for(self.widget) about.run() about.hide()
def on_menu_about_activate(self, *extra): gtk.about_dialog_set_url_hook(lambda dialog, uri: misc.open_uri(uri)) builder = gtk.Builder() # FIXME: domain literal duplicated from bin/meld builder.set_translation_domain("meld") builder.add_objects_from_file(paths.ui_dir("meldapp.ui"), ["about"]) about = builder.get_object("about") about.props.version = app.version about.set_transient_for(self.widget) about.run() about.hide()
def on_menu_help_bug_activate(self, button): misc.open_uri("http://bugzilla.gnome.org/buglist.cgi?query=product%3Ameld")
def on_menu_help_activate(self, button): misc.open_uri("ghelp:///"+os.path.abspath(paths.help_dir("C/meld.xml")))
def on_menu_help_bug_activate(self, button): misc.open_uri( "http://bugzilla.gnome.org/buglist.cgi?query=product%3Ameld")
def on_menu_help_activate(self, button): misc.open_uri("ghelp:///" + os.path.abspath(paths.help_dir("C/meld.xml")))