[Xfce4-commits] <midori:master> Only directly open bookmark proxy if has a URI

Christian Dywan noreply at xfce.org
Sat Dec 12 01:26:05 CET 2009


Updating branch refs/heads/master
         to 185ff3e338e1da09b4366fda7c8c7d61ee1544d9 (commit)
       from 79101c33504b2a04c38a41d88d882d773acbbec9 (commit)

commit 185ff3e338e1da09b4366fda7c8c7d61ee1544d9
Author: Christian Dywan <christian at twotoasts.de>
Date:   Fri Dec 11 23:59:41 2009 +0100

    Only directly open bookmark proxy if has a URI

 katze/katze-arrayaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/katze-arrayaction.c b/katze/katze-arrayaction.c
index 9f7b152..82219a2 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;



More information about the Xfce4-commits mailing list