Commit Graph

1617 Commits

Author SHA1 Message Date
Gustavo Lima Chaves c530774aaf Hooking elm_hover into signal_{emit,callback_add,callback_del}().
SVN revision: 53643
2010-10-19 20:21:03 +00:00
Gustavo Lima Chaves 770b0df365 New hover direction: "smart".
This injects some inteligence into hovers which can then be shared
between other composed hover widgets. Also introducing four new
swallow slots one can place content at: the diagonal corners. Just
gotta fill all the styles with those, but no time right now.



SVN revision: 53642
2010-10-19 20:20:28 +00:00
Gustavo Lima Chaves 442cb3b9da Introducing item_disabled_set() for elm_lists, too.
I'm not implementing the default list themes WRT to it right now,
though, I get back to it soon (just implementing it for a new widget).



SVN revision: 53641
2010-10-19 20:19:57 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Bruno Dilly 0121df333c Clean test_map, test_multi and test_photocam files
Remove commented lines, extra lines and spaces.


SVN revision: 53638
2010-10-19 18:26:28 +00:00
Bruno Dilly b74069f814 Fix some Wextra complains on elm edje-externals
SVN revision: 53637
2010-10-19 18:25:57 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Bruno Dilly a109dce782 Fix some wextra complains on elm lib
SVN revision: 53635
2010-10-19 18:24:27 +00:00
Tiago Rezende Campos Falcao 6e9551b087 Review Elm_fileselector_button.
Removed the selected_{get,set} because is the same of path_{get,set}.

Now it uses elm_button like hoversel.

SVN revision: 53622
2010-10-19 14:17:14 +00:00
Tiago Rezende Campos Falcao 0e436c7431 Clean hoversel_add
SVN revision: 53621
2010-10-19 14:17:11 +00:00
Tiago Rezende Campos Falcao 97cba4930e Review Els_Icon
Adding getters (with const args). And replace tests if is edje object by
pre-existent bool variable.

SVN revision: 53620
2010-10-19 14:17:08 +00:00
Tiago Rezende Campos Falcao 75120e2617 Removed unused variables
SVN revision: 53619
2010-10-19 14:17:06 +00:00
Tiago Rezende Campos Falcao b0694a1817 Include docs to focus cycle.
SVN revision: 53618
2010-10-19 14:17:03 +00:00
Iván Briano 2cf8a9766d We do not use this code, so we don't need to keep it there commented and all.
SVN revision: 53599
2010-10-19 12:26:44 +00:00
Bruno Dilly acaaedb9b7 Use eina_stringshare_strlen on diskpicker
Spotted by k-s



SVN revision: 53594
2010-10-19 11:11:38 +00:00
Daniel Juyung Seo a72a57c801 Fix a typo in title
Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>



SVN revision: 53593
2010-10-19 11:02:55 +00:00
Bruno Dilly f3fa723f2d elm_diskpicker: save (list_len - 3) strlen calls
demarchi-- for reducing performance just to solve a comparison between
signed and unsigned.



SVN revision: 53591
2010-10-19 10:48:11 +00:00
Brian Wang 85faa571ef Delete swipe timer when genlist is cleared
The swipe cancel timer isn't deleted in elm_genlist_clear right now. That will
cause invalid access later on.

Patch by: Brian Wang <brian.wang.0721@gmail.com>



SVN revision: 53589
2010-10-19 02:23:58 +00:00
Lucas De Marchi 4b7e285cf8 warnings--
* Remove warnings caused by comparison between signed and unsigned values
 * Remove a comparison of unsigned expression < 0 that is always false



SVN revision: 53588
2010-10-19 02:17:37 +00:00
Bruno Dilly 9e09bbc80a Fixes for clang warnings
SVN revision: 53576
2010-10-18 18:15:59 +00:00
Iván Briano 0016872d45 Kill double declaration.
Patch by Fidencio again, after I stupidly forgot to remove it in the first one.


SVN revision: 53574
2010-10-18 17:11:18 +00:00
Iván Briano 2235e7f37d Properly check for Smart_Data of subobject before using.
Modified patch by Fabiano Fidencio


SVN revision: 53573
2010-10-18 17:01:11 +00:00
Brett Nash 9b9dc594da elm_dnd: Add HTML encoding support: Callback only
SVN revision: 53559
2010-10-18 04:49:00 +00:00
Brett Nash d85a144f9b elm_cnp: Save the callback data.
SVN revision: 53558
2010-10-18 04:48:54 +00:00
Brett Nash 6bb0365d9c Add optional drop callback to elm_selection get.
SVN revision: 53557
2010-10-18 04:48:49 +00:00
Brett Nash 580c2797bb elm_cnp: Elm Drop Data is now Elm Selection data.
SVN revision: 53556
2010-10-18 04:48:44 +00:00
Brett Nash bf0fce54c8 elm_cnp: Whitespace Cleanup
SVN revision: 53555
2010-10-18 04:48:38 +00:00
Davide Andreoli 0fea7241c8 2 whitespace
SVN revision: 53554
2010-10-18 01:17:19 +00:00
Davide Andreoli 103aff0a96 tab--
SVN revision: 53553
2010-10-18 01:15:34 +00:00
Davide Andreoli a186c3a5ce Fix gengrid edc indentation: name on the same line & tab--
SVN revision: 53548
2010-10-17 20:29:37 +00:00
Carsten Haitzler 0a8466f4e8 come on guys... lets at least be consistent and use EINA_TRUE eh?
SVN revision: 53504
2010-10-17 04:25:30 +00:00
Bruno Dilly 4c76631b4b Elementary Magnetslider, a new switcher with "magnet" property
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53503
2010-10-17 01:44:57 +00:00
Christopher Michael 22e8a30e9b Fix elm_bg overlay issue:
The problem was that when you toggle show/hide overlay in
ELM_BG_CENTER mode, the 'image' itself would not retain it's proper
size (it would fill the whole swallow and thus not be 'centered'
anymore). Solved by setting hint_min/max on the image when in centered
mode.

NB: Raster this fixes that elm_bg issue I mentioned the other day so
all is well now ;)



SVN revision: 53476
2010-10-15 23:03:56 +00:00
Leandro Pereira 0a32d8c87c [Elementary] Code cleanup of test_list.c on previous commit was wrong.
SVN revision: 53475
2010-10-15 22:52:27 +00:00
Leandro Pereira c245c6483f [Elementary] Code cleanups, as suggested by clang static analyzer.
SVN revision: 53472
2010-10-15 21:26:11 +00:00
Leandro Pereira 7a2f2df54f [Elementary] Elm_Menu separator items tweaks.
Do not allow adding more than one separator in a row, or adding a separator
as the first element of the menu (separators are for separating stuff, not
to decorate).

SVN revision: 53466
2010-10-15 19:08:45 +00:00
Tiago Rezende Campos Falcao 1a2519d253 Remove unused variable
SVN revision: 53461
2010-10-15 17:28:55 +00:00
Tiago Rezende Campos Falcao bf880009a3 Fileselector entry isn't focusable.
Remove wrong _on_focus_hook, and add the focus_next_get to give focus
to their children.

SVN revision: 53460
2010-10-15 17:28:49 +00:00
Tiago Rezende Campos Falcao 82a28dafb9 Better focus next get to elm panes.
The previous have too much code.

SVN revision: 53459
2010-10-15 17:28:33 +00:00
Iván Briano fbf5ae5368 No need to go through the list to get the top object when we have it already.
Patch by Alex Grilo


SVN revision: 53457
2010-10-15 16:43:42 +00:00
Christopher Michael b135f5ae61 Do variable checks correctly (we cannot get widget data if Item does
not exist, so check for a valid Item first).



SVN revision: 53452
2010-10-15 13:41:56 +00:00
Christopher Michael de99dccf26 No need to create an elm_icon if widget_data is NULL.
If creating the elm_widget_item fails, delete the created elm_icon also.



SVN revision: 53451
2010-10-15 13:36:44 +00:00
Iván Briano 1e773cefcb These functions don't exist anymore.
SVN revision: 53449
2010-10-15 13:19:50 +00:00
Lucas De Marchi 473a59fbcd remove ugly chars
\t and trailing whitespaces, stay away from me



SVN revision: 53446
2010-10-15 11:51:15 +00:00
Lucas De Marchi 0b2b25cb81 formatting
SVN revision: 53444
2010-10-15 11:36:35 +00:00
Lucas De Marchi 7c0b627b5a remove trailing whitespaces
SVN revision: 53443
2010-10-15 11:34:22 +00:00
Lucas De Marchi d52377931c swipe event for the elm_list
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53442
2010-10-15 11:25:02 +00:00
Lucas De Marchi 4261676ee0 swipe event for the elm_genlist
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53441
2010-10-15 11:24:46 +00:00
Carsten Haitzler 3dca273fc1 never mind- brainfart!
SVN revision: 53440
2010-10-15 10:47:17 +00:00
Christopher Michael 340d0f2a22 Not sure what happened here, but elm_widget_display_only_get does not
exist. Comment out function call until this gets sorted, so @ least
elm will build. Did nobody compile this before commit again ??? :(



SVN revision: 53439
2010-10-15 10:32:29 +00:00