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

commit 2458918c352addf566ec8e187892307176b71d44
Author: Nick Schermer <n...@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);
     }
 }
 
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to