From 127595f527b6c510b38d016870d9525c5eac653c Mon Sep 17 00:00:00 2001 From: Tomasz Szatkowski Date: Sat, 25 Feb 2012 03:03:58 +0100 Subject: [PATCH] Close tabs by middle clicking on close button Fixes: https://bugs.launchpad.net/midori/+bug/936317 --- midori/midori-view.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.5