[Xfce4-commits] <thunar:master> Update shortcuts headers when removing a shortcut (bug #9651).

Nick Schermer noreply at xfce.org
Thu Dec 27 12:10:01 CET 2012


Updating branch refs/heads/master
         to 2458918c352addf566ec8e187892307176b71d44 (commit)
       from dbea7584253be6b36b666c43b205df9011058df9 (commit)

commit 2458918c352addf566ec8e187892307176b71d44
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Dec 27 12:08:51 2012 +0100

    Update shortcuts headers when removing a shortcut (bug #9651).

 thunar/thunar-shortcuts-model.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c
index 605d5a4..5f6ab62 100644
--- a/thunar/thunar-shortcuts-model.c
+++ b/thunar/thunar-shortcuts-model.c
@@ -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);
     }
 }
 


More information about the Xfce4-commits mailing list