also ensure min size for shelf gadgets is not greater than max size

SVN revision: 72787
This commit is contained in:
Mike Blumenkrantz 2012-06-25 08:25:07 +00:00
parent 1c0ae4ffcb
commit 9d5f2a7c63
1 changed files with 2 additions and 0 deletions

View File

@ -1704,6 +1704,8 @@ _e_gadcon_moveresize_handle(E_Gadcon_Client *gcc)
evas_object_geometry_get(gcc->gadcon->edje.o_parent, NULL, NULL, &mw, &mh);
else
mw = w, mh = h;
w = MIN(w, mw);
h = MIN(h, mh);
/*
if (gcc->resizable)
{