Commit Graph

84 Commits

Author SHA1 Message Date
Mike Blumenkrantz ef7cd7af5f prevent attempts to remove negative number ilist items
SVN revision: 78507
2012-10-26 08:10:08 +00:00
Christopher Michael 13615eaba8 E: Fix up ilist_custom_edje set to properly set theme for scrollframe
also.



SVN revision: 76815
2012-09-18 12:52:38 +00:00
Mike Blumenkrantz ce2186f31c ilist widget custom edje setting thingy also sets scrollframe theme
SVN revision: 76799
2012-09-18 11:26:36 +00:00
Mike Blumenkrantz 31052004d0 add method for setting a custom theme for ilist
SVN revision: 76797
2012-09-18 10:28:02 +00:00
Mike Blumenkrantz 0a66fa4671 ilist_items_get() now returns a const list
SVN revision: 76524
2012-09-12 13:03:04 +00:00
Mike Blumenkrantz ff67718c15 need to return a value in functions that return values!
SVN revision: 76370
2012-09-10 07:58:58 +00:00
Carsten Haitzler c7753e5e76 protect against null wd's in ilist.
SVN revision: 76355
2012-09-09 12:43:38 +00:00
Mike Blumenkrantz 19b2f51f80 stringshare ilist widget item labels
SVN revision: 76232
2012-09-06 09:22:38 +00:00
Mike Blumenkrantz fe2cfa7e0c ilist now supports disabled state, though it does not indicate this visually yet
SVN revision: 75007
2012-08-08 10:27:51 +00:00
Mike Blumenkrantz 55294aab4a flesh out ilist header api with prepend and relative inserts
SVN revision: 74384
2012-07-25 10:39:16 +00:00
Mike Blumenkrantz 3e160751e3 fix ilist typebuf to reposition on resize
SVN revision: 73915
2012-07-16 09:55:36 +00:00
Mike Blumenkrantz 0fe8872ab7 add mechanism for getting the list of selected ilist items
SVN revision: 73143
2012-07-02 09:56:47 +00:00
Mike Blumenkrantz 329a7b1d03 fix ilist positional scrolling to actually show the item that is supposed to be shown
ticket #570


SVN revision: 72945
2012-06-27 13:16:13 +00:00
Mike Blumenkrantz e595b1da72 when prepending...prepend
SVN revision: 72882
2012-06-26 12:58:25 +00:00
Mike Blumenkrantz 7058a7d2dc formatting
SVN revision: 72868
2012-06-26 10:18:50 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 9464f17dd1 warnings--
SVN revision: 63829
2011-10-05 09:37:59 +00:00
Hannes Janetzek dc4b226de9 e17: use timer instead of idler again
SVN revision: 58699
2011-04-16 12:22:57 +00:00
Hannes Janetzek e4d3144cac e17: e_widget_ilist: do reveal(show) item in next idler. if other commands were in queue list geomentry is not up to date anymore
fixes: showing the right area with e_widget_ilist_show after items were removed


SVN revision: 57792
2011-03-16 09:34:46 +00:00
Hannes Janetzek acfadd535b e17: e_widget_ilist: avoid too much idling
SVN revision: 57791
2011-03-16 09:07:01 +00:00
Hannes Janetzek a1ad9a0f81 e17: e_widget_ilist make queue command codes being an enum
SVN revision: 57789
2011-03-16 08:25:40 +00:00
Hannes Janetzek 37781161a2 e17: e_widget_ilist return correct list count. only count queue commands that add something
SVN revision: 57788
2011-03-16 08:22:09 +00:00
Hannes Janetzek 75388beeb5 e17: e_widget_ilist:
- fix return e_widget_ilist_count: return listcnt + queue
- dont add artificial upadte delay, use idler.


SVN revision: 57755
2011-03-14 23:43:16 +00:00
Christopher Michael f35b6dfbc7 Fix Ticket # 568: Interrogating contents of ilist may return incorrect
response.

Check if the we still have not processed the queue, if so return the
que list count (as this is the number of items we are adding anyway).
If the queue has been processed already, then return the normal
e_ilist_count.



SVN revision: 51866
2010-09-03 17:54:01 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Davide Andreoli 233042686a Add missed func: e_widget_ilist_selected_data_get(*obj)
SVN revision: 48986
2010-05-18 21:37:05 +00:00
Christopher Michael 125ffd9112 Function to return the 'selected' items value.
SVN revision: 47857
2010-04-09 00:24:33 +00:00
Christopher Michael 6c858bb3b0 Another wrapper function to return an ilist items value using only the index
of selected item.



SVN revision: 47856
2010-04-09 00:08:38 +00:00
Christopher Michael c0bb6d2148 Wrapper functions for getting an items 'value'. To be used in new Shelf
Contents dialog.



SVN revision: 47844
2010-04-08 20:07:11 +00:00
Christopher Michael 4eefa59387 Use Eina_Bool for multi-select of ilist.
Fix formatting issues in some other files.



SVN revision: 47573
2010-03-30 01:05:56 +00:00
Gustavo Sverzut Barbieri 073a946433 new, single list module loader dialog.
This dialog was reworked to have one single list instead of two. This
makes the internals way simpler and also fits small screens.

Extra benefit is that we don't need to reload the list, so it's
flicker-free and you don't loose context. Of course it will save some
cpu cycles not having to do these list fills over and over again.

the ilist had to be changed to include an "end" object, in the default
theme it is at the right. It will use a part named
e/widget/ilist/toggle_end to present the selected state. (The
favorites/heart icon was choosen because it is red and thus easily
visible in both black and white background -- selected/unselected).



SVN revision: 46813
2010-03-03 04:10:04 +00:00
Sebastian Dransfeld c3a71f394d make clang happy
SVN revision: 45184
2010-01-15 12:01:52 +00:00
Christopher Michael 3e1c0d622a Fix API Inconsistency:
e_ilist_min_size_* to e_ilist_size_min_*



SVN revision: 42163
2009-09-01 16:39:10 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Christopher Michael e79f4205ea Add cast to char ** for wd->value to cleanup compiler warning.
SVN revision: 41440
2009-07-19 20:09:38 +00:00
Christopher Michael 590137f924 Fix up some formatting
SVN revision: 39499
2009-03-15 19:26:09 +00:00
Cedric BAIL c979b3f9d5 * e_widget_ilist_add now expect a stringshare.
SVN revision: 39447
2009-03-11 15:13:42 +00:00
Cedric BAIL 72d23b4b0c * e_widget_ilist.c: Ok, this is a quick fix (disable queue for now). A better fix would
be to propagate the delete operation to e_ilist.c and mark the selected entry to be
	deleted and update code listing selected item to not return to be deleted item.

	NOTE: Is it really usefull ? Doesn't evas/edje delay the destruction of Evas_Object anyway ?



SVN revision: 39445
2009-03-11 13:16:01 +00:00
Jonathan Atton 2ce3410d57 Fixed a bug, the callback was add 2 times in the list -> segfault when the list was destroy
SVN revision: 39061
2009-02-17 17:40:24 +00:00
Jonathan Atton 06e0157912 revert relative and use_relative
SVN revision: 39050
2009-02-16 22:32:34 +00:00
Carsten Haitzler 7576e5a311 move ilist widget filling to a idler... defers a chunk of work to idle time
over a period of time keeping e interactive and usable.



SVN revision: 38836
2009-01-29 06:29:36 +00:00
Carsten Haitzler 098b1c50bf add next/prev app buttons, fix slipwin to expand all the way and have window
icons. remvoe junk code too.



SVN revision: 37352
2008-10-31 06:31:42 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Christopher Michael 5d0868e9ed Reduce some 2 line variable checks to single line.
Fix some formatting & remove whitespace.
In some instances, check if creation of widget_data was succesful before
continuing with the rest of the function.


SVN revision: 34522
2008-05-10 07:44:01 +00:00
Christopher Michael 5b8a3e7555 Better modules config dialog. Can now multi-select several modules to
enable/disable at one time. Added some APIs to e_widget_ilist to help with
this.


SVN revision: 30832
2007-07-15 23:39:28 +00:00
Christopher Michael dc7f614937 Give menu apps dialogs (favs, ibar, etc, etc) ability to move items up/down
in the list. Allows user to "customize" their order in the menus, as per
ManoWarrior feature request.

Added some API to ilist widget to help with this. iList can now do
append_relative, prepend, and prepend_relative.


SVN revision: 30701
2007-07-10 11:15:34 +00:00
rephorm aa355036c4 when going back to categories list, scroll to the category we were just in
get rid of some warnings


SVN revision: 30269
2007-06-07 03:49:09 +00:00
rephorm 9c31d7806d New app selection dialog for ibar/favorites/etc.
Desktops are grouped by Category instead of using the applications menu.


SVN revision: 30265
2007-06-07 01:09:24 +00:00