From: Christian Dywan Date: Fri, 11 Dec 2009 22:59:41 +0000 (+0100) Subject: Only directly open bookmark proxy if has a URI X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=185ff3e338e1da09b4366fda7c8c7d61ee1544d9;p=midori Only directly open bookmark proxy if has a URI --- diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c index 9f7b1520..82219a2f 100644 --- a/katze/katze-arrayaction.c +++ b/katze/katze-arrayaction.c @@ -402,7 +402,7 @@ katze_array_action_proxy_clicked_cb (GtkWidget* proxy, } array = (KatzeArray*)g_object_get_data (G_OBJECT (proxy), "KatzeArray"); - if (KATZE_IS_ITEM (array)) + if (KATZE_IS_ITEM (array) && katze_item_get_uri ((KatzeItem*)array)) { g_signal_emit (array_action, signals[ACTIVATE_ITEM], 0, array); return;