[gnome-flashback/gnome-3-36] desktop: update icon after creating it



commit d4a742bfbcafb0bf194bf25497cc22c0fcb8ed34
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Apr 29 18:18:53 2020 +0300

    desktop: update icon after creating it
    
    Otherwise we might miss changes to file.
    
    https://launchpad.net/bugs/1875317

 gnome-flashback/libdesktop/gf-icon-view.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gnome-flashback/libdesktop/gf-icon-view.c b/gnome-flashback/libdesktop/gf-icon-view.c
index 2c3e7f8..408f6ed 100644
--- a/gnome-flashback/libdesktop/gf-icon-view.c
+++ b/gnome-flashback/libdesktop/gf-icon-view.c
@@ -674,6 +674,8 @@ query_info_cb (GObject      *object,
     resort_icons (self, TRUE);
   else
     add_icons (self);
+
+  gf_icon_update (GF_ICON (icon));
 }
 
 static GfIconInfo *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]