diff --git a/ChangeLog b/ChangeLog index 814468455..4b7b9132d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ * added e_gadcon_repopulate * EFM toolbar now has its own gadcon location * DND canvas merged to compositor + * shelf gadcon can no longer resize smaller than 16x16, ensuring dnd success 2013-02-20 Mike Blumenkrantz diff --git a/NEWS b/NEWS index 64673a9ec..81898cf57 100644 --- a/NEWS +++ b/NEWS @@ -119,6 +119,7 @@ Improvements: * compositor now allows user changing/remembering of object opacity * EFM toolbar now has its own gadcon location * DND canvas merged to compositor + * shelf gadcon can no longer resize smaller than 16x16, ensuring dnd success Fixes: * IBar menu didn't allow to configure different icon sources, show contents menu even on empty IBar. diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index 78b7da3c2..0504596a2 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -1190,6 +1190,8 @@ _e_shelf_gadcon_size_request(void *data, E_Gadcon *gc, Evas_Coord w, Evas_Coord nw = es->w; nh = es->h; ww = hh = 0; + w = MAX(w, 16); + h = MAX(h, 16); evas_object_geometry_get(gc->o_container, NULL, NULL, &ww, &hh); switch (gc->orient) {