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 73078 - nautilus needs to use new help API
nautilus needs to use new help API
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: [obsolete] Help System
0.x.x [obsolete]
Other Linux
: High major
: 1.1.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 81081 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-01 04:25 UTC by John Fleck
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch . (100.00 KB, patch)
2002-04-23 17:56 UTC, Satyajit Kanungo
none Details | Review
Updated patch to fetch the document from user-guide. (2.42 KB, patch)
2002-05-28 09:00 UTC, Satyajit Kanungo
none Details | Review
patch (1.20 KB, patch)
2002-06-02 03:55 UTC, John Fleck
none Details | Review

Description John Fleck 2002-03-01 04:25:51 UTC
Nautilus needs to call the new help API when you click on the user manual
in the help menu. It currently just fires off an error because it no longer
has a help uri handler itself.
Comment 1 Luis Villa 2002-03-02 06:14:54 UTC
Regression, and big for usability.
Comment 2 Satyajit Kanungo 2002-04-23 17:56:16 UTC
Created attachment 7895 [details] [review]
Proposed patch .
Comment 3 Satyajit Kanungo 2002-04-23 18:00:09 UTC
Added a directory C under help and copied nautius-user-manual.xml 
as nautilus.xml under this directory.

Added the help API gnome_help_display to open the Help document
when "Nautilus User Manual" is clicked.

Comment 4 John Fleck 2002-04-24 21:32:51 UTC
Moving the users manual to help/C/ is not the right solution.

Eugene O'Connor at 
Sun is working on a new GNOME Users Guide - help for Nautilus will be included as a 
chapter. So the help needs to link to something along the lines of "ghelp:gnome-users-
guide?nautilus".
Comment 5 John Fleck 2002-05-07 21:31:10 UTC
*** Bug 81081 has been marked as a duplicate of this bug. ***
Comment 6 Damon Chaplin 2002-05-10 20:18:24 UTC
Is the Sun doc going to be ready for 2.0.0?

Or do we need a quick fix for this release? We could link up the old
doc fairly easily I should think.
Comment 7 John Fleck 2002-05-10 21:09:30 UTC
The Sun doc will be ready in time. Adding Sander to cc list - he's working on the doc 
installation.
Comment 8 Sander Vesik 2002-05-10 21:18:11 UTC
from what Eugene said in his mail today, he will be doing the sgml ->
xml process on tuesday and hand the doc over on wednesday, so yes, it
will happen before 2.0

Comment 9 Luis Villa 2002-05-22 22:21:27 UTC
Jfleck, Sander: what is the status here? 

Dave: fairly easy one for you, probably.
Comment 10 Sander Vesik 2002-05-23 00:46:05 UTC
well, in the meanwhile stuiff (ui review etc) happened so the handover
of docs from eugene to me is still pending 8-(

satyajit's patch - if it is not yet in - should go in ASAP as the user
guiide docs won't live in separate module and can thus seemlessly plug
in 
Comment 11 Luis Villa 2002-05-24 22:24:40 UTC
Adding the PATCH keyword. 
Comment 12 Satyajit Kanungo 2002-05-28 07:25:57 UTC
Redoing the earlier patch to link the help button to appropiate 
Help documents present under "user-guide". Shall put the patch soon.
Comment 13 Satyajit Kanungo 2002-05-28 09:00:30 UTC
Created attachment 8771 [details] [review]
Updated patch to fetch the document from user-guide.
Comment 14 Alexander Larsson 2002-05-30 03:42:58 UTC
Couple of comments:
* Don't include the all-including gnome.h, instead pick only the
headerfiles you need.
* Move the GtkWidget *dialog; declaration to the top of the function.

Other than that, it looks fine to commit.
Comment 15 Satyajit Kanungo 2002-05-30 16:34:28 UTC
Thanks .. I 'll redo the patch for the #include stuff.
But I think the next part GtkWidget *dialog should be inside
if(error)
{
}
only. As this part will only come in case of an error.
Comment 16 John Fleck 2002-06-01 19:04:40 UTC
Where does this bug stand? I'll be very sad if we can't get this patch in.
Comment 17 Alexander Larsson 2002-06-02 01:31:51 UTC
The nautilus style guide says:
"We declare local variables at the top of the function."

I don't care if you don't think that is right.
Comment 18 Alexander Larsson 2002-06-02 02:02:27 UTC
I checked in the patch.
Comment 19 John Fleck 2002-06-02 03:53:12 UTC
Reopening. This still isn't working right for me.

The function calls Yelp, but displays the entire wgosnautilus.xml from
its beginning rather than going to the correct section. Attaching a
patch that fixes this.
Comment 20 John Fleck 2002-06-02 03:55:33 UTC
Created attachment 8939 [details] [review]
patch
Comment 21 John Fleck 2002-06-02 04:09:03 UTC
Committed. Reclosing.