mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
we can't rely on "eek.png" from the help system being installed. Use
2003-08-26 Michael Natterer <mitch@gimp.org> * plug-ins/helpbrowser/helpbrowser.c (open_browser_dialog): we can't rely on "eek.png" from the help system being installed. Use "stock-wilber-eek-64.png" from the default theme instead because it is always available.
This commit is contained in:
parent
86662cd66b
commit
190710aef8
|
@ -1,3 +1,10 @@
|
|||
2003-08-26 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* plug-ins/helpbrowser/helpbrowser.c (open_browser_dialog): we
|
||||
can't rely on "eek.png" from the help system being installed.
|
||||
Use "stock-wilber-eek-64.png" from the default theme instead
|
||||
because it is always available.
|
||||
|
||||
2003-08-26 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
Bye bye, "crappy/foo.html":
|
||||
|
|
|
@ -578,7 +578,9 @@ open_browser_dialog (const gchar *help_path,
|
|||
|
||||
gimp_ui_init ("helpbrowser", TRUE);
|
||||
|
||||
eek_png_path = g_build_filename (gimp_help_root, "images", "eek.png", NULL);
|
||||
eek_png_path = g_build_filename (gimp_data_directory (),
|
||||
"themes", "Default", "images",
|
||||
"stock-wilber-eek-64.png", NULL);
|
||||
|
||||
if (g_file_test (eek_png_path, G_FILE_TEST_EXISTS))
|
||||
eek_png_tag = g_strdup_printf ("<img src=\"%s\">", eek_png_path);
|
||||
|
@ -595,7 +597,7 @@ open_browser_dialog (const gchar *help_path,
|
|||
NULL);
|
||||
|
||||
gimp_help_connect (window, gimp_standard_help_func,
|
||||
"dialogs/help.html", NULL);
|
||||
"gimp-help", NULL);
|
||||
|
||||
vbox = gtk_vbox_new (FALSE, 2);
|
||||
gtk_container_add (GTK_CONTAINER (window), vbox);
|
||||
|
|
Loading…
Reference in a new issue