Enabling help functionality for GNOME2



  Hi All,
  I am trying to enable help functionality for all application/applet for
GNOME2.
  Help is  already enabled for most of the applications and applets.

  I have a doubt regarding "how to access a help file from any path".
  I mean is it possible for any application to access any help file
present
  in any path.

  For example I have the help files for panel, control-center and nautilus

  present under one central location
($PREFIX/share/gnome/help/user-guide/)

  Now how do I access the files from this location from panel,
control-center
  and nautilus.

  The help APIs we have currently are

  1. gnome_help_display()
     This will try to search the file in the
<app-datadir>/share/gnome/help directory
     where <app-datadir>  =  prefix for the application.

 2. gnome_help_display_desktop(0
    This will search the file in  <gnome-datadir>/share/gnome/help
directory.

    where  <gnome-datadir>  = where GNOME is installed.

    Should I keep the help documents (user-guide/) under
    "gnome-datadir/share/gnome/help"   directory only, so that any
application can
    access them (using gnome_help_display_desktop() API).

    You can also see the discussion on enabling help  at #73312

  Thanks and Regards
   Satyajit







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]