[gnome-control-center] background: Ensure screenshots are removed from the list



commit e8e3d5ff0529fe256a9eba3fb929c66859091f5f
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 18 13:54:41 2014 +0200

    background: Ensure screenshots are removed from the list
    
    Even the ones that weren't detected as PNG in the first place.

 panels/background/bg-pictures-source.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/bg-pictures-source.c b/panels/background/bg-pictures-source.c
index d6e275b..dc56005 100644
--- a/panels/background/bg-pictures-source.c
+++ b/panels/background/bg-pictures-source.c
@@ -183,6 +183,7 @@ picture_scaled (GObject *source_object,
       g_str_equal (software, "gnome-screenshot"))
     {
       g_debug ("Ignored URL '%s' as it's a screenshot from gnome-screenshot", uri);
+      remove_placeholder (BG_PICTURES_SOURCE (user_data), item);
       goto out;
     }
 


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