[gnome-terminal/gnome-3-6] Fix incorrect logic in help URL
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-6] Fix incorrect logic in help URL
- Date: Sun, 19 Aug 2012 23:25:23 +0000 (UTC)
commit b8e069e2e3d37201644f61806542ec56ac56ebd2
Author: Robert Ancell <robert ancell canonical com>
Date: Mon Aug 20 11:25:17 2012 +1200
Fix incorrect logic in help URL
src/terminal-util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index d6edee0..4023588 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -149,9 +149,9 @@ terminal_util_show_help (const char *topic,
char *url;
if (topic) {
- url = g_strdup ("help:gnome-terminal"); /* DOC_MODULE */
+ url = g_strdup_printf ("help:gnome-terminal/%s", topic); /* DOC_MODULE */
} else {
- url = g_strdup_printf ("help:gnome-terminal/%s", topic); /* DOC_MODULE */
+ url = g_strdup ("help:gnome-terminal"); /* DOC_MODULE */
}
if (!open_url (GTK_WINDOW (parent), url, gtk_get_current_event_time (), &error))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]