Commit Graph

120 Commits

Author SHA1 Message Date
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
Jiyoun Park 379aee40b4 remove deprecated function related with elm menu item
SVN revision: 69086
2012-03-09 10:55:38 +00:00
ChunEon Park fbcd46acea elementary/menu - fixed a infinite loop bug. should be resized the sub menu item
thanks bluezery for reporting.



SVN revision: 68865
2012-03-07 02:20:58 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
WooHyun Jung 123bcbfc06 elementary/elm_menu : Deprecated one API and modified test codes.
SVN revision: 68619
2012-03-02 08:56:32 +00:00
Pau Espin Pedrol 1bde7e2f66 elm_menu: Deprecate elm_menu_item_object_icon_name_get/set and rename it to elm_menu_item_icon_name_get/set
SVN revision: 68568
2012-03-01 12:05:10 +00:00
ChunEon Park 71879017b1 elementary/menu - deprecated elm_menu_item_menu_get.
use elm_object_item_widget_get()



SVN revision: 68401
2012-02-24 11:20:18 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park f2a914c1be elementary - rename an API
elm_object_item_object_get -> elm_object_item_widget_get	



SVN revision: 67235
2012-01-16 03:23:32 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
ChunEon Park 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +00:00
ChunEon Park 3d40877da4 elementary/hover - deprecated elm_hover_content_set/get/unset
SVN revision: 66989
2012-01-09 08:37:29 +00:00
ChunEon Park 569e56e904 elementary - Added 1 more API elm_object_item_del_cb_set()
also deprecated below APIs  

   elm_hoversel_item_del_cb_set()
   elm_diskselector_item_del_cb_set()
   elm_toolbar_item_del_cb_set()
   elm_index_item_del_cb_set()
   elm_menu_item_del_cb_set()                  



SVN revision: 66748
2012-01-02 11:46:32 +00:00
ChunEon Park d263480f83 elementary/menu - applied elm_object_item common APIs.
@deprecated 
elm_menu_item_label_set
elm_menu_item_label_get
elm_menu_item_object_content_set
elm_menu_item_object_content_get
elm_menu_item_disabled_set
elm_menu_item_disabled_get
elm_menu_item_data_set
elm_menu_item_data_get




SVN revision: 65597
2011-11-25 11:52:35 +00:00
ChunEon Park 468985fa84 elementary/menu - Elm_Menu_Item -> Elm_Object_Item
SVN revision: 65596
2011-11-25 10:57:39 +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
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