If help isn't found, display an error message.
If help isn't found, display an error message.
This commit is contained in:
parent
f98afc603f
commit
764440033f
5 changed files with 32 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue