aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-22 10:30:29 +0000
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-02-22 13:18:30 +0000
commitfca3799f4439fb12f55ab94f8fb25c701ab2da04 (patch)
tree3e0facd8e00126536a385d60a6219a0d295295ac
parent70d68a30e07d44d83dfba337b1fe4dc20797d0ac (diff)
downloadenlightenment-fca3799f4439fb12f55ab94f8fb25c701ab2da04.tar.gz
enlightenment-fca3799f4439fb12f55ab94f8fb25c701ab2da04.tar.xz
enlightenment-fca3799f4439fb12f55ab94f8fb25c701ab2da04.zip
shelf gadcon can no longer resize smaller than 16x16
-rw-r--r--ChangeLog1
-rw-r--r--NEWS1
-rw-r--r--src/bin/e_shelf.c2
3 files changed, 4 insertions, 0 deletions
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)
{