Commit Graph

20 Commits

Author SHA1 Message Date
Viktor Kojouharov 64d51112ed never a good idea to place the popup origin at negative coordinates
SVN revision: 39332
2009-03-02 15:18:42 +00:00
Hannes Janetzek 887264eed4 added e_gadcon_locked_set: with this gadgets can lock the gadcon from
vanishing, like with e_shelf_locked_set. gadcon providers set their own lock 
function with e_gadcon_util_lock_func_set, which is called by 
e_gadcon_locked_set.


SVN revision: 38759
2009-01-24 14:09:37 +00:00
Gustavo Sverzut Barbieri 9dc52497b2 oops, just lock shelf if configured to do so.
SVN revision: 38535
2009-01-10 14:17:42 +00:00
Gustavo Sverzut Barbieri 4ae928cf1a gadcon popup should lock shelf.
It's nasty to have shelf auto-hided when you have a popup like mixer
or battery warning, so gadcon popups will now lock shelf while they're
visible.

Developers can go back to old behaviour setting the appropriate flag
with e_gadcon_popup_shelf_lock_set().



SVN revision: 38530
2009-01-10 07:35:53 +00:00
Viktor Kojouharov c35a5edffd one too many breaks
SVN revision: 37917
2008-12-03 22:21:17 +00:00
Chidambar Zinnoury 1ecc76d8b9 OK, in doubt, calculate dimensions anyway and call resize func after that. Some modules expect them to be filled so that they can "correct" them.
This will fix all of them.


SVN revision: 36851
2008-10-20 12:18:37 +00:00
Chidambar Zinnoury d052870ff0 Correct gadcon popup dimensions computation.
SVN revision: 36806
2008-10-19 10:41:50 +00:00
Carsten Haitzler 2fe970f02a fix gadcon popups across multiple zones.
SVN revision: 36120
2008-09-20 05:16:49 +00:00
Carsten Haitzler 0a8ffffa5f add in gadman for desktop. happy dave! :)
SVN revision: 34610
2008-05-19 04:37:34 +00:00
Gustavo Sverzut Barbieri ce808eb614 Remove unused E_Gadcon_Popup->o_con
SVN revision: 33680
2008-02-05 16:39:22 +00:00
Gustavo Sverzut Barbieri 5ebcf31112 Avoid invalid read, remove useless calls.
e_object_del(E_OBJECT(pop->win)) will call ecore_evas_free() which
calls evas_free() which deletes all the objects, making pop->o_bg a
invalid read in its evas_object_del(). So it must be reordered, even
better the evas_object_del(pop->o_bg) can be avoided.

Since the window is deleted, no need to e_gadcon_popup_toggle_pinned()
it.

PS: need to check if there are users of o_con, if not, it should be
removed too.


SVN revision: 33679
2008-02-05 16:33:24 +00:00
Christopher Michael 2a34d931f1 Handle corner cases where popup X may be less than the zone X.
SVN revision: 33396
2008-01-08 19:33:48 +00:00
Christopher Michael 0f8558761f Center gadcon popups over their respective gadgets, not aligned to the left.
SVN revision: 33390
2008-01-08 06:12:22 +00:00
Christopher Michael 1e54439422 Set popup layer == layer of the exebuf.
Fix some formatting issues.


SVN revision: 33124
2007-12-13 19:27:02 +00:00
Christopher Michael fe9b6df746 Fix formatting.
SVN revision: 32738
2007-11-16 22:27:35 +00:00
Sebastian Dransfeld af9dd29dfc Pass the user supplied Evas_Object to the resize func, as the user
shouldn't deal with the popup Evas_Object.


SVN revision: 31559
2007-08-27 21:39:12 +00:00
Christopher Michael a0f9462d1d Add gcc suggested parens around assignment.
SVN revision: 31533
2007-08-26 17:20:46 +00:00
Viktor Kojouharov 258bdce586 recalc the min size, in case the container changes it's geometry
SVN revision: 31512
2007-08-26 11:16:31 +00:00
Viktor Kojouharov 66260d1cc5 extra null check, since E_OBJECT_CHECK doesn't even check that
SVN revision: 31493
2007-08-25 09:41:25 +00:00
Viktor Kojouharov b0d4ef2ea9 info popup for gadcon clients
SVN revision: 31432
2007-08-20 18:50:20 +00:00