Close tabs by middle clicking on close button

Fixes: https://bugs.launchpad.net/midori/+bug/936317
This commit is contained in:
Tomasz Szatkowski 2012-02-25 03:03:58 +01:00 committed by Christian Dywan
parent 1488301535
commit 127595f527

View file

@ -4805,6 +4805,8 @@ midori_view_get_proxy_tab_label (MidoriView* view)
g_signal_connect (event_box, "button-press-event", g_signal_connect (event_box, "button-press-event",
G_CALLBACK (midori_view_tab_label_button_press_event), view); G_CALLBACK (midori_view_tab_label_button_press_event), view);
g_signal_connect (view->tab_close, "button-press-event",
G_CALLBACK (midori_view_tab_label_button_press_event), view);
g_signal_connect (view->tab_close, "clicked", g_signal_connect (view->tab_close, "clicked",
G_CALLBACK (midori_view_tab_close_clicked), view); G_CALLBACK (midori_view_tab_close_clicked), view);