[gnome-control-center] background: Create a placeholder for manually added items
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] background: Create a placeholder for manually added items
- Date: Fri, 18 Jul 2014 16:29:38 +0000 (UTC)
commit 65d4ba163a5767f88418b336608dac48d826f663
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 18 17:32:46 2014 +0200
background: Create a placeholder for manually added items
When adding things that might be screenshots, always create a
placeholder if the image was added manually.
https://bugzilla.gnome.org/show_bug.cgi?id=689351
panels/background/bg-pictures-source.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/background/bg-pictures-source.c b/panels/background/bg-pictures-source.c
index 7d3986a..e3d89f5 100644
--- a/panels/background/bg-pictures-source.c
+++ b/panels/background/bg-pictures-source.c
@@ -454,7 +454,7 @@ add_single_file (BgPicturesSource *bg_source,
"source-url", source_uri,
NULL);
- if (in_screenshot_types (content_type))
+ if (!ret_row_ref && in_screenshot_types (content_type))
goto read_file;
surface = get_content_loading_icon (BG_SOURCE (bg_source));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]