diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2018-06-20 16:59:35 +0300 |
---|---|---|
committer | António Fernandes <antoniojpfernandes@gmail.com> | 2021-07-08 20:26:35 +0000 |
commit | b8ab8514c33f6e01465d37ebde4097461fc42d4d (patch) | |
tree | a8e11444e91472dc365c5f1f31622a26c093ecec /src/nautilus-toolbar.c | |
parent | 9a86aa22fd7014e27b44af5ec1079d7a03ceb514 (diff) | |
download | nautilus-b8ab8514c33f6e01465d37ebde4097461fc42d4d.tar.gz |
window-slot: Stop using flags parameter for history navigation
The feature that allows opening a new window from the history popup menu
by middle-clicking hasn’t been working for three years, since the flags
parameter in nautilus_window_back_or_forward() is not honored. In some
places it’s used inappropriately, so it’s better to just drop the code
and rethink the approach if such a feature is desirable.
Diffstat (limited to 'src/nautilus-toolbar.c')
-rw-r--r-- | src/nautilus-toolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-toolbar.c b/src/nautilus-toolbar.c index 7b1fa07f2..acc1ea485 100644 --- a/src/nautilus-toolbar.c +++ b/src/nautilus-toolbar.c @@ -171,7 +171,7 @@ activate_back_or_forward_menu_item (GtkMenuItem *menu_item, index = GPOINTER_TO_INT (g_object_get_data (G_OBJECT (menu_item), "user_data")); - nautilus_window_back_or_forward (window, back, index, nautilus_event_get_window_open_flags ()); + nautilus_window_back_or_forward (window, back, index); } static void |