From: Christian Dywan Date: Tue, 24 Nov 2009 22:50:27 +0000 (+0100) Subject: Only take bookmark button for a bookmark if it's a single item X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea7c5f9de48ff2ebf4052e86c2c9c5287888fa32;p=midori Only take bookmark button for a bookmark if it's a single item --- diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c index dd80708d..ca17aed5 100644 --- a/katze/katze-arrayaction.c +++ b/katze/katze-arrayaction.c @@ -370,7 +370,7 @@ katze_array_action_proxy_clicked_cb (GtkWidget* proxy, } array = (KatzeArray*)g_object_get_data (G_OBJECT (proxy), "KatzeArray"); - if (!KATZE_IS_ARRAY (array)) + if (KATZE_IS_ITEM (array)) { g_object_set_data (G_OBJECT (proxy), "KatzeItem", array); g_signal_connect (proxy, "clicked",