[empathy] Use help:empathy to open the help



commit 311b718f10b3cf14c7c00da6b6f44e647131f3b3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Thu Mar 22 10:09:34 2012 +0100

    Use help:empathy to open the help
    
    Looks like the new doc infra uses "help" rather than "ghelp".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672596

 libempathy-gtk/empathy-ui-utils.c |    2 +-
 src/empathy-accounts-dialog.c     |    2 +-
 src/empathy-call-window.c         |    2 +-
 src/empathy-chat-window.c         |    2 +-
 src/empathy-roster-window.c       |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 6f86ccd..23cff24 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1701,7 +1701,7 @@ empathy_make_absolute_url_len (const gchar *url,
 {
 	g_return_val_if_fail (url != NULL, NULL);
 
-	if (g_str_has_prefix (url, "ghelp:") ||
+	if (g_str_has_prefix (url, "help:") ||
 	    g_str_has_prefix (url, "mailto:";) ||
 	    strstr (url, ":/")) {
 		return g_strndup (url, len);
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index e0e68fa..0bdcf69 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -2348,7 +2348,7 @@ dialog_response_cb (GtkWidget *widget,
 
   if (response_id == GTK_RESPONSE_HELP)
     {
-      empathy_url_show (widget, "ghelp:empathy?accounts-window");
+      empathy_url_show (widget, "help:empathy?accounts-window");
     }
   else if (response_id == GTK_RESPONSE_CLOSE ||
       response_id == GTK_RESPONSE_DELETE_EVENT)
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 10333d6..f49d2cb 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1383,7 +1383,7 @@ static void
 empathy_call_window_contents_cb (GtkAction *action,
     EmpathyCallWindow *self)
 {
-  empathy_url_show (GTK_WIDGET (self), "ghelp:empathy?audio-video");
+  empathy_url_show (GTK_WIDGET (self), "help:empathy?audio-video");
 }
 
 static void
diff --git a/src/empathy-chat-window.c b/src/empathy-chat-window.c
index 587ae7d..f80f096 100644
--- a/src/empathy-chat-window.c
+++ b/src/empathy-chat-window.c
@@ -1434,7 +1434,7 @@ chat_window_help_contents_activate_cb (GtkAction         *action,
 {
 	EmpathyChatWindowPriv *priv = GET_PRIV (window);
 
-	empathy_url_show (priv->dialog, "ghelp:empathy");
+	empathy_url_show (priv->dialog, "help:empathy");
 }
 
 static void
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 454cd25..4747b33 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -2052,7 +2052,7 @@ static void
 roster_window_help_contents_cb (GtkAction *action,
     EmpathyRosterWindow *self)
 {
-  empathy_url_show (GTK_WIDGET (self), "ghelp:empathy");
+  empathy_url_show (GTK_WIDGET (self), "help:empathy");
 }
 
 static gboolean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]