[Xfce4-commits] <midori:master> Fix missing right-click menu on NextForward button

Christian Dywan noreply at xfce.org
Sun Sep 30 00:26:02 CEST 2012


Updating branch refs/heads/master
         to ea287a34ba7ec172928f8a413375b95e00d43e43 (commit)
       from 2b73bc34f5c731411a15d8e680b12cc8603603fc (commit)

commit ea287a34ba7ec172928f8a413375b95e00d43e43
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Sep 29 23:39:43 2012 +0200

    Fix missing right-click menu on NextForward button

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 26791da..1f8c424 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -6885,7 +6885,7 @@ _midori_browser_set_toolbar_items (MidoriBrowser* browser,
                 if (!g_strcmp0 (*name, "Back"))
                     g_object_set_data (G_OBJECT (gtk_bin_get_child (GTK_BIN (toolitem))),
                         "history-back", (void*) 0xdeadbeef);
-                else if (!g_strcmp0 (*name, "Forward"))
+                else if (g_str_has_suffix (*name, "Forward"))
                     g_object_set_data (G_OBJECT (gtk_bin_get_child (GTK_BIN (toolitem))),
                         "history-forward", (void*) 0xdeadbeef);
 


More information about the Xfce4-commits mailing list