If help isn't found, display an error message.

If help isn't found, display an error message.
This commit is contained in:
Elliot Lee 1999-09-02 22:57:01 +00:00
parent f98afc603f
commit 764440033f
5 changed files with 32 additions and 0 deletions

View file

@ -599,6 +599,14 @@ help_callback (void)
if (tmp) {
gnome_help_goto(0, tmp);
g_free(tmp);
} else {
GtkWidget *mbox;
mbox = gnome_message_box_new(_("No help is available/installed for these settings. Please make sure you\nhave the GNOME User's Guide installed on your system."),
GNOME_MESSAGE_BOX_ERROR,
_("Close"), NULL);
gtk_widget_show(mbox);
}
}