Daniel Juyung Seo
fd5c046dfe
elm: Changed __UNUSED__ to EINA_UNUSED.
2014-01-06 23:33:57 +09:00
Daniel Juyung Seo
e63dd3110a
elm: Unified eina critical manro to CRI.
...
Being annoyed by different types of eina critical macros - CRI, CRIT,
CRITICAL -, I concluded to unify them to one. Discussed on IRC and
finally, CRI was chosen to meet the consistency with other macros -
ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Daniel Juyung Seo
6d71a23c3a
elm lib: removed all the unnecessary empty lines.
...
being pedantic.
2013-12-15 06:18:35 +09:00
Andrii Kroitor
cf2ae7397e
Elm_menu: fixed item disable hook for elm_dbus_menu
...
Summary:
Menu items in dbus-mode (in Ubunut/Unity) were not updated on
disabled/enabled state changes. They were applied only after
adding/removing an item.
Reviewers: cedric, seoz, raster
Reviewed By: raster
CC: reutskiy.v.v
Differential Revision: https://phab.enlightenment.org/D333
2013-11-16 09:50:32 +09:00
Tom Hacohen
2f1e1554e5
Changed Eo class names to be consistent.
...
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo
8ec25b69fb
elm: Added missing undefs.
2013-10-19 02:20:34 +09:00
Daniel Juyung Seo
6397761c6a
elm_test: Fixed formatting. tab to space.
...
Changed tab to space before working on the code.
Kinda surprised by the number of tabs we had.
2013-10-14 19:12:32 +09:00
Carsten Haitzler
95fdc9cc88
fix up namespace for many signal while keeping old versions for compat
2013-10-05 21:35:27 +09:00
Daniel Juyung Seo
a3d4db85c0
elm_menu.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro.
2013-10-05 17:14:55 +09:00
Cedric Bail
29af5e1e43
elementary: update to new eo_parent_get/set API.
2013-09-25 13:34:27 +09:00
Daniel Juyung Seo
f88c1c8f2f
elm_menu: added elm_menu_item_subitems_clear.
2013-09-21 20:22:10 +09:00
Daniel Juyung Seo
a7cd873410
elm_menu: added "dismissed" smart callback for dismiss action.
...
- "clicked" smart callback was used for dismiss action.
- "clicked" should be removed in EFL 2.0. Updated "EFL 2.0 TODO" wiki page.
- Updated ChangeLog and NEWS.
- Added sample code to elementary_test.
- Updated documentation.
2013-09-21 19:45:12 +09:00
Daniel Juyung Seo
42f3e07308
elm_menu.c: adopted new signal macro for menu.
2013-09-21 19:42:52 +09:00
Daniel Juyung Seo
2bb42d6e33
elm_menu.c: use hover's dismissed callback instead of clicked callback for menu dismiss.
2013-09-21 19:32:34 +09:00
Daniel Juyung Seo
3ff5f57346
elm_menu.c: use local variable for code readability.
2013-09-21 19:00:56 +09:00
Boris Faure
f9b116fe4d
_close() exists on windows (patch by vtorri)
2013-09-14 19:21:14 +02:00
Daniel Juyung Seo
11699bb4fa
elm_menu.c: chagned menu item object from edje_object to elm_layout for further focus support.
2013-09-10 14:28:30 +09:00
ChunEon Park
d461a8be05
elementary/widgets - set parents before widget constructs their body.
...
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Cedric Bail
c929b33052
elementary: properly sanitize headers order.
2013-05-03 16:07:06 +09:00
Daniel Zaoui
187d6bf8de
Elementary: replace eo_data_get for objects data referencing.
2013-05-01 11:04:09 +03:00
ChunEon Park
ff10726141
elementary/ctxpopup, hoversel, naviframe, multibuttonentry, popup, diskselector, list, menu, segment_control, toolbar - support widget item language change
2013-04-23 20:30:15 +09:00
Daniel Juyung Seo
74b3eed5fd
elm: print the error message inside elm_widget_sub_object_add().
...
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
Elm devs should fix it beforehand.
So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen
d75cb616da
Change usage of eo_do_super to the new prototype.
2013-03-18 16:15:12 +00:00
Daniel Juyung Seo
78c042cdbe
elm *.c: fixed formatting with EINA_LIST_FREE.
...
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Zaoui
cdd1eea853
Replace supported_types
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 83803
2013-02-10 07:52:31 +00:00
Henrique Dante de Almeida
0fbcdfb49b
elm: Support switching between local and D-Bus main menus on the fly
...
With this patch, the main menu now keeps listening for the app menu
registrar all the time. Whenever it's available, it tries to register
itself. If the registrar exits, the menu switches back to local mode.
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 83098
2013-01-22 18:51:16 +00:00
Henrique Dante de Almeida
5f50803547
Fix main menu coding style
...
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82985
2013-01-18 15:56:25 +00:00
Henrique Dante de Almeida
b5de2e056e
elm: Add support for Elm_Menu to behave as a menu bar
...
This allows slightly changing behavior of the top level menu entry widgets
for them to work as a menu bar.
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82956
2013-01-17 22:11:09 +00:00
Henrique Dante de Almeida
32da7114d6
Remove redundant code
...
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 82646
2013-01-11 16:43:30 +00:00
Henrique Dante de Almeida
b8d09d3690
[elm] Support item separators in D-Bus menu
...
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 81804
2012-12-28 14:59:33 +00:00
Henrique Dante de Almeida
58b2fc2cd2
[elm] Add D-Bus external menu support
...
Patch by: Henrique Dante de Almeida <hdante@profusion.mobi>
SVN revision: 81746
2012-12-27 13:38:33 +00:00
Daniel Zaoui
0c915e9023
Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
...
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg
5c98343198
We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
...
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>
SVN revision: 79668
2012-11-26 06:32:53 +00:00
ChunEon Park
24ff5df8bc
elementary/menu - only set icons when string exists.
...
SVN revision: 78753
2012-11-01 09:55:38 +00:00
ChunEon Park
a00a3cc320
elementary/menu - dont' set icon name when icon name is NULL
...
SVN revision: 78698
2012-10-31 10:07:20 +00:00
Cedric BAIL
4e92316193
elementary: Simplifies code and removes redundant duplicated code.
...
Patch by Igor Murzov <e-mail@date.by>
SVN revision: 77396
2012-10-04 02:43:57 +00:00
Daniel Juyung Seo
30dba54610
elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
...
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Christopher Michael
0fce46076e
Elementary: Revert all framespace changes.
...
NB: This means elm will be broken in wayland for a while while I sort
out what went wrong in evas.
SVN revision: 76173
2012-09-05 07:42:57 +00:00
Christopher Michael
30cc66d90d
Elm: Account for framespace X also. Thanks for spotting this Daniel ;)
...
SVN revision: 76129
2012-09-04 12:51:57 +00:00
Christopher Michael
e47a26bba6
Elm: Fix menus which get placed inside a toolbar for proper placement
...
in wayland.
NB: This also removes some unused variables.
SVN revision: 76118
2012-09-04 09:50:46 +00:00
Gustavo Lima Chaves
463dd0f8ae
[elm] Menu now inheritable.
...
SVN revision: 74605
2012-07-30 22:35:55 +00:00
Gustavo Lima Chaves
584c53c1be
[elm] New elm_widget_add() usage spread.
...
SVN revision: 74148
2012-07-18 21:03:39 +00:00
WooHyun Jung
f55ce04d1f
elementary/elm_menu : Fix a crash. _menu_resize_cb should be removed
...
before hover and its target are deleted.
SVN revision: 71276
2012-05-21 09:12:47 +00:00
Gustavo Lima Chaves
bee044e599
[Elm] Menu now a new elm widget.
...
SVN revision: 71128
2012-05-15 19:36:19 +00:00
ChunEon Park
d8f1c8014b
elementary/menu - fixed crash problem when non-parent item is passed to the elm_menu_seprator_item_add()
...
SVN revision: 70982
2012-05-14 05:13:12 +00:00
Shinwoo Kim
355365d4a8
[E-devel] [Patch][elementary] elm_menu, fix improper indentation.
...
Hi!
I have just modified the elm_menu.c because there are some improper
indentation.
That's it... Thanks.
Sincerely,
Shinwoo Kim.
Signed-Off-By: Shinwoo Kim <kimcinoo@gmail.com>
SVN revision: 70758
2012-05-04 12:04:27 +00:00
Daniel Juyung Seo
3d15654faa
elm elm_object_item: Fixed item part content set hooks.
...
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.
SVN revision: 69738
2012-03-29 10:08:37 +00:00
Daniel Juyung Seo
7908a77ad8
elm: Fixed formatting.
...
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Jiyoun Park
151e9c90c6
remove elm_menu_item_data_get/set function
...
it were already deprecated
SVN revision: 69310
2012-03-14 02:55:39 +00:00
Jiyoun Park
018f04684a
remove deprecated code related with
...
elm_menu_item_add_object
function.
SVN revision: 69233
2012-03-12 08:56:44 +00:00