Commit Graph

111 Commits

Author SHA1 Message Date
Andy Williams 6551aa4471 elementary: Use standard down arrow 2016-05-14 11:20:41 +01:00
Youngbok Shin 91437fafb0 Elementary toolbar: Don't call "clicked" callback when item is just selected
Summary:
"clicked" callback must be called when an item is really clicked.
But, toolbar had called it whenever an item was selected.
Even, it could be triggered by "elm_toolbar_item_selected_set()" API.
So, "clicked" callback will be called when only an item is clicked.
Also, it changed confusing names of related internal functions.
@fix

Test Plan: N/A

Reviewers: jaehwan, woohyun, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3937
2016-05-13 14:06:18 +09:00
Yeshwanth Reddivari aa01d5c7cb Toolbar: Use orientation interface APIs instead of horizontal set/get APIs
Test Plan: elementary_test

Reviewers: raster, jpeg, cedric, singh.amitesh

Reviewed By: singh.amitesh

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3890
2016-05-06 11:23:17 +05:30
Ji-Youn Park 3279d4fae8 elm_icon: move lookup_order and standard feature from eo to legacy 2016-04-26 17:24:51 +08:30
Jean-Philippe Andre 902950018b Efl: Introduce Efl.Container and unify APIs
This removes Efl.Pack_Named which had a terrible name,
removes Elm.Container which should have been renamed
Efl.Ui.Container anyway, and introduces an interface
Efl.Container instead.

The hierarchy tree is now changed as objects don't inherit
from Efl.Container (it's an interface, not a regular class)
but only implement it. Obviously it is very easy to
reintroduce an Efl.Ui.Container parent class if we need it,
but I guess it should have some actual logic. It's basically
part of what Elm.Widget already does.

Some function names have been modified to look better in C
with the efl_content prefix.

@feature
2016-04-26 11:36:23 +09:00
Andy Williams 8c02bf5be6 elementary: Move icon lookup order to user specified theme.
As discussed on the mailing list we're taming the icon_standard code.
This means that icon themes are set by the user not the app.
Deprecate all the icon_lookup calls etc and remove the behaviour.
Add a config panel to elementary_config where the theme can be selected.
2016-04-26 00:00:33 +01:00
Andy Williams 339e572171 elementary: clean code and tests of order_lookup
User configuration has replaced the code based setting of lookup
2016-04-25 19:30:23 +01:00
Andy Williams 5bb29101a9 elementary: Replace icon lookup_order with icon_theme.
The definition of where to load icons is now up to the user
(through the configuration of the icon_theme config value)
rather than being defined in code per-app or even per-component
2016-04-25 16:57:13 +01:00
Youngbok Shin c0fa31d6f4 Elementary toolbar: Fix flickering issue from resizing the box multiple times
Summary:
The toolbar's box was resized in _sizing_eval(), _resize_job().
In _sizing_eval(), the box was resized according to its minimum size.
And in _resize_job(), toolbar would recalculate it and resize the box again.
If _sizing_eval() was called after resizing the box properly from _resize_job(),
the box was shrank before calling the next job.
If the box's minimum size is needed for calculation in the job callback,
it shouldn't change box's size before the job callback.
@fix

Test Plan: N/A

Reviewers: jaehwan, eagleeye, woohyun, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D3911
2016-04-25 19:38:03 +09:00
Youngbok Shin 726c6171bf Elementary Toolbar: Send order signals when a item is added/removed
Summary:
Send order signals for changing item's state according to its order.
It does not affect to existing themes. It sends the following signals.
	elm,order,first,item
	elm,order,default,item
	elm,order,last,item
@feature

Test Plan: N/A

Reviewers: woohyun, jaehwan, eagleeye, cedric

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3883
2016-04-15 15:10:49 +09:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00