Commit Graph

13 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri 9ed8bf92be Use elm_widget_item common base.
This patch changes all Elm_*_Item to use new infrastructure of
Elm_Widget_Item. This patch is basically a find-and-replace, but even
that was a bit tricky since every code had different names for the
same things, particularly for "view" and "widget" the names ranged
from "o"/"obj" to "base"/"o", quite confusing!

It is worth noting that Genlist and variants that adopted its "item
class" style such as Gengrid and Slideshow already provide a "del()"
callback there and I'm keeping them, however we should reconsider if
it is good to remove them and use elm_widget_item_del_cb_set()
instead. The drawback is that onde would have to set it, while the
other is done automatically when you create the object with the
class. Nonetheless this patch already introduces support to use
elm_widget_item_pre_notify_del(), but it will be void in such code as
nobody ever sets it.

Some new setters and getters were introduced to normalize code... and
they would be required once people write python-bindings for them,
like index and carousel.




SVN revision: 52118
2010-09-10 02:05:45 +00:00
Gustavo Sverzut Barbieri eb0c580753 Just delete children and related from del_pre_hook, not del_hook!
At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.



SVN revision: 52115
2010-09-10 01:40:50 +00:00
Rafael Fonseca 9c4eb78705 Add signal emit hook to gengrid.
Like was already done to other widgets by bdilly, this patch adds the
possibility to send signals to elm_gengrid's theme.

P.S: lfelipe, ahi esta mi primer commit :P



SVN revision: 52109
2010-09-09 22:01:30 +00:00
Christopher Michael bc583d718c Lots of fixes:
Add UNUSED where needed.
  Remove unused variables.
  Fix lots of compiler warnings.
  Formatting.



SVN revision: 51320
2010-08-18 19:18:42 +00:00
Iván Briano 530a645192 Don't drop selection when dragging from selected item
SVN revision: 50841
2010-08-05 18:17:05 +00:00
Lucas De Marchi 54531a69ed FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Christopher Michael d3656fc2b3 Clear gengrid Before deleting the pan object. (also, clear function
already deletes the calc job).



SVN revision: 50273
2010-07-15 22:34:55 +00:00
Gustavo Sverzut Barbieri 340b0b6f5e Fix gengrid usage of item class style.
By: Leandro "acidx" Pereira <leandro@profusion.mobi>



SVN revision: 50136
2010-07-08 23:17:12 +00:00
Bruno Dilly 5e928b9366 Add possibility to get all the items in Gengrid
By Rafael Fonseca <rfonseca@profusion.mobi>



SVN revision: 50087
2010-07-06 21:14:38 +00:00
titan 25ef450968 Patch to fix gengrid item positioning. From Rafael Fonseca.
SVN revision: 50053
2010-07-06 01:23:54 +00:00
Cedric BAIL bdf6efa129 * elementary: fix Ecore API changes.
SVN revision: 49860
2010-06-25 09:58:14 +00:00
Christopher Michael cfb93fbfdd Use proper formatting.
SVN revision: 49597
2010-06-09 21:08:12 +00:00
Rafael Fonseca 24feacfa4c From: Rafael Fonseca <rfonseca@profusion.mobi>
As requested, I've changed the widget name. Let me know about any
issues.



SVN revision: 49411
2010-06-03 12:53:14 +00:00