After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672940 - The help button on the gtkui does not open the docbook help files.
The help button on the gtkui does not open the docbook help files.
Status: RESOLVED OBSOLETE
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2012-03-27 17:42 UTC by Tiffany Antopolski
Modified: 2021-05-17 15:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tiffany Antopolski 2012-03-27 17:42:56 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.
Comment 1 Javier Jardón (IRC: jjardon) 2012-03-27 18:24:48 UTC
This problem has been fixed in the development version.

http://git.gnome.org/browse/jhbuild/commit/?id=158a97c5014c58e58fc183af8516a4133c00493b

Thank you for your bug report.
Comment 2 Tiffany Antopolski 2012-03-31 00:30:22 UTC
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.
Comment 3 Craig Keogh 2012-08-15 01:37:28 UTC
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?
Comment 4 Michael Catanzaro 2013-06-02 02:14:37 UTC
If nobody knows how to do this (I sure don't), I think we should remove the button rather than just leave it broken.
Comment 5 Andrew Starr-Bochicchio 2014-01-23 04:27:23 UTC
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)
Comment 6 GNOME Infrastructure Team 2021-05-17 15:53:00 UTC
-- 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.