shelf gadcon can no longer resize smaller than 16x16

This commit is contained in:
Mike Blumenkrantz 2013-02-22 10:30:29 +00:00
parent 70d68a30e0
commit fca3799f44
3 changed files with 4 additions and 0 deletions

View File

@ -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

1
NEWS
View File

@ -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.

View File

@ -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)
{