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
This commit is contained in:
Stafford Horne 2015-11-07 22:52:21 -05:00 committed by Mike Blumenkrantz
parent b753b1bab4
commit fe4cd15782
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ e_int_config_wallpaper_desk(Evas_Object *parent EINA_UNUSED, const char *params)
if (!params) return NULL;
zone_num = desk_x = desk_y = -1;
if (sscanf(params, "%i %i %i", &zone_num, &desk_x, &desk_y) != 4)
if (sscanf(params, "%i %i %i", &zone_num, &desk_x, &desk_y) != 3)
return NULL;
return _e_int_config_wallpaper_desk(NULL, zone_num, desk_x, desk_y);
}