Index: plugins/iconbox/iconbox.c =================================================================== --- plugins/iconbox/iconbox.c (revision 19121) +++ plugins/iconbox/iconbox.c (working copy) @@ -28,6 +28,7 @@ #include #include +#include #include #define N_ICONBOX_CONNECTIONS 4 @@ -196,7 +197,17 @@ return TRUE; } + else if (ev->button == 3) + { + GtkWidget *action_menu; + + action_menu = netk_create_window_action_menu(icon->window); + g_signal_connect(G_OBJECT(action_menu), "selection-done", G_CALLBACK(gtk_widget_destroy), NULL); + gtk_menu_popup(GTK_MENU(action_menu), NULL, NULL, NULL, NULL, ev->button, ev->time); + return TRUE; + } + return FALSE; }