Close tabs by middle clicking on close button
Fixes: https://bugs.launchpad.net/midori/+bug/936317
This commit is contained in:
parent
1488301535
commit
127595f527
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue