From dc7ec7139a9844784a103d7e013501348cef114e Mon Sep 17 00:00:00 2001
From: Theo Linkspfeifer <lastonestanding@tutanota.com>
Date: Tue, 10 Mar 2020 23:56:40 +0100
Subject: [PATCH] Fix drop location check for bookmarks (followup of bug
 #11586)

---
 thunar/thunar-shortcuts-model.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c
index ac482615f..6a98e9a44 100644
--- a/thunar/thunar-shortcuts-model.c
+++ b/thunar/thunar-shortcuts-model.c
@@ -1935,8 +1935,8 @@ thunar_shortcuts_model_drop_possible (ThunarShortcutsModel *model,
   if (shortcut->group == THUNAR_SHORTCUT_GROUP_PLACES_BOOKMARKS)
     return TRUE;
 
-  /* we can drop at the end of the bookmarks (before network header) */
-  if (shortcut->group == THUNAR_SHORTCUT_GROUP_NETWORK_HEADER)
+  /* we can drop at the end of the bookmarks (before devices header) */
+  if (shortcut->group == THUNAR_SHORTCUT_GROUP_DEVICES_HEADER)
     return TRUE;
 
   return FALSE;
-- 
GitLab