platform/upstream/elementary.git
13 years agoChecking widtype on eapi elm_toolbar_item_label_set
Bruno Dilly [Mon, 8 Nov 2010 16:55:26 +0000 (16:55 +0000)]
Checking widtype on eapi elm_toolbar_item_label_set

SVN revision: 54335

13 years agoInclude toolbar_item_state_del on Elm.h
Bruno Dilly [Mon, 8 Nov 2010 16:44:31 +0000 (16:44 +0000)]
Include toolbar_item_state_del on Elm.h

SVN revision: 54334

13 years agoAdding some missing const on getters on elm
Bruno Dilly [Mon, 8 Nov 2010 16:39:07 +0000 (16:39 +0000)]
Adding some missing const on getters on elm

SVN revision: 54333

13 years agoelm_genlist longpressed signal documentation
Bruno Dilly [Mon, 8 Nov 2010 14:07:33 +0000 (14:07 +0000)]
elm_genlist longpressed signal documentation

By: 서주영 <juyung.seo@samsung.com>

SVN revision: 54329

13 years agono more debian dir in our svn - debian now handles this tehmselves.
Carsten Haitzler [Mon, 8 Nov 2010 05:51:19 +0000 (05:51 +0000)]
no more debian dir in our svn - debian now handles this tehmselves.

SVN revision: 54299

13 years agooops printf--
Carsten Haitzler [Mon, 8 Nov 2010 05:38:53 +0000 (05:38 +0000)]
oops printf--

SVN revision: 54286

13 years agofmting
Carsten Haitzler [Mon, 8 Nov 2010 04:39:56 +0000 (04:39 +0000)]
fmting

SVN revision: 54285

13 years agofix bug in glenlist 4 - item update. updates item vanishes.
Carsten Haitzler [Mon, 8 Nov 2010 04:33:34 +0000 (04:33 +0000)]
fix bug in glenlist 4 - item update. updates item vanishes.

SVN revision: 54284

13 years agoallo icons to be orphaned
Carsten Haitzler [Sat, 6 Nov 2010 07:05:00 +0000 (07:05 +0000)]
allo icons to be orphaned

SVN revision: 54218

13 years agoback to 2000 items in test.
Carsten Haitzler [Sat, 6 Nov 2010 06:19:05 +0000 (06:19 +0000)]
back to 2000 items in test.

SVN revision: 54216

13 years agounrealized callback too.
Carsten Haitzler [Sat, 6 Nov 2010 06:14:21 +0000 (06:14 +0000)]
unrealized callback too.

SVN revision: 54215

13 years agoimprove genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
Carsten Haitzler [Sat, 6 Nov 2010 06:02:22 +0000 (06:02 +0000)]
improve genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.

SVN revision: 54214

13 years agoFixing comments in gengrid.
Bruno Dilly [Fri, 5 Nov 2010 18:25:04 +0000 (18:25 +0000)]
Fixing comments in gengrid.

By: Otavio Pontes <otavio@profusion.mobi

SVN revision: 54191

13 years agoEmit different signals when changing states forward or backward.
Bruno Dilly [Fri, 5 Nov 2010 18:23:59 +0000 (18:23 +0000)]
Emit different signals when changing states forward or backward.

This is used to perform diferent animations when going forward or
backward.

By:  Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54190

13 years agoAdding a no select mode to toolbar.
Bruno Dilly [Fri, 5 Nov 2010 18:23:15 +0000 (18:23 +0000)]
Adding a no select mode to toolbar.

In no select mode, toolbar items don't stay selected after click.

SVN revision: 54189

13 years agoLoading icon image from files if absolute path is provided
Bruno Dilly [Fri, 5 Nov 2010 18:22:42 +0000 (18:22 +0000)]
Loading icon image from files if absolute path is provided

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54188

13 years agoDon't show more menu if there is only one button in it.
Bruno Dilly [Fri, 5 Nov 2010 18:21:01 +0000 (18:21 +0000)]
Don't show more menu if there is only one button in it.

If there is only one item inside more menu and if this item is smaller
than more item, the toolbar wont show the more menu.

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54187

13 years agooops - printf--
Carsten Haitzler [Fri, 5 Nov 2010 11:02:52 +0000 (11:02 +0000)]
oops - printf--

SVN revision: 54175

13 years agofix genlist bug - was MEANT to realzie items as they appear - it
Carsten Haitzler [Fri, 5 Nov 2010 11:02:08 +0000 (11:02 +0000)]
fix genlist bug - was MEANT to realzie items as they appear - it
realized a whole block. fix.

SVN revision: 54174

13 years agofmting.
Carsten Haitzler [Fri, 5 Nov 2010 09:44:05 +0000 (09:44 +0000)]
fmting.

SVN revision: 54172

13 years agodo scale right for toolbar...
Carsten Haitzler [Fri, 5 Nov 2010 09:43:13 +0000 (09:43 +0000)]
do scale right for toolbar...

SVN revision: 54171

13 years ago Make the scroller more "weighted" (or hard-to-drag) while you drag it
Davide Andreoli [Fri, 5 Nov 2010 09:31:51 +0000 (09:31 +0000)]
 Make the scroller more "weighted" (or hard-to-drag) while you drag it
 out of bounds, that is when the content is finished. In this way
 the user note that the content is at the end.

 All the others finger-scroll implementation (iphone,android) works this way ;)

 This is configurable by the 'thumbscroll_border_friction' config value,
 and by the 'ELM_THUMBSCROLL_BORDER_FRICTION' var.
 0.0 means: disable the friction
 0.5 is the default
 1.0 means: maximum friction

 I have tested this with every scroller in elm_test and seems to work
 well in all the occurence, if you see somthing strange in some scroller
 please let me know.

 DaveMDS

SVN revision: 54170

13 years agoelm theme can be copied, referenced and theme flush tries to ONLY
Carsten Haitzler [Fri, 5 Nov 2010 08:37:31 +0000 (08:37 +0000)]
elm theme can be copied, referenced and theme flush tries to ONLY
flush a specific theme if told so (and only those widgets and their
children).

SVN revision: 54169

13 years agoFix missing ingroups on elm_layout docs
Bruno Dilly [Fri, 5 Nov 2010 00:47:19 +0000 (00:47 +0000)]
Fix missing ingroups on elm_layout docs

SVN revision: 54165

13 years agoAdd cursor getters for elm widgets and items
Bruno Dilly [Fri, 5 Nov 2010 00:46:54 +0000 (00:46 +0000)]
Add cursor getters for elm widgets and items

SVN revision: 54164

13 years agoAdd bounce getter for remaining widgets
Bruno Dilly [Fri, 5 Nov 2010 00:45:59 +0000 (00:45 +0000)]
Add bounce getter for remaining widgets

SVN revision: 54163

13 years agoSmall fix on entry load file
Bruno Dilly [Thu, 4 Nov 2010 13:59:42 +0000 (13:59 +0000)]
Small fix on entry load file

In case a file can't be completely read, return what could be read so
far.

SVN revision: 54152

13 years agoAccomodating for scrolled entry changes at elm config app's profile page.
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:51:09 +0000 (13:51 +0000)]
Accomodating for scrolled entry changes at elm config app's profile page.
NB: there is no sane way of restraining the min/max size of an elm
widget right now.  This is why the scrolled entry is now (hopefully
not for toooo long) with half the size of a box, not 60px in height
anymore.

SVN revision: 54151

13 years agoReverting size hints hacks the right way at scrolled entry + calling
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:51:02 +0000 (13:51 +0000)]
Reverting size hints hacks the right way at scrolled entry + calling
 it from theme hook.

SVN revision: 54150

13 years agoJust adding more readability to eet data descriptor filling.
Gustavo Lima Chaves [Thu, 4 Nov 2010 13:50:54 +0000 (13:50 +0000)]
Just adding more readability to eet data descriptor filling.

SVN revision: 54149

13 years agoWe need the aspect, or sometimes icons go away
Iván Briano [Thu, 4 Nov 2010 12:24:07 +0000 (12:24 +0000)]
We need the aspect, or sometimes icons go away

SVN revision: 54147

13 years agoAdd bounce setter/getter to elm_photocam
Bruno Dilly [Thu, 4 Nov 2010 12:19:00 +0000 (12:19 +0000)]
Add bounce setter/getter to elm_photocam

By: Li Suxia <suxia.li@samsung.com>

SVN revision: 54146

13 years agoRemove elm_notepad
Bruno Dilly [Thu, 4 Nov 2010 11:56:15 +0000 (11:56 +0000)]
Remove elm_notepad

Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.

We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.

As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.

Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.

I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.

If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().

At last, some getters were added.

SVN revision: 54145

13 years agoCalling callback when grid has changed.
Otavio Pontes [Wed, 3 Nov 2010 18:31:31 +0000 (18:31 +0000)]
Calling callback when grid has changed.

Patch by: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54130

13 years agoCalling callback 'unrealized' when an item is unrealized.
Otavio Pontes [Wed, 3 Nov 2010 18:30:48 +0000 (18:30 +0000)]
Calling callback 'unrealized' when an item is unrealized.

Patch by: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54129

13 years agoFix scrolled entry sizing eval when change style
Tiago Rezende Campos Falcao [Wed, 3 Nov 2010 17:22:42 +0000 (17:22 +0000)]
Fix scrolled entry sizing eval when change style

SVN revision: 54126

13 years agotest case for conform+focus. seems to work here.
Carsten Haitzler [Wed, 3 Nov 2010 08:24:56 +0000 (08:24 +0000)]
test case for conform+focus. seems to work here.

SVN revision: 54116

13 years agolabel is no longer a common parameter, and style is
Iván Briano [Tue, 2 Nov 2010 17:55:14 +0000 (17:55 +0000)]
label is no longer a common parameter, and style is

SVN revision: 54109

13 years agoUse common checker to item in flippicker
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:13 +0000 (11:27 +0000)]
Use common checker to item in flippicker

SVN revision: 54099

13 years agoAdd checkers to carousel items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:10 +0000 (11:27 +0000)]
Add checkers to carousel items

SVN revision: 54098

13 years agoAdd checkers to genlist items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:07 +0000 (11:27 +0000)]
Add checkers to genlist items

SVN revision: 54097

13 years agoAdd checkers to slidershow items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:04 +0000 (11:27 +0000)]
Add checkers to slidershow items

SVN revision: 54096

13 years agoAdd checkers to index items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:27:02 +0000 (11:27 +0000)]
Add checkers to index items

SVN revision: 54095

13 years agoAdd checkers to toolbar items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:59 +0000 (11:26 +0000)]
Add checkers to toolbar items

SVN revision: 54094

13 years agoAdd checkers to list items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:56 +0000 (11:26 +0000)]
Add checkers to list items

SVN revision: 54093

13 years agoAdd checkers to menu items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:53 +0000 (11:26 +0000)]
Add checkers to menu items

SVN revision: 54092

13 years agoAdd checkers to hoversel items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:50 +0000 (11:26 +0000)]
Add checkers to hoversel items

SVN revision: 54091

13 years agoAdd checkers to gengrid items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:47 +0000 (11:26 +0000)]
Add checkers to gengrid items

SVN revision: 54090

13 years agoAdd test and checker to widget items
Tiago Rezende Campos Falcao [Tue, 2 Nov 2010 11:26:44 +0000 (11:26 +0000)]
Add test and checker to widget items

SVN revision: 54089

13 years agoshould be recommends.
Carsten Haitzler [Tue, 2 Nov 2010 05:00:22 +0000 (05:00 +0000)]
should be recommends.

SVN revision: 54086

13 years agoFallbacking to software X11 on all engines, now.
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:21 +0000 (21:10 +0000)]
Fallbacking to software X11 on all engines, now.

SVN revision: 54083

13 years agoNew elm config app's option: engine setting.
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:14 +0000 (21:10 +0000)]
New elm config app's option: engine setting.

SVN revision: 54082

13 years agoSwitching elm config's engine variable from enum to string ptr.
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:07 +0000 (21:10 +0000)]
Switching elm config's engine variable from enum to string ptr.

SVN revision: 54081

13 years agoSentinel was never used and was wasting space for subs array.
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:10:01 +0000 (21:10 +0000)]
Sentinel was never used and was wasting space for subs array.

SVN revision: 54080

13 years agoJust shutting gcc up.
Gustavo Lima Chaves [Mon, 1 Nov 2010 21:09:55 +0000 (21:09 +0000)]
Just shutting gcc up.

SVN revision: 54079

13 years ago[Elementary] Cleanups as suggested by clang static analyzer.
Leandro Pereira [Mon, 1 Nov 2010 18:11:18 +0000 (18:11 +0000)]
[Elementary] Cleanups as suggested by clang static analyzer.

SVN revision: 54077

13 years agoelm clean up
Bruno Dilly [Mon, 1 Nov 2010 12:44:30 +0000 (12:44 +0000)]
elm clean up

SVN revision: 54076

13 years agomore dirent usage. nix.
Carsten Haitzler [Sat, 30 Oct 2010 06:22:14 +0000 (06:22 +0000)]
more dirent usage. nix.

SVN revision: 54019

13 years agogrrr - dont reply on non-portable or abstracted info in dirent. eina
Carsten Haitzler [Sat, 30 Oct 2010 05:48:31 +0000 (05:48 +0000)]
grrr - dont reply on non-portable or abstracted info in dirent. eina
fixed.

SVN revision: 54016

13 years agomapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
Carsten Haitzler [Sat, 30 Oct 2010 04:01:09 +0000 (04:01 +0000)]
mapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
add test.

SVN revision: 54014

13 years agofix maintainer-clean and dist rules
Vincent Torri [Fri, 29 Oct 2010 20:53:44 +0000 (20:53 +0000)]
fix maintainer-clean and dist rules

SVN revision: 54012

13 years agoAdding Otavio to elm AUTHORS for recent contributions
Bruno Dilly [Fri, 29 Oct 2010 19:00:15 +0000 (19:00 +0000)]
Adding Otavio to elm AUTHORS for recent contributions

SVN revision: 54011

13 years agoAdding in test_toolbar one example of multiple state items.
Bruno Dilly [Fri, 29 Oct 2010 18:58:54 +0000 (18:58 +0000)]
Adding in test_toolbar one example of multiple state items.

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54010

13 years agoAdd functions to create states for elm_toolbar_items.
Bruno Dilly [Fri, 29 Oct 2010 18:57:55 +0000 (18:57 +0000)]
Add functions to create states for elm_toolbar_items.

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54009

13 years agoRemoving unecessary commented code
Bruno Dilly [Fri, 29 Oct 2010 18:56:19 +0000 (18:56 +0000)]
Removing unecessary commented code

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54008

13 years agoSend signal informing changes in icon state.
Bruno Dilly [Fri, 29 Oct 2010 18:42:01 +0000 (18:42 +0000)]
Send signal informing changes in icon state.

Inform that the item was disabled, highlighted or selected.
If a toolbar icon is an edje it can receive this signal and change the
icon image to a disabled image.

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54006

13 years agoPerform an animation when changing label/icon from a toolbar item.
Bruno Dilly [Fri, 29 Oct 2010 18:40:59 +0000 (18:40 +0000)]
Perform an animation when changing label/icon from a toolbar item.

When functions to change icon or labels are called a signal is sent to
edje that can perform an animation.

By: Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54005

13 years agoAnd let's not expose internal objects when setting signal callbacks on widgets.
Iván Briano [Fri, 29 Oct 2010 18:21:58 +0000 (18:21 +0000)]
And let's not expose internal objects when setting signal callbacks on widgets.

SVN revision: 54004

13 years agoFixing two buggers here:
Gustavo Lima Chaves [Fri, 29 Oct 2010 17:32:16 +0000 (17:32 +0000)]
Fixing two buggers here:
  - profile selection saving before we assure the dir is there
  - wrongly setting data dir at buffers

SVN revision: 54002

13 years agoAhh, the trailing whitespaces...
Gustavo Lima Chaves [Fri, 29 Oct 2010 17:32:06 +0000 (17:32 +0000)]
Ahh, the trailing whitespaces...

SVN revision: 54001

13 years agowarning--
Gustavo Lima Chaves [Fri, 29 Oct 2010 13:04:05 +0000 (13:04 +0000)]
warning--

SVN revision: 53989

13 years agoElementary profiles managing revamped. Most importantly:
Gustavo Lima Chaves [Thu, 28 Oct 2010 20:57:44 +0000 (20:57 +0000)]
Elementary profiles managing revamped. Most importantly:
 Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition

SVN revision: 53977

13 years agoI wonder how I managed to remove those before committing.
Iván Briano [Thu, 28 Oct 2010 17:46:47 +0000 (17:46 +0000)]
I wonder how I managed to remove those before committing.

SVN revision: 53972

13 years agoLittle titlebar pre-made layout goes in.
Iván Briano [Thu, 28 Oct 2010 17:23:53 +0000 (17:23 +0000)]
Little titlebar pre-made layout goes in.

This comes from a contributed widget from Samsung that was basically reproducing the code of elm_layout, so instead it was turned into a simple pre-made layout (could get more love, but once again I'm no artist).
In order to make its use simpler, previous commits introduced the signal hooks for elm_layout, text_set and some macros to make it easier to set icon/end and text for layouts like this one.

Also uglified a bit the test for Layout in order to show it working, but I intend to get it fixed again soon. Unless discomfitor wants to practice his Edje skills with it... just saying.

SVN revision: 53971

13 years agoAnd as Bruno Dilly pointed out, we already have hooks for these things, so better...
Iván Briano [Thu, 28 Oct 2010 15:54:35 +0000 (15:54 +0000)]
And as Bruno Dilly pointed out, we already have hooks for these things, so better use them.

SVN revision: 53963

13 years agoWrap the signal functions in the layout and use them in the little macros for setting...
Iván Briano [Thu, 28 Oct 2010 13:54:57 +0000 (13:54 +0000)]
Wrap the signal functions in the layout and use them in the little macros for setting icons

SVN revision: 53958

13 years agoExplicit the correct return value type
Tiago Rezende Campos Falcao [Thu, 28 Oct 2010 13:38:59 +0000 (13:38 +0000)]
Explicit the correct return value type

SVN revision: 53957

13 years agoAdd missing object type checkers.
Tiago Rezende Campos Falcao [Thu, 28 Oct 2010 13:38:55 +0000 (13:38 +0000)]
Add missing object type checkers.

The test test_decl now warn about missing API_ENTRY or
ELM_CHECK_WIDTYPE.

SVN revision: 53956

13 years ago1. need calls return runtime failure if elm doesnt have the feature.
Carsten Haitzler [Thu, 28 Oct 2010 04:13:09 +0000 (04:13 +0000)]
1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.

SVN revision: 53945

13 years agocontent_get for layout and some macros to make it easier to set
Iván Briano [Wed, 27 Oct 2010 17:41:25 +0000 (17:41 +0000)]
content_get for layout and some macros to make it easier to set
things in common layouts

SVN revision: 53929

13 years agoElm_Transit
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 17:02:02 +0000 (17:02 +0000)]
Elm_Transit

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Transit is designed to set the various effects for the Evas_Object
such like translation, rotation, etc. For using Effects, Create
transit and insert effects which are interesting.

Once effects are inserted into transit, transit will manage those
effects (ex: deleting).

SVN revision: 53927

13 years agoRevert. Remove INVALID enum option
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 17:01:58 +0000 (17:01 +0000)]
Revert. Remove INVALID enum option

SVN revision: 53926

13 years agoAdding text_set/get to elm_layout.
Iván Briano [Wed, 27 Oct 2010 16:58:35 +0000 (16:58 +0000)]
Adding text_set/get to elm_layout.

SVN revision: 53925

13 years agolist, genlist and gengrid, if no item is selected
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:57 +0000 (14:38 +0000)]
list, genlist and gengrid, if no item is selected

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

If no item is selected, pressing up it will select the first and down
will select the last item

SVN revision: 53924

13 years agoDeselect all items when press Esc
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:54 +0000 (14:38 +0000)]
Deselect all items when press Esc

Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

list, genlist, gengrid: Using _deselect_all_item

SVN revision: 53923

13 years agoSetter isn't const
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:51 +0000 (14:38 +0000)]
Setter isn't const

SVN revision: 53922

13 years agoAdd icon unsetter to elm_fileselector_entry
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:48 +0000 (14:38 +0000)]
Add icon unsetter to elm_fileselector_entry

SVN revision: 53921

13 years agoAdd missing getters to elm_button
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:45 +0000 (14:38 +0000)]
Add missing getters to elm_button

SVN revision: 53920

13 years agoIncluding EAPI method to .h
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:43 +0000 (14:38 +0000)]
Including EAPI method to .h

SVN revision: 53919

13 years agoCheckers for API consistence
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:40 +0000 (14:38 +0000)]
Checkers for API consistence

SVN revision: 53918

13 years agoSetters/Getters fix 1.
Tiago Rezende Campos Falcao [Wed, 27 Oct 2010 14:38:37 +0000 (14:38 +0000)]
Setters/Getters fix 1.

Setters can't receive const pointers.
All setter need corresponding getter.

In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.

SVN revision: 53917

13 years agoSmall fixes on elm toolbar docs
Bruno Dilly [Tue, 26 Oct 2010 13:15:51 +0000 (13:15 +0000)]
Small fixes on elm toolbar docs

SVN revision: 53899

13 years agoAdd toolbar item data getter / setter
Bruno Dilly [Tue, 26 Oct 2010 13:15:32 +0000 (13:15 +0000)]
Add toolbar item data getter / setter

Useful for bindings

SVN revision: 53898

13 years agoMatch Toolbar_Shrink_Mode enum changes.
Rafael Fonseca [Tue, 26 Oct 2010 12:16:25 +0000 (12:16 +0000)]
Match Toolbar_Shrink_Mode enum changes.

SVN revision: 53897

13 years agoAdd a new shrink mode to elm_toolbar: SHRINK_HIDE
Bruno Dilly [Tue, 26 Oct 2010 10:30:45 +0000 (10:30 +0000)]
Add a new shrink mode to elm_toolbar: SHRINK_HIDE

And fix the docs related to shrink mode:
SHRINK_HIDE -> hide excess items
SHRINK_NONE -> set toolbar minimun size to fit all the items

SVN revision: 53895

13 years agoChange toolbar API for consistency with other widgets
Bruno Dilly [Tue, 26 Oct 2010 10:29:24 +0000 (10:29 +0000)]
Change toolbar API for consistency with other widgets

BIG FAT WARNING: lots of changes on toolbar API

Trying to get a lib with easy to use API, I'm changing toolbar API
to be consistent with genlist / gengrid widgets and to be more concise.

Functions select_next, select_first, select_last, unselect, unselect_all
get all are gone.
You can do this calling a combination of the others functions.

This commit changes toolbar to use inlist, and previous items can be
get.

So now we have:
Elm_Toolbar_Item *elm_toolbar_first_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_last_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_item_next_get(const Elm_Toolbar_Item *it)
Elm_Toolbar_Item *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *it)
Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item)
void elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected)
Elm_Toolbar_Item *elm_toolbar_selected_item_get(const Evas_Object *obj)

With these functions you can iterate over the items list getting /
selecting the item you need.

Another big change is that elm_toolbar_item_add is gone. Now you can
insert items in the position you want, with the functions append,
prepend, insert after, insert before (a relative item).

If you don't like any changes or have a case of use for something
that should be different, please ping me.

At last, includes ELM_TOOLBAR_ITEM_CHECK_OR_RETURN on EAPI that
receives items.

SVN revision: 53894

13 years agoelm_cnp_helper: Allow HTML->Text conversions on paste.
Brett Nash [Tue, 26 Oct 2010 06:10:46 +0000 (06:10 +0000)]
elm_cnp_helper: Allow HTML->Text conversions on paste.

SVN revision: 53886

13 years agoLittle changes at elm profile functios + some new free()-ing helpers.
Gustavo Lima Chaves [Mon, 25 Oct 2010 17:36:07 +0000 (17:36 +0000)]
Little changes at elm profile functios + some new free()-ing helpers.

SVN revision: 53878

13 years agoelementary-config: Fix toolbar.
Leandro Pereira [Mon, 25 Oct 2010 16:17:24 +0000 (16:17 +0000)]
elementary-config: Fix toolbar.

SVN revision: 53875

13 years agoGetters should received const pointers
Tiago Rezende Campos Falcao [Mon, 25 Oct 2010 14:34:22 +0000 (14:34 +0000)]
Getters should received const pointers

Only two getters continue without const:
* elm_theme_get
Need name review, or comportament.

* elm_toolbar_item_menu_get
Need comportament review, but will be fixed by bdilly.

SVN revision: 53874