Commit Graph

148 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Yakov Goldberg f863057d21 menu: add NULL checks to elm_obj_menu_item_add()
Function returns newly created item through last param
   Elm_Object_Item**. Add checks to make possible to pass NULL,
   if return is not needed.
2014-02-24 14:25:37 +02:00
Daniel Juyung Seo 9ec7fd7dec menu: Fixed wrong internal variable name.
It should be 'it' not 'subitem'. It was wrong and confusing.
2014-02-13 15:40:21 +09:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
Andrii Kroitor 3771a6d473 Elementary menu item: handling hidden icon
Summary:
Added noicon menu item state to default menu theme.
Now you can hide icon by setting it to "" (empty string)
Removed check for resetting the same icon name. This allows setting an icon
after it was hidden.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D522
2014-02-08 13:17:24 +09:00
Carsten Haitzler a31944daa4 elm-menu - fix style to use current when setting menu bar 2014-02-08 13:13:45 +09:00
Andrii Kroitor 7aa326c4a7 Elmementary menu styling fixed
Summary:
When custom style is applyed to menu the same style will be applyed to
its internal hover object.
Moved hover styles used by menu from hover.edc to menu.edc

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D514
2014-02-08 13:13:45 +09:00
ChunEon Park 39ad0e358e elementary - support language changed callback from a few widgets.
support a language,changed callback if a widget has the text part in default.
2014-01-23 20:07:20 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Daniel Juyung Seo 43533a2fb9 elm: Removed unnecessary null check for eina_stringshare_del. 2014-01-22 10:54:45 +09:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
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