From d2887d91d4ac2621f268df66fe29544e31831146 Mon Sep 17 00:00:00 2001
From: Sergios - Anestis Kefalidis <megistios@gmail.com>
Date: Mon, 11 Apr 2022 20:21:48 +0000
Subject: [PATCH] Toolbar: Make custom actions invisible by default (Issue
 #757)

MR !214
---
 thunar/thunar-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index ec3d749c4..a1fa8d0fa 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -5856,7 +5856,7 @@ thunar_window_location_toolbar_load_visibility (ThunarWindow *window)
   g_free (item_visibility_string);
 
   for (guint i = 0; i < item_count; i++)
-    target_order[i] = 1; /* default to visible */
+    target_order[i] = 0; /* default to invisible */
 
   /* convert strings to guints for convenience */
   for (guint i = 0, j = 0; i < item_visibility_length; i++)
-- 
GitLab