]> git.0d.be Git - empathy.git/commitdiff
Use help:empathy to open the help
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 22 Mar 2012 09:09:34 +0000 (10:09 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 22 Mar 2012 11:58:44 +0000 (12:58 +0100)
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
src/empathy-accounts-dialog.c
src/empathy-call-window.c
src/empathy-chat-window.c
src/empathy-roster-window.c

index 6f86ccddd023f5bd1ef9eb1f226cc8c1f7ea7773..23cff24f8bde15c9d68f4b698eaa04f81a72ac39 100644 (file)
@@ -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);
index e0e68fa025c79ab808163219fc7057045743e71b..0bdcf69d5a5c99c465994f23675d5a51ed583a93 100644 (file)
@@ -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)
index 10333d6c305ba1736aaa0fda4caa1c572f0092af..f49d2cbac6e7bf105240f3303a2d0ff5f180f3b4 100644 (file)
@@ -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
index 587ae7d4b69cff7485138bad65abdd01a386e1e8..f80f096116a8a33a063023181833757a4afd9672 100644 (file)
@@ -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
index 454cd256a96015e3c47a21e016054838e09c0e51..4747b33e22b71a2d0cc6edeef4febd6935517269 100644 (file)
@@ -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