[Xfce4-commits] [xfce/xfdesktop] 05/06: Update rc file after completing delete process (Bug #11692)

noreply at xfce.org noreply at xfce.org
Sun Mar 15 13:27:13 CET 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfdesktop.

commit 703e53b14fe51172154ab5d8cf3dbf8198bc40e6
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date:   Fri Mar 13 18:25:50 2015 +0100

    Update rc file after completing delete process (Bug #11692)
    
    Icon positions are now saved after the delete process was comfirmed
    by the user and not when triggering the delete dialog.
    
    Signed-off-by: Eric Koegel <eric.koegel at gmail.com>
---
 src/xfdesktop-file-icon-manager.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xfdesktop-file-icon-manager.c b/src/xfdesktop-file-icon-manager.c
index a81afcf..9032e3e 100644
--- a/src/xfdesktop-file-icon-manager.c
+++ b/src/xfdesktop-file-icon-manager.c
@@ -816,8 +816,6 @@ xfdesktop_file_icon_manager_delete_selected(XfdesktopFileIconManager *fmanager,
       
     g_list_foreach(selected, (GFunc)g_object_unref, NULL);
     g_list_free(selected);
-    
-    xfdesktop_file_icon_position_changed(NULL, fmanager);
 }
 
 static void
@@ -2793,6 +2791,8 @@ xfdesktop_file_icon_manager_file_changed(GFileMonitor     *monitor,
 
                 /* always remove from the hash table */
                 g_hash_table_remove(fmanager->priv->icons, file);
+
+                xfdesktop_file_icon_position_changed(NULL, fmanager);
             } else {
                 if(g_file_equal(file, fmanager->priv->folder)) {
                     XF_DEBUG("~/Desktop disappeared!");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list