[goobox] fixed call to the main help page
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] fixed call to the main help page
- Date: Mon, 22 Aug 2011 20:49:50 +0000 (UTC)
commit bf1bb3d807015d1437187ea4fd3304b208e5ce5e
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Aug 22 20:05:47 2011 +0200
fixed call to the main help page
src/actions.c | 2 +-
src/gtk-utils.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/actions.c b/src/actions.c
index 23355c8..2b89131 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -111,7 +111,7 @@ void
activate_action_manual (GtkAction *action,
gpointer data)
{
- show_help_dialog (GTK_WINDOW (data), "");
+ show_help_dialog (GTK_WINDOW (data), NULL);
}
diff --git a/src/gtk-utils.c b/src/gtk-utils.c
index b908930..8b40236 100644
--- a/src/gtk-utils.c
+++ b/src/gtk-utils.c
@@ -743,7 +743,7 @@ show_help_dialog (GtkWindow *parent,
char *uri;
GError *error = NULL;
- uri = g_strconcat ("ghelp:goobox", section ? "?" : NULL, section, NULL);
+ uri = g_strconcat ("ghelp:goobox", ((section != NULL) ? "?" : "?index"), section, NULL);
if (! gtk_show_uri (gtk_window_get_screen (parent), uri, GDK_CURRENT_TIME, &error)) {
GtkWidget *dialog;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]