From: Tomasz Szatkowski Date: Sat, 25 Feb 2012 02:03:58 +0000 (+0100) Subject: Close tabs by middle clicking on close button X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=127595f527b6c510b38d016870d9525c5eac653c;p=midori Close tabs by middle clicking on close button Fixes: https://bugs.launchpad.net/midori/+bug/936317 --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 809a2c37..ce6cfb5b 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -4805,6 +4805,8 @@ midori_view_get_proxy_tab_label (MidoriView* view) g_signal_connect (event_box, "button-press-event", 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_CALLBACK (midori_view_tab_close_clicked), view);