[eog] Copy also wallpapers in unmountable media
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Copy also wallpapers in unmountable media
- Date: Wed, 8 Sep 2010 22:40:27 +0000 (UTC)
commit 59343f86c198a6e25fcdb372d8a333b40a0e0e8e
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Sep 9 01:37:49 2010 +0300
Copy also wallpapers in unmountable media
Fixes bug #625384 - Background setting doesn't work as expected
src/eog-window.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 63157bf..bee918e 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -2953,7 +2953,8 @@ eog_window_cmd_wallpaper (GtkAction *action, gpointer user_data)
filename = g_file_get_path (file);
/* Currently only local files can be set as wallpaper */
- if (filename == NULL || !g_file_is_native (file)) {
+ if (filename == NULL || !eog_util_file_is_persistent (file))
+ {
GList *files = NULL;
GtkAction *action;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]