GNOME Bugzilla – Bug 672940
The help button on the gtkui does not open the docbook help files.
Last modified: 2021-05-17 15:53:00 UTC
Steps to reproduce: 1. Open the jhbuild ui from the overview 2. Click on the "Help" button. 3. "ghelp:jhbuild" does not point to a valid page.
This problem has been fixed in the development version. http://git.gnome.org/browse/jhbuild/commit/?id=158a97c5014c58e58fc183af8516a4133c00493b Thank you for your bug report.
This doesn't seem to work, and I think it's because jhbuild is not usually system installed but rather from git in a ~/jhbuild. So the help files don't get installed in system files.
JHBuild displays the help via: gtk.show_uri(gtk.gdk.screen_get_default(), 'help:jhbuild', gtk.get_current_event_time()) Anyone know how to get yelp to display non-installed help files?
If nobody knows how to do this (I sure don't), I think we should remove the button rather than just leave it broken.
To display the non-installed help files, use a helper along the lines of: def get_help_uri(page=None): # help_uri from source tree - default language here = os.path.dirname(__file__) help_uri = os.path.abspath(os.path.join(here, '..', 'help', 'C')) if not os.path.exists(help_uri): # installed so use gnome help tree - user's language help_uri = 'jhbuild' # unspecified page is the index.page if page is not None: help_uri = '%s#%s' % (help_uri, page)
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/jhbuild/-/issues/129.