[Xfce4-commits] [xfce/thunar] 01/02: thunar-wallpaper: Do not use escaped filenames for xfconf

noreply at xfce.org noreply at xfce.org
Wed Feb 11 22:48:35 CET 2015


This is an automated email from the git hooks/post-receive script.

andrzejr pushed a commit to branch master
in repository xfce/thunar.

commit dd923debe2f9c5568b9806647e72cbc6ed63de2e
Author: Harald Judt <h.judt at gmx.at>
Date:   Sat Feb 7 09:48:37 2015 +0100

    thunar-wallpaper: Do not use escaped filenames for xfconf
---
 plugins/thunar-wallpaper/twp-provider.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/thunar-wallpaper/twp-provider.c b/plugins/thunar-wallpaper/twp-provider.c
index feaf445..015b4a3 100644
--- a/plugins/thunar-wallpaper/twp-provider.c
+++ b/plugins/thunar-wallpaper/twp-provider.c
@@ -272,7 +272,7 @@ twp_action_set_wallpaper (GtkAction *action,
         image_style_prop = g_strdup_printf("/backdrop/screen%d/monitor%d/image-style", screen_nr, monitor_nr);
 
         /* Set the wallpaper and ensure that it's set to show */
-        xfconf_channel_set_string (channel, image_path_prop, escaped_file_name);
+        xfconf_channel_set_string (channel, image_path_prop, file_name);
         xfconf_channel_set_bool (channel, image_show_prop, TRUE);
 
         /* If there isn't a wallpaper style set, then set one */
@@ -314,7 +314,7 @@ twp_action_set_wallpaper (GtkAction *action,
             image_style_prop = g_strdup_printf("/backdrop/screen%d/monitor%d/workspace%d/image-style", screen_nr, monitor_nr, workspace);
           }
 
-        xfconf_channel_set_string (channel, image_path_prop, escaped_file_name);
+        xfconf_channel_set_string (channel, image_path_prop, file_name);
 
         /* If there isn't a wallpaper style set, then set one */
         current_image_style = xfconf_channel_get_int (channel, image_style_prop, -1);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list