diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-navigation-window-pane.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/caja-navigation-window-pane.c b/src/caja-navigation-window-pane.c index f7363115..6bfa72a5 100644 --- a/src/caja-navigation-window-pane.c +++ b/src/caja-navigation-window-pane.c @@ -537,6 +537,17 @@ notebook_button_press_cb (GtkWidget *widget, notebook_popup_menu_show (pane, event); return TRUE; } + else if (GDK_BUTTON_PRESS == event->type && 2 == event->button) + { + CajaWindowPane *wpane; + CajaWindowSlot *slot; + + wpane = CAJA_WINDOW_PANE (pane); + slot = wpane->active_slot; + caja_window_slot_close (slot); + + return FALSE; + } return FALSE; } |