shelf gadcon can no longer resize smaller than 16x16

devs/asdfuser/comp-sounds
Mike Blumenkrantz 10 years ago
parent 70d68a30e0
commit fca3799f44
  1. 1
      ChangeLog
  2. 1
      NEWS
  3. 2
      src/bin/e_shelf.c

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

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

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

Loading…
Cancel
Save