[gnome-flashback/wip/muktupavels/lp1875317: 4/4] desktop: update icon after creating it



commit 90c1d914ebff8364dc1148aab64fefc57d1410e5
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 d8d5c6f..e117f6b 100644
--- a/gnome-flashback/libdesktop/gf-icon-view.c
+++ b/gnome-flashback/libdesktop/gf-icon-view.c
@@ -727,6 +727,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]