From de55f5ad41486a94c1717c1233c32eb4e9825341 Mon Sep 17 00:00:00 2001
From: Alexander Schwinn <alexxcons@xfce.org>
Date: Sun, 23 Aug 2020 21:39:40 +0200
Subject: [PATCH] Regression: Dont crash when starting thunar with gvfs
 disabled

Regression introduced in ea386183fe697145c57393c4c7f5f016a5c6f798
---
 thunar/thunar-window.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 7e0ac58e0..ac7f0b707 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -2288,6 +2288,7 @@ thunar_window_update_bookmark (GFile       *g_file,
   accel_path = thunar_window_bookmark_get_accel_path (g_file);
   entry[0].accel_path = accel_path;
   entry[0].callback = G_CALLBACK (thunar_window_action_open_bookmark);
+  entry[0].default_accelerator = "";
 
   /* Add entry, so that the bookmark can loaded/saved to acceels.scm (will be skipped if already available)*/
   xfce_gtk_accel_map_add_entries (entry, G_N_ELEMENTS (entry));
-- 
GitLab