Commit Graph

1610 Commits

Author SHA1 Message Date
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
Carsten Haitzler d552f7cc56 display_only... dont allow user to select too.. ala disabled.
SVN revision: 53438
2010-10-15 08:36:57 +00:00
Carsten Haitzler ee860fa225 handle resize object set better if resize obj already a child of
another elm widget



SVN revision: 53435
2010-10-15 06:04:33 +00:00
Leandro Pereira c563ef2370 [Elementary] Make it possible to lookup icons from Freedesktop in Elm_Icon.
With these changes, Elm_Icon will also look up icons from the chosen
Freedesktop (fd.o) icon theme.  Since this might incur in some performance
penalties if you're sure only theme icons will be used, icon lookup order
may be specified with the elm_icon_order_lookup_set() function call; using
the lookup parameter as follows:

 - ELM_ICON_ORDER_FDO_THEME (default) will look up first fd.o, then the theme;
 - ELM_ICON_ORDER_THEME_FDO will look up first the theme, then fd.o;
 - ELM_ICON_ORDER_FDO will look up only fd.o; and
 - ELM_ICON_ORDER_THEME (old behaviour) will lookup only from the theme.

Elm_Icon will also try to use a different resolution image if the widget is
resized and the image source is fd.o.

fd.o support requires Efreet, but it should work nicely (falling back to the
old behaviour) if it isn't available.

SVN revision: 53433
2010-10-14 22:21:43 +00:00
Leandro Pereira 8c518f2dae [Elementary] Add getter for the icon string.
SVN revision: 53432
2010-10-14 22:21:40 +00:00
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Gustavo Sverzut Barbieri 475318f728 allow theme of fileselector_entry components.
Right now I'm abusing style, setting fileselector_entry/$style on
items, however if it's not found the fallback will be 'default' and
not 'fileselector_entry/default' as it should be.

I'm wondering if this should be implemented in elm_theme.c by
replacing the last '/$component' with '/default', the remove it and
try again, like:

{{{
        input = a/b/c
        pass1 = a/b/default
        pass2 = a/b
        pass3 = a/default
        pass4 = a
        pass5 = default
}}}



SVN revision: 53423
2010-10-14 18:24:24 +00:00
Christopher Michael a1128c6d91 Make elm build again (remove duplicated function declarations which
had different params) ... come on people, at least build your code
before committing



SVN revision: 53422
2010-10-14 18:18:34 +00:00