]> spindle.queued.net Git - midori/commitdiff
Close tabs by middle clicking on close button
authorTomasz Szatkowski <szatkus@gmail.com>
Sat, 25 Feb 2012 02:03:58 +0000 (03:03 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 25 Feb 2012 02:03:58 +0000 (03:03 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/936317
midori/midori-view.c

index 809a2c37c56cd93ca93fbc7f558a4213b7c72a9f..ce6cfb5bd8c8d599780f8be79a62763ea876d86a 100644 (file)
@@ -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);