diff options
author | root <root@rshg054.dnsready.net> | 2013-03-05 00:04:04 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-03-05 00:04:04 -0800 |
commit | 582035722561a5ecbadc13abc26331353d810567 (patch) | |
tree | 5675deeca2920b9049898c22334a3d5972259547 /extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch | |
parent | 6b7f3479bf5f3c96f92b3962af6cbf74d627e474 (diff) |
Tue Mar 5 00:04:04 PST 2013
Diffstat (limited to 'extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch')
-rw-r--r-- | extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch b/extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch deleted file mode 100644 index c48aeac33..000000000 --- a/extra/xfdesktop/add-backgrounds-xfce-to-search-path.patch +++ /dev/null @@ -1,36 +0,0 @@ -@@ -, +, @@ - settings app. (Bug #8799) ---- - settings/main.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) ---- a/settings/main.c -+++ a/settings/main.c -@@ -688,6 +688,7 @@ xfdesktop_settings_dialog_populate_image_list(AppearancePanel *panel) - xfconf_channel_set_string(panel->channel, prop_image, image_file); - xfconf_channel_set_string(panel->channel, prop_last, image_file); - -+ /* Add all backdrops in xfce4/backdrops/ */ - backdrop_dirs = xfce_resource_lookup_all(XFCE_RESOURCE_DATA, - "xfce4/backdrops/"); - for(i = 0; backdrop_dirs[i]; ++i) { -@@ -696,6 +697,19 @@ xfdesktop_settings_dialog_populate_image_list(AppearancePanel *panel) - if(tmp) - image_file_iter = tmp; - } -+ g_strfreev(backdrop_dirs); -+ -+ /* Add all backdrops in backgrounds/xfce/ */ -+ backdrop_dirs = xfce_resource_lookup_all(XFCE_RESOURCE_DATA, -+ "backgrounds/xfce/"); -+ for(i = 0; backdrop_dirs[i]; ++i) { -+ tmp = xfdesktop_image_list_add_dir(ls, backdrop_dirs[i], -+ image_file); -+ if(tmp) -+ image_file_iter = tmp; -+ } -+ g_strfreev(backdrop_dirs); -+ - - if(!image_file_iter) - image_file_iter = xfdesktop_settings_image_treeview_add(GTK_TREE_MODEL(ls), image_file); --- |