Commit Graph

3821 Commits

Author SHA1 Message Date
Vincent Torri 136032470c Elementary: do not enter po/ if --disable-nls is passed to configure
SVN revision: 64271
2011-10-21 21:20:12 +00:00
Vincent Torri 51136e3e81 Elementary: define setlocale and bindtextdomain macro if needed
SVN revision: 64270
2011-10-21 21:15:47 +00:00
Mike Blumenkrantz ffed36961e even more reordering, also convert some evas coords to int
SVN revision: 64269
2011-10-21 21:04:06 +00:00
Mike Blumenkrantz 72700795f2 more reordering
SVN revision: 64268
2011-10-21 21:00:07 +00:00
Iván Briano 4b911014e5 Webkit changed API, we should dress accordingly.
SVN revision: 64267
2011-10-21 20:56:09 +00:00
Mike Blumenkrantz 132c0994e6 use WIDGET instead of parent for callbacks
SVN revision: 64266
2011-10-21 20:52:29 +00:00
Mike Blumenkrantz c8d41c70e3 reorder gen* wd bools
SVN revision: 64265
2011-10-21 20:45:14 +00:00
Daniel Juyung Seo f596776217 elm genlist/gengrid: No need to call elm_widget_data_get() if we know it. it->wd is a widget data.
SVN revision: 64263
2011-10-21 17:06:46 +00:00
Daniel Juyung Seo c0001ca741 elm gengrid: Changed widget data member 'self' to 'obj'. Sync with genlist.
SVN revision: 64262
2011-10-21 16:53:01 +00:00
Daniel Juyung Seo da56018192 elm gengrid: Refactorying. Moved some codes and removed unnecessary line.
SVN revision: 64261
2011-10-21 16:36:20 +00:00
Mike Blumenkrantz 35c8f40547 this commit marks step one of The Gengrid & Genlist Unification Project. these poor widget brothers were separated at birth, never knowing that they were almost exactly the same.
from here, it should be trivial to continually move more and more code into elm_gen.c and reduce duplication.
ideally we should be aiming for an elm_gen_* api where you differentiate between list/grid with style or something since the apis are almost identical


SVN revision: 64245
2011-10-21 08:52:03 +00:00
Mike Blumenkrantz 0766bdaf33 shut up compile warning
SVN revision: 64243
2011-10-21 07:25:02 +00:00
Mike Blumenkrantz 7c34a44fb3 cnp error!
SVN revision: 64242
2011-10-21 07:22:43 +00:00
Mike Blumenkrantz 3f4a9b7092 call item unrealized callback more reliably
SVN revision: 64235
2011-10-21 05:35:36 +00:00
Mike Blumenkrantz 23032f2ab5 calling memcpy on an uninitialized pointer??? who would do such a thing!
SVN revision: 64232
2011-10-21 04:38:21 +00:00
Carsten Haitzler 6c10a447b1 and really move all toggle stuff over to check.
SVN revision: 64231
2011-10-21 04:36:25 +00:00
Mike Blumenkrantz 1444302c29 strndup??? who would do such a thing!
SVN revision: 64230
2011-10-21 04:32:27 +00:00
Mike Blumenkrantz 82cf8ef9ff add delete button to gengrid test 2
SVN revision: 64229
2011-10-21 04:04:03 +00:00
Mike Blumenkrantz 6026896d03 remove mode_item_style from item class, use genlist_mode_item_style_set() instead
SVN revision: 64228
2011-10-21 03:31:26 +00:00
Mike Blumenkrantz 5f5dd5f9e1 fix breakage #1 of the night
SVN revision: 64227
2011-10-21 03:23:42 +00:00
Mike Blumenkrantz 29f5f480b8 quiet some warnings
SVN revision: 64225
2011-10-21 02:53:13 +00:00
Mike Blumenkrantz e35721c1ba fix compile with latest changes
SVN revision: 64224
2011-10-21 02:43:08 +00:00
Mike Blumenkrantz 81551dd693 remove LOOOONG deprecated gengrid/genlist typedefs
SVN revision: 64223
2011-10-21 01:50:34 +00:00
Mike Blumenkrantz 9744ff9f84 remove gross genlistitemmoved function thingy and implement smart cb
also removed relevant item on TODO


SVN revision: 64222
2011-10-21 01:49:15 +00:00
Mike Blumenkrantz f163b10a05 _item_create -> _item_new
SVN revision: 64221
2011-10-21 01:39:14 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Carsten Haitzler d1ff7eb555 and mark new check calls as deprecated already - this is a porting
helper, not somethig intended to be used in the end.



SVN revision: 64219
2011-10-21 00:55:33 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz 474c285562 more elm todo items
SVN revision: 64217
2011-10-21 00:26:09 +00:00
Mike Blumenkrantz 5c081c834d whitespace--
SVN revision: 64216
2011-10-21 00:24:15 +00:00
Mike Blumenkrantz 52ed887687 more internal renames
SVN revision: 64215
2011-10-20 22:45:38 +00:00
Mike Blumenkrantz f0bbab78b8 more internal renames
SVN revision: 64214
2011-10-20 22:23:48 +00:00
Mike Blumenkrantz baf20fbec8 more reordering
SVN revision: 64213
2011-10-20 22:23:29 +00:00
Mike Blumenkrantz 4607b50c5e more unnoticeable internal movements
SVN revision: 64211
2011-10-20 21:49:54 +00:00
Mike Blumenkrantz 3bd72bfe23 rename some internal variables for consistency
SVN revision: 64210
2011-10-20 21:41:24 +00:00
Mike Blumenkrantz 82df90462a remove all use of elm_toggle_ api
SVN revision: 64207
2011-10-20 21:27:15 +00:00
Mike Blumenkrantz 18e83d0cef more implicits
SVN revision: 64206
2011-10-20 21:15:16 +00:00
Mike Blumenkrantz 37f91a4280 use correct functions here
SVN revision: 64205
2011-10-20 21:15:06 +00:00
Mike Blumenkrantz fd1aaaa4c0 shut up unused warning
SVN revision: 64204
2011-10-20 21:14:39 +00:00
Mike Blumenkrantz 2d4bcc4867 wooooooooooooooooooo aliases!
SVN revision: 64203
2011-10-20 21:05:30 +00:00
Mike Blumenkrantz 44d45ba36b fix implicits
SVN revision: 64202
2011-10-20 21:03:42 +00:00
Daniel Juyung Seo a9e92c7bc3 elm genlist/list/gengrid: Changed edge smart callback name. 'edge' callback is not scrolling. So "scroll,edge,up" -> "edge,up". elm_scroller already used this name.
SVN revision: 64200
2011-10-20 16:42:42 +00:00
Carsten Haitzler f5ce029839 make toggle just a feature of check - on/off state and a togle style.
keep toggle api (wrapped around check) and deprecate it. it will
eventually go.



SVN revision: 64199
2011-10-20 12:30:04 +00:00
Carsten Haitzler 756ba0dde4 it's time we moved to elm 0.8
SVN revision: 64194
2011-10-20 08:52:27 +00:00
Daniel Juyung Seo 9483f54dd1 elm widget.c: Refactorying. Use same variable name as others. Easier to read the code.
SVN revision: 64192
2011-10-20 07:31:37 +00:00
Daniel Juyung Seo 6e2e8e44ae elm widget.c: Set resize_obj first.
SVN revision: 64185
2011-10-19 17:36:51 +00:00
Daniel Juyung Seo 72e463d9b0 elm widget.c: Code refactorying. Check sobj first. We do not need to check sobj twice.
SVN revision: 64182
2011-10-19 17:07:15 +00:00
Iván Briano b416b6e686 missing docs
SVN revision: 64180
2011-10-19 15:44:45 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Carsten Haitzler 6d77357cec make elm config all stored in blobs ion properties (as well as disk)
only not multiple properties and fix up elm config tool so it works
well with the better scheme. all internal changes so nothing app-wise
is affected except for also exposing an event to tell you config was
changed



SVN revision: 64178
2011-10-19 12:46:56 +00:00