Commit 4e151e00 authored by Nick Schermer's avatar Nick Schermer

Revert "Search new background location in list (bug #8799)."

This reverts commit 290a6b4e.

Sigh, wrong branch..
parent 290a6b4e
......@@ -678,7 +678,6 @@ 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/ for backwards compatibility with 4.8 */
backdrop_dirs = xfce_resource_lookup_all(XFCE_RESOURCE_DATA,
"xfce4/backdrops/");
for(i = 0; backdrop_dirs[i]; ++i) {
......@@ -687,18 +686,6 @@ 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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment