forked from enlightenment/enlightenment
shelf gadcon can no longer resize smaller than 16x16
This commit is contained in:
parent
70d68a30e0
commit
fca3799f44
|
@ -7,6 +7,7 @@
|
||||||
* added e_gadcon_repopulate
|
* added e_gadcon_repopulate
|
||||||
* EFM toolbar now has its own gadcon location
|
* EFM toolbar now has its own gadcon location
|
||||||
* DND canvas merged to compositor
|
* DND canvas merged to compositor
|
||||||
|
* shelf gadcon can no longer resize smaller than 16x16, ensuring dnd success
|
||||||
|
|
||||||
2013-02-20 Mike Blumenkrantz
|
2013-02-20 Mike Blumenkrantz
|
||||||
|
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -119,6 +119,7 @@ Improvements:
|
||||||
* compositor now allows user changing/remembering of object opacity
|
* compositor now allows user changing/remembering of object opacity
|
||||||
* EFM toolbar now has its own gadcon location
|
* EFM toolbar now has its own gadcon location
|
||||||
* DND canvas merged to compositor
|
* DND canvas merged to compositor
|
||||||
|
* shelf gadcon can no longer resize smaller than 16x16, ensuring dnd success
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
* IBar menu didn't allow to configure different icon sources, show contents menu even on empty IBar.
|
* 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;
|
nw = es->w;
|
||||||
nh = es->h;
|
nh = es->h;
|
||||||
ww = hh = 0;
|
ww = hh = 0;
|
||||||
|
w = MAX(w, 16);
|
||||||
|
h = MAX(h, 16);
|
||||||
evas_object_geometry_get(gc->o_container, NULL, NULL, &ww, &hh);
|
evas_object_geometry_get(gc->o_container, NULL, NULL, &ww, &hh);
|
||||||
switch (gc->orient)
|
switch (gc->orient)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue