Launch help from GParted using the new GNOME 3 help: prefix (!24)
Update GParted to specify the GParted Manual using the new GNOME 3 way with the 'help:' prefix to avoid yelp reporting this error: Document Not Found The URI 'ghelp:gparted' does not point to a valid page. Closes !24 - Port to GNOME 3 yelp-tools documentation infrastructure
This commit is contained in:
parent
4ef3ef3312
commit
5aca85e4ad
|
@ -1777,10 +1777,9 @@ void Win_GParted::show_help_dialog( const Glib::ustring & filename /* E.g., gpar
|
|||
GError *error = NULL ;
|
||||
GdkScreen *gscreen = NULL ;
|
||||
|
||||
Glib::ustring uri = "ghelp:" + filename ;
|
||||
if (link_id .size() > 0 ) {
|
||||
uri = uri + "?" + link_id ;
|
||||
}
|
||||
Glib::ustring uri = "help:" + filename;
|
||||
if (link_id.size() > 0)
|
||||
uri = uri + "/" + link_id;
|
||||
|
||||
gscreen = get_window()->get_screen()->gobj();
|
||||
gtk_show_uri( gscreen, uri .c_str(), gtk_get_current_event_time(), &error ) ;
|
||||
|
|
Loading…
Reference in New Issue