summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2015-11-07 22:52:21 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-11-07 22:52:21 -0500
commitfe4cd157823be2618f14a0d2415c33496e5d8142 (patch)
tree46547ca28e3ce8a83b941f3e723d25589e23de78
parentb753b1bab4c947c2c88eb5f18f22ccaa56f3040d (diff)
e/desk_wallpaper: Fix setting wallpaper from within Virtual Desk dialog
Summary: It seems this was missed when doing the manager/container id removal back in march. The param validation was failing and causing the "Set" button to not work in "Screen > Virtual Desktops > Click to Change wallpaper". Test Plan: 1. Open "Screen > Virtual Desktops > Click to Change wallpaper" 2. Click "Set" - Expect that a wallpaper dialog be shown - Before this patch nothing happens Reviewers: zmike Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D3298
-rw-r--r--src/modules/conf_theme/e_int_config_wallpaper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c b/src/modules/conf_theme/e_int_config_wallpaper.c
index 9b306c292..9b0f1cbbb 100644
--- a/src/modules/conf_theme/e_int_config_wallpaper.c
+++ b/src/modules/conf_theme/e_int_config_wallpaper.c
@@ -64,7 +64,7 @@ e_int_config_wallpaper_desk(Evas_Object *parent EINA_UNUSED, const char *params)
64 64
65 if (!params) return NULL; 65 if (!params) return NULL;
66 zone_num = desk_x = desk_y = -1; 66 zone_num = desk_x = desk_y = -1;
67 if (sscanf(params, "%i %i %i", &zone_num, &desk_x, &desk_y) != 4) 67 if (sscanf(params, "%i %i %i", &zone_num, &desk_x, &desk_y) != 3)
68 return NULL; 68 return NULL;
69 return _e_int_config_wallpaper_desk(NULL, zone_num, desk_x, desk_y); 69 return _e_int_config_wallpaper_desk(NULL, zone_num, desk_x, desk_y);
70} 70}