GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit 4d84c257 authored by Kai Willadsen's avatar Kai Willadsen

Enable Mallard-based help from within Meld

parent 126bdb8b
......@@ -15,3 +15,9 @@ def uninstalled():
DATADIR = DATADIR or os.path.join(melddir, "data")
LOCALEDIR = LOCALEDIR or os.path.join(melddir, "build", "mo")
# This first bit should be unnecessary, but some things (GTK icon theme
# location, GSettings schema location) don't fall back correctly.
data_dir = os.environ.get('XDG_DATA_DIRS', "/usr/local/share/:/usr/share/")
data_dir = ":".join((melddir, data_dir))
os.environ['XDG_DATA_DIRS'] = data_dir
......@@ -531,8 +531,7 @@ class MeldWindow(gnomeglade.Component):
app.prefs.statusbar_visible = widget.get_active()
def on_menu_help_activate(self, button):
help_path = "/".join(["help", "meld"])
misc.open_uri(help_path)
misc.open_uri("help:meld")
def on_menu_help_bug_activate(self, button):
misc.open_uri("http://bugzilla.gnome.org/buglist.cgi?query=product%3Ameld")
......
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