Use gnome_url_show to display ghelp of other gnome application

In my small application, I try to show gnome help of other gnome application, and thanks to Juhaz on GimpNet-#gnome irc channel, I learned that how the ghelp URL looks like,

gnome_url_show ("ghelp:gedit#gedit-prefs", NULL),
/* #gedit-prefs is a section in the doc-book source */

or use the gnome-open utility to open it,

$ gnome-open ghelp:gedit#gedit-prefs

The nice piece is it will choose the proper ghelp file according to the running locale.

OpenSolaris plus gnu/gnome

OpenSolaris launched in blogs.sun.com. And from OpenSolaris.org, you could see that you will be able build OpenSolaris with gcc tools in future.

I am not an OS expert :), but personally, I think someone may have
interests to build an OpenSolaris distribution with OpenSolaris kernel
and admin tools plus gnu software stack, including gnu libc (is it
possible?) ,gnu shell utilities, Xorg (does not belong to Gnu; Solaris 10 x64 are using xorg),
Gnome desktop environment (Solaris 10 already bundled Gnome 2.6).
Actually, you could download many opensource softwares from
http://www.sunfreeware.com.

At last, welcome to Internationalization and Localization community for OpenSolaris!

How to create customized widget in glade project.

1. Create a new glade project, either Gnome or Gtk+.

2. In "Gtk+ Addtional" tab, click the "Custom Widget" button labeled with "C", and add this DUMMY widget into any container of a top-level window.

3. In "Properties" dialog, fill the "Name" field, and then fill the "Creation Function" field (e.g., create_gtksrcview), other arguments can be ignored.

4. Save the glade file, and DO NOT compile the glade to C/C++ source code.

5. Initialize the UI from glade file, and show the main window, as following:

ui = glade_xml_new("./sunny.glade", NULL, NULL);
main_wnd = glade_xml_get_widget (ui, "main_wnd");
gtk_widget_show (main_wnd);
glade_xml_signal_autoconnect(ui);

6. Define the customized widget create function in C file, the function name must equal to the one you setup in glade file, and this function will be invoked automaticlly by libglade, and at last, you must SHOW the widget you created.

GtkWidget*
create_gtksrcview (gchar *widget_name, gchar *string1, gchar *string2, gint int1, gint int2)
{
GtkWidget *view;
GtkSourceBuffer *buffer;
... ...
view = gtk_source_view_new_with_buffer (buffer);
... ...
gtk_widget_show (view);
return view;
}