Replace gnome_help call

View: New views
2 Messages — Rating Filter:   Alert me  

Replace gnome_help call

by Javier Jardón :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

This is my first post in the list, so hello everyone!
I'm working in this GnomeGoal [1] and I'm trying to replace a
gnome_help call with gtk_show_uri in the gok project:

This is the gnome help call:
gnome_help_display_desktop (NULL, "gnome-access-guide", helpuri,
"sysadmin-37", &error);

Is it
gtk_show_uri (NULL, "ghelp:gnome-access-guide?%sysadmin-37",
gtk_get_current_event_time(), &error);
a valid replace?

Here the original code: http://git.gnome.org/cgit/gok/tree/gok/main.c#n3186

Thank you for your help.

[1] http://live.gnome.org/GnomeGoals/RemoveGnomeOpenGnomeHelp
--
Javier Jardón Cabezas
_______________________________________________
gnome-love mailing list
gnome-love@...
http://mail.gnome.org/mailman/listinfo/gnome-love

Re: Replace gnome_help call

by Nickolay V. Shmyrev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

В Втр, 02/06/2009 в 18:59 +0200, Javi пишет:
> Hello,
>
> This is my first post in the list, so hello everyone!

Hello Javi, welcome to the GNOME-love!

> I'm working in this GnomeGoal [1] and I'm trying to replace a
> gnome_help call with gtk_show_uri in the gok project:
>
> This is the gnome help call:
> gnome_help_display_desktop (NULL, "gnome-access-guide", helpuri,
> "sysadmin-37", &error);
>
> Is it
> gtk_show_uri (NULL, "ghelp:gnome-access-guide?%sysadmin-37",
> gtk_get_current_event_time(), &error);
> a valid replace?
Something like this, for example gtk_get_current_event_time(), could be
changed to GDK_CURRENT_TIME. Otherwise it's fine while it works.



_______________________________________________
gnome-love mailing list
gnome-love@...
http://mail.gnome.org/mailman/listinfo/gnome-love

signature.asc (204 bytes) Download Attachment