]> spindle.queued.net Git - midori/commitdiff
Emit the bookmark proxy signal instead of connecting a new handler
authorChristian Dywan <christian@twotoasts.de>
Mon, 30 Nov 2009 18:34:31 +0000 (19:34 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 30 Nov 2009 18:36:16 +0000 (19:36 +0100)
katze/katze-arrayaction.c

index 53209b8ca7a82388ab33edacc1b98a649435146e..c64def82b713c80b0bc813bff4a72a7129cc31a1 100644 (file)
@@ -376,9 +376,7 @@ katze_array_action_proxy_clicked_cb (GtkWidget*        proxy,
     array = (KatzeArray*)g_object_get_data (G_OBJECT (proxy), "KatzeArray");
     if (KATZE_IS_ITEM (array))
     {
-        g_object_set_data (G_OBJECT (proxy), "KatzeItem", array);
-        g_signal_connect (proxy, "clicked",
-            G_CALLBACK (katze_array_action_menu_activate_cb), array_action);
+        g_signal_emit (array_action, signals[ACTIVATE_ITEM], 0, array);
         return;
     }