From a57ed9932a09a5596c030ef1e1ffbb2ec1888b4d Mon Sep 17 00:00:00 2001 From: Avinash Sonawane <rootkea@gmail.com> Date: Fri, 9 Jul 2021 15:47:09 +0530 Subject: [PATCH] Open restored tabs in correct order (Issue #613) MR !135 --- thunar/thunar-application.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thunar/thunar-application.c b/thunar/thunar-application.c index 8664be711..0e45aacb0 100644 --- a/thunar/thunar-application.c +++ b/thunar/thunar-application.c @@ -572,7 +572,7 @@ thunar_application_command_line (GApplication *gapp, for (guint i = 0; i < g_strv_length (tabs_left); i++) { ThunarFile *directory = thunar_file_get_for_uri (tabs_left[i], NULL); - thunar_window_notebook_add_new_tab (window, directory, FALSE); + thunar_window_notebook_add_new_tab (window, directory, TRUE); } thunar_window_notebook_remove_tab (window, 0); /* remove automatically opened tab */ thunar_window_notebook_set_current_tab (window, last_focused_tab); @@ -589,7 +589,7 @@ thunar_application_command_line (GApplication *gapp, for (guint i = 0; i < g_strv_length (tabs_right); i++) { ThunarFile *directory = thunar_file_get_for_uri (tabs_right[i], NULL); - thunar_window_notebook_add_new_tab (window, directory, FALSE); + thunar_window_notebook_add_new_tab (window, directory, TRUE); } thunar_window_notebook_remove_tab (window, 0); /* remove automatically opened tab */ thunar_window_notebook_set_current_tab (window, last_focused_tab); -- GitLab