discomfitor pushed a commit to branch master.
commit 84dc539ddf32180d8efb16eb6e84a51002d8aed8
Author: Mike Blumenkrantz <[email protected]>
Date: Tue Aug 13 11:04:55 2013 +0100
ibar obeys max size hint
---
src/modules/ibar/e_mod_main.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/modules/ibar/e_mod_main.c b/src/modules/ibar/e_mod_main.c
index a517a9b..ae7f9b9 100644
--- a/src/modules/ibar/e_mod_main.c
+++ b/src/modules/ibar/e_mod_main.c
@@ -590,6 +590,13 @@ _ibar_resize_handle(IBar *b)
Evas_Coord w, h;
evas_object_geometry_get(b->o_box, NULL, NULL, &w, &h);
+ if (b->inst->gcc)
+ {
+ if (b->inst->gcc->max.w)
+ w = MIN(w, b->inst->gcc->max.w);
+ if (b->inst->gcc->max.h)
+ h = MIN(h, b->inst->gcc->max.h);
+ }
if (e_box_orientation_get(b->o_box))
w = h;
else
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk