Commit Graph

96 Commits

Author SHA1 Message Date
ChunEon Park dbacb2fef9 elementary - send signal "language,changed" with one way in the widget.
Call the smart callback in the widget infra so that each widget don't need to hook the smart_translate only for the smart call.

This makes reducing duplicated code and supporting language,chagned from all widgets.
2014-01-23 19:30:34 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
WooHyun Jung 811c38145d popup: Replace focus_direction_go with focus_cycle. 2014-01-22 18:36:13 +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
Amitesh Singh 0be8dbcaae [elc_popup] - Added focus support on popup-base's swallow parts.
Summary:
 Currently the focus was only on popup-content and popup-action area.
New API elm_layout_content_swallow_list_get() which returns the list of
swallow parts.

Test Plan: elementary_test -to popup. click on "subpopup + X button"

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: nirajkr, aryarockstar, kashish

Differential Revision: https://phab.enlightenment.org/D375
2013-12-28 17:33:10 +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 8a0159df4f elm: long waited seasonal trailing whitespaces removal!
This is a ceremony of elementary 1.8 release!
2013-12-02 19:43:46 +09:00
Daniel Juyung Seo 56ca1c1dd7 elc_popup.c: removed unused warning. 2013-12-02 19:38:35 +09:00
abhi c2c1b87f6f [Popup] Adding elm_popup_align_set and elm_popup_align_get api
Summary: Added support for popup align set

Test Plan: elm_popup_align_set, elm_popup_align_get, elementary_test -to popup

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D321
2013-12-02 16:11:51 +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
ChunEon Park f0371f458e Revert "popup: Added support for popup move. elm_popup_move."
This reverts commit f67ecb2028dd663aa4b0d9fe78b2a392ac169e7e.

Conflicts:

	ChangeLog
	NEWS
	src/bin/test_popup.c

Sorry, Pend this to 1.8 after.
Let's think about adding this API more carefully.
2013-11-04 22:17:03 +09:00
Abhinandan Aryadipta 16b4279656 popup: Added support for popup move. elm_popup_move.
Summary: Added support for popup move

Test Plan: elm_popup_move

Reviewers: seoz, singh.amitesh, tasn, Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D247
2013-11-03 23:03:32 +09:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Juyung Seo a5a83e7a66 elm: Removed unnecessary local variable in sizing_eval. 2013-10-17 14:27:01 +09:00
Ryuan Choi 4314560b49 popup: Change the behavior of adding or removing buttons.
Summary:
Although user should give the position of button such as button1, current elm_popup
changes button's position or style as the number of buttons while adding or removing
buttons.

So, when application developers add buttons as wrong order or removed buttons,
applications may be crashed.

This patch refactored the behavior not to change the position intended by application
developer.

Test Plan: added new test case to test_popup.

Reviewers: seoz

Reviewed By: seoz

Differential Revision: https://phab.enlightenment.org/D259
2013-10-14 01:04:01 +09:00
Daniel Juyung Seo e23e151242 elc_popup.c: fixed up signal names according to the latest change.
This is a continuous job of raster's change, f9adb79740555c8e39e9d32ff2a755693dbea8dc.
2013-10-12 14:11:07 +09:00
Daniel Juyung Seo 3ff1e1859c elc_popup.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:13:14 +09:00
Carsten Haitzler 350081ff68 popup - this BREAKS THEME API. i know. it is needed:
namespacing wrong for popup theme elements. you cant sensibly have the
transparent popup test work without namespacing the style with an
extra popup/stylename. since its breaking also naming of swallows for
actionbtns wasnty namespaced. WRONG!

so yes - i know this breaks theme api. live with it. its needed. like
with elm_player.
2013-10-04 22:41:20 +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 38e651dee1 elc_popup.c: theck elm_layout_theme_set() return value.
- Handle successive code accordingly.
- This fixes coverity CID 1086781 and 1086782.
2013-09-09 19:16:27 +09:00
ChunEon Park 82759e54c1 elemenatry/popup - removed one redundant comment. 2013-09-04 13:44:14 +09:00
Daniel Juyung Seo 907733d004 elc_popup.c: refactoring. now popup item object is elm_layout not edje_object. 2013-09-03 11:08:41 +09:00
Daniel Juyung Seo 5d797b329e elc_popup.c: refactoring. changed local variable item to it for consistency. 2013-09-03 08:52:09 +09:00
Daniel Juyung Seo 341b8dc0f3 elc_popup.c: make popup handle general content set.
Currently application can use "default", "title,icon", "button{n}" parts for content_set but this patch allows more flexible usage of content_set.
2013-08-30 18:00:35 +09:00
Daniel Juyung Seo d740b3d3d2 elc_popup.c: small clean-ups.
1. removed unnecessary weight/align set for swallowed object.
2. fixed formatting.
2013-08-22 02:22:56 +09:00
ChunEon Park 90c0b7ad55 elementary/popup - missed adding "lang,changed" smart callback description. 2013-08-19 21:40:33 +09:00
ChunEon Park 68a9a72af3 elementary/popup - support "language,chagned" smart callback. 2013-08-19 17:10:01 +09:00
Daniel Juyung Seo 9791fb0e31 elc_popup.c: removed unnecessary code.
Don't need to call evas_object_show for swallowed buttons.
2013-08-13 23:09:50 +09:00
Daniel Juyung Seo 04becfdfdd elc_popup.c: remove unnecessary local variable. 2013-08-11 22:35:10 +09:00
Daniel Juyung Seo 877eb9463b elc_popup.c: remove unnecessary weight and align set for swallow part. 2013-08-11 21:43:38 +09:00
ChunEon Park 87993d76ba elementary/popup - Fix the corrupted internal widget tree that caused elm_theme_set() doesn't work correctly. 2013-08-10 18:52:35 +09:00
ChunEon Park 2d651a3688 elementary/popup - fixed typo 2013-08-10 16:47:28 +09:00
ChunEon Park bc13d70e5e elementary/popup - only set the notify style if the notify is the parent of the popup 2013-08-10 16:41:25 +09:00
ChunEon Park 75b631f07e elementary/popup - Don't need to set the style since widget infra setup themes for sub objects on behind. 2013-08-10 15:01:05 +09:00
Carsten Haitzler fb66d6963b elm popup leak fix! also in notify! 2013-08-09 17:48:31 +09:00
Carsten Haitzler 59e8bc5a35 Fix elm to use key not keyname (so xmodmap works) 2013-07-31 15:16:41 +09:00
Shinwoo Kim c47ef1b7fe [access] use proper name _elm_access_info_get(); not _elm_access_object_get(); to get access information 2013-07-31 12:57:49 +09:00
Daniel Juyung Seo ecf6eff9a4 elm: formatting fix for consistency. 2013-07-23 06:05:16 +09:00
Daniel Juyung Seo f1b685897d elm: do not declare SIG_FUCSED/SIG_UNFOCUSED if the const char is not used more than once.
ctxpopup, fileselector_button, naviframe, player, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 7b71bd1973 ctxpopup, fileselector_button, naviframe, player, popup, bubble, button: added "focused" and "unfocused" documentations. 2013-06-09 18:54:43 +09:00
WooHyun Jung 9cd0a65523 elementary/elc_popup : Popup should get focus when elm_object_focus_set is tried on it even though there is no focusalbe child in it. 2013-05-31 16:22:28 +09:00
Daniel Juyung Seo 9e3517fbcd elc_popup.c: ELM_SAFE_FREE adoption for popup.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:20:58 +09:00
Daniel Juyung Seo 82ecdfbb25 elm popup,flipselector: removed unnecessary type casting and type check. 2013-05-27 01:20:05 +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
Ryuan Choi e3aeebb8c7 elc_popup.c: Do not create action_area when buttons are empty 2013-04-27 05:54:42 +09: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