Update shortcuts headers when removing a shortcut (bug #9651).
authorNick Schermer <nick@xfce.org>
Thu, 27 Dec 2012 11:08:51 +0000 (12:08 +0100)
committerNick Schermer <nick@xfce.org>
Thu, 27 Dec 2012 11:08:51 +0000 (12:08 +0100)
thunar/thunar-shortcuts-model.c

index 605d5a4..5f6ab62 100644 (file)
@@ -1182,6 +1182,9 @@ thunar_shortcuts_model_remove_shortcut (ThunarShortcutsModel *model,
       /* the shortcuts list was changed, so write the gtk bookmarks file */
       if (needs_save)
         thunar_shortcuts_model_save (model);
+
+      /* update header visibility */
+      thunar_shortcuts_model_header_visibility (model);
     }
 }