Commit Graph

53 Commits

Author SHA1 Message Date
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
Carsten Haitzler cb12aef97c ilist patches from Laurent Ghigonis <ooookiwi@gmail.com>
SVN revision: 29958
2007-05-12 02:43:13 +00:00
kiwi 83d9ac06f5 change the functions order to make it more readable
SVN revision: 29928
2007-05-09 19:07:58 +00:00
Stafford Mitchell Horne 922208c066 Overhaul for font configuration (hope people like it)
* Added Preview for font
 * Basic is really basic (sets up all classes in one go)
 * Ability to use font scaling (Normal, Smal, Big)


SVN revision: 29836
2007-05-03 23:19:40 +00:00
Christopher Michael 809c0ceffa Minor formatting fix with parens.
SVN revision: 29803
2007-05-02 17:16:08 +00:00
kiwi 2d3bc291bc fix e_widget_ilist_unselect segfault on null ilist **value
SVN revision: 29785
2007-05-01 02:02:59 +00:00
Stafford Mitchell Horne cca951359d Working on font selector:
* Changed basic config so we can easily select Font/Style
  * Advanced is broken (Will be replaced)


SVN revision: 29369
2007-04-05 11:59:10 +00:00
Christopher Michael c105660284 Fix case where nothing is selected in the list, so disable some controls.
SVN revision: 27878
2007-01-09 02:29:51 +00:00
Christopher Michael 332f1bc2ce Rework of the ilist widget.
- Added ability to optionally do multi-select and range-select.
   - Update Font Config Dialog to allow multi-select & setting of fonts in batch.

No changes should be necessary for existing apps/dialogs that use ilist. If
you would like to implement multi-select in something, have a look at the
font config dialog for usage.


SVN revision: 27875
2007-01-08 19:23:21 +00:00
Sebastian Dransfeld b16d82d69c Return on error.
SVN revision: 27762
2007-01-03 17:02:16 +00:00
Sebastian Dransfeld 0e38a25ea2 Use E_NEW and return on error.
SVN revision: 27761
2007-01-03 16:59:56 +00:00
Carsten Haitzler ef11f7a10d add freeze/thaw for ilist - makes the mime config dialog much better :)
SVN revision: 27235
2006-11-27 14:23:07 +00:00
Christopher Michael b36b7babb1 Send proper unfocus signal to ilist when it loses focus.
This fixes focus issue in Font Config Dialog.


SVN revision: 27227
2006-11-27 10:33:03 +00:00
Carsten Haitzler 6dccf5b119 double click on open - with items in ilist or fm2 list and e will auto-open
SVN revision: 26818
2006-10-28 03:53:22 +00:00
Carsten Haitzler 34d6645d66 lots of freaky stuff.
1. cleaned up actions for restart and exit
2. made main menu cleaner in just using the actions
3. added ilits unselect calls for ilist smart and widget
4. patch for cpufreq to set all cpu clocks
5. fix battery module to handle broken acpi impl's that don't report drain rate
6. add e_sys subsystem - for executing system sensitive stuff like halt, reboot
   suspend, hibernate etc. this also covers exit, restart and logout. logout
   is currently dormant and just an action - not bound or in a menu. not
   complete anyway (no code for it). halt and reboot should probably use
   logout logic to shut down apps - i will recycle it. i added a suid root
   binary to do the actions - uses a system config (default one supplied that
   is secure - root will need to modify it to allow things).
7. fixed suid install hook for cpufreq
8. added sysconf dir to build for sys config file.
9. pants on


SVN revision: 25395
2006-09-03 08:51:32 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid d8edc68829 --cast
++const


SVN revision: 25006
2006-08-21 16:13:46 +00:00
Christopher Michael 6b49e365a4 Add a function to e_ilist and e_widget_ilist to return if a particular item
is a header or not. Allows traversing ilist items in a loop while
testing if the item is a header, and potentially skipping it.


SVN revision: 23286
2006-06-08 12:48:36 +00:00
Carsten Haitzler 36dad3c9f5 and make module config dialog work again :)
SVN revision: 23046
2006-06-01 06:57:32 +00:00
Stafford Mitchell Horne 27fcbce58a Code cleanups for font config dialog
* Move sndev's code into ilist so it can be reused


SVN revision: 22075
2006-04-13 00:01:15 +00:00
Stafford Mitchell Horne 5828935a95 Add font fallbacks configuration to font config dialog
* Add arrow icons to default theme
 * Add api to ilist for manipulating list labels (for moving)
 * TODO: need to split list manipulation code out to its own widget but
   what should the diget be called? e_widget_editable_list?


SVN revision: 21806
2006-04-04 14:00:19 +00:00
Stafford Mitchell Horne afdd5b0686 Add Font Configuration Dialog, and...
* Added some e_widget api for handy things (Toggling checks, Setting Entry Text...)
 * Fixed some compiler warnings
 * TODO : Font hinting and this new font dialog should be merged, Also, need
   To add font fallbacks configuration to this dialog


SVN revision: 21655
2006-04-01 09:24:56 +00:00
Carsten Haitzler f96980dbe8 add ilist headers - much easier to organise things now
SVN revision: 21513
2006-03-27 14:46:26 +00:00
Christopher Michael f5c6d2b012 Don't calculate size on every append, just calculate when e_widget_ilist_go
is called. This speeds up widget_ilist drastically, especially when adding a
lot of items and does not appear to have any adverse effects. Tested with
all code that is using e_widget_ilist.


SVN revision: 21378
2006-03-18 17:00:27 +00:00
Carsten Haitzler a1da8b021e better ilist behavior - from ilogicit
SVN revision: 20951
2006-03-03 10:05:00 +00:00
Christopher Michael 36aa7e2d70 Add some functions to e_ilist and e_widget_ilist.c . Fix commented
unused variables (just removed them). Added Cursor Settings and Startup
Settings dialogue. Removed General Settings dialog.


SVN revision: 20020
2006-01-25 04:06:51 +00:00
David Walter Seikel c220a4beba Devilhorns wanted a count function added while I was playing in this.
And formatting.


SVN revision: 19998
2006-01-23 18:47:10 +00:00
Carsten Haitzler 1a51c5c283 ilist jumps to the selected spot now with the ilist widget (keyboard nav is
sane again)


SVN revision: 19938
2006-01-21 10:06:13 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael 10255a0904 Remove unused variables
SVN revision: 19378
2005-12-29 15:38:08 +00:00
Christopher Michael f33c45d144 Rename e_ilist_select_* functions to be e_ilist_selected_* as this seems
more intuitive.
Update e_int_config_theme.c for this change.
Update e_int_config_background.c for this change.
Update e_int_border_border.c for this change.

Added e_ilist_remove_num to remove entries by number.
Added e_widget_ilist_remove_num.

Added e_ilist_remove_label to remove entries by label.
Added e_widget_ilist_remove_label.

Added e_ilist_selected_label_get to retrieve the selected items label.
Added e_widget_ilist_selected_label_get.


SVN revision: 19245
2005-12-22 21:08:34 +00:00
Carsten Haitzler 44a5e0fb3e working on ma configuration panel biatches
SVN revision: 18431
2005-11-12 05:27:58 +00:00