Emit the bookmark proxy signal instead of connecting a new handler

This commit is contained in:
Christian Dywan 2009-11-30 19:34:31 +01:00
parent 557fdda228
commit dd196dc942

View 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;
}