Commit Graph

159 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri b7e7f44bc9 better sizing
SVN revision: 46815
2010-03-03 04:42:22 +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
Christopher Michael dcd6a62380 Don't set a min width that is too large. Just use min width returned from
the function. This makes module dialog work nicely w/ smaller resolutions.



SVN revision: 46673
2010-03-01 00:57:06 +00:00
Christopher Michael 56178c136b Use e_scale when calculating window width/height.
SVN revision: 44907
2010-01-05 05:28:05 +00:00
Christopher Michael 46387d608c Remove wasted whitespace. Fix some formatting.
SVN revision: 44835
2009-12-31 22:45:34 +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
Chidambar Zinnoury 60244fba6c Try to use FDO icons as some modules (screensaver, for instance) use them.
SVN revision: 40363
2009-04-25 08:03:53 +00:00
Gustavo Sverzut Barbieri a16a2e3d73 config modules now have better size.
it will now fit into 640x480 and also will look better since
horizontal size will be a bit bigger.



SVN revision: 40178
2009-04-18 18:14:03 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 1101c58d9f more icons renamed
SVN revision: 39396
2009-03-06 19:17:12 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
Massimo Maiurana de865bea3a this way modules categories are really translated
SVN revision: 38763
2009-01-24 21:53:51 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Carsten Haitzler b273fe10db use settings insetad of configuration. shorter.
SVN revision: 37742
2008-11-22 08:42:54 +00:00
Sebastian Dransfeld 92ff3dab37 Fix callback for list sorting.
SVN revision: 37202
2008-10-27 07:33:21 +00:00
Sebastian Dransfeld ad2ffb8d7d Remove unused variables.
SVN revision: 37177
2008-10-26 20:50:21 +00:00
Sebastian Dransfeld 6dc64c5559 Correct callback for eina_hash_foreach.
SVN revision: 37169
2008-10-26 20:48:44 +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
Chidambar Zinnoury 3c52fef509 Sorry, forgot to cut some line at 80 chars and to remove some dead come prior to committing. Won't happen anymore.
SVN revision: 36791
2008-10-18 17:33:56 +00:00
Chidambar Zinnoury 38618af648 Some modifications to modules configuration:
- add icons to types;
- add support for dynamic types: if an unknown X-Enlightenment-ModuleType is encountered:
  - a new type is created,
  - its name is pretty printed (well, only first char is upper-cased),
  - check if enlightenment/name icon exists, and use it if so;
- when listing, search among all types and not only pre-defined ones.

This closes trac #98 reported by Thanatermesis.


SVN revision: 36780
2008-10-18 15:19:39 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Carsten Haitzler 5c27fc21a0 useless evas_list_free()'s
SVN revision: 35835
2008-09-05 02:12:41 +00:00
Christopher Michael e3e488a9b6 E_Ilist
- Remove tons of nasty whitespace.
       - Initialize some list vars to NULL before use.
       - Reduce some 2 line checks (x = data; if !x return) into single line.
       - When setting an ilist item to selectable via API,
         check that the item is not a header as these are not selectable
         currently.
       - Add some NBs for if/when headers do become selectable.

Modules Dialog:
       - Initialize some list vars to NULL before use.
       - Reduce some 2 line checks (x = data; if !x return) into single line.
       - When loading/unload module(s), attempt to reselect the next item in
         the list(s).

sshh...I wasn't here ;)


SVN revision: 34303
2008-04-18 06:23:21 +00:00
Christopher Michael f723e3499c Fix function protos & functions for recent Evas_Hash changes to remove
compiler warnings.
Fix some formatting in e_font.


SVN revision: 33719
2008-02-09 22:41:30 +00:00
Christopher Michael cfb3dc4c37 Remove commented lines.
SVN revision: 33313
2007-12-30 21:20:41 +00:00
Christopher Michael 5e502dd473 Move description area to be below both loaded & unloaded because
descriptions can be shown for either.


SVN revision: 33302
2007-12-30 19:01:33 +00:00
Christopher Michael 964fed717c Remove unused member from structure, it's really not needed.
SVN revision: 32364
2007-11-04 20:59:04 +00:00
Christopher Michael 8aa7076fba Much better modules dialog. Faster at listing, loading & unloading modules.
Separates modules into sorted categories.


SVN revision: 32314
2007-11-02 21:41:06 +00:00
Christopher Michael 4b2a61803a Modify dialog to sort modules into categories.
SVN revision: 32290
2007-11-02 07:00:17 +00:00
Sebastian Dransfeld 27a177e90e Remove unused variable.
SVN revision: 32264
2007-10-31 19:48:56 +00:00
Eric Schuele ca1a6dbec2 Make sure the module description falls back to unavailable when there is no selection. Plus a bunch of whitespace removal.
SVN revision: 32252
2007-10-31 14:58:29 +00:00
Carsten Haitzler 6840a4f977 boys and girls... animals and vegetables... pokemon and spatial anomolies
lend me your ears, for i come to break code, not to praise it!

module api getting kicked about. 1. modapi calls for config and about are gone
core module api call for about dialog gone (not needed anymore). use module
.desktops for about info in description. config should go via the config
panel calls to register stuff.... wherd... to... ma homieoes!


SVN revision: 32231
2007-10-31 12:21:02 +00:00
Christopher Michael 06bc9cbd83 Init some vars to NULL before use.
SVN revision: 32184
2007-10-28 07:43:46 +00:00
Christopher Michael 802ead030f Comment out the efreet_icon_path_find call as this function is slowing down
the modules dialog badly & the module(s) icon is defined in it's edj anyway.


SVN revision: 32183
2007-10-28 07:37:25 +00:00
Christopher Michael 65a164427a Fix tab order for right side (About/Config/Unload).
SVN revision: 32030
2007-10-09 17:57:50 +00:00
Eric Schuele 9d8ff9e4cf Need a few more pixels in height to accomodate 4 full lines of text without a scrollbar.
SVN revision: 31545
2007-08-27 03:05:10 +00:00
Sebastian Dransfeld 858bd33b23 formatting.
SVN revision: 31526
2007-08-26 14:59:58 +00:00
Christopher Michael 88d7be6331 Minor adjustment to the textblock so that the Module List resizes better,
not the textblock.


SVN revision: 31508
2007-08-26 04:35:27 +00:00
Eric Schuele 4d021bed3a Allow loaded modules to show their description as well.
SVN revision: 31504
2007-08-26 02:51:37 +00:00
Eric Schuele d5c17aebee Restrict min size.
SVN revision: 31501
2007-08-25 20:03:40 +00:00
Eric Schuele c003cf1fc0 Forgot some cleanup
SVN revision: 31499
2007-08-25 15:38:37 +00:00
Eric Schuele c497aa292a Add a description textblock to the dialog. This will display the Comment field from within the module.desktop file. In a multi-select situation it will show the comment of the last selected item.
SVN revision: 31498
2007-08-25 15:24:52 +00:00
Christopher Michael d0578eb3cb Lots of cleanup (Remove unused variables & functions)
SVN revision: 31468
2007-08-23 09:45:30 +00:00
Viktor Kojouharov c00058832b ecore api change
SVN revision: 31411
2007-08-19 20:45:36 +00:00
Christopher Michael c865286d76 Removed unused variable.
SVN revision: 31358
2007-08-17 08:41:23 +00:00
Christopher Michael 6b9fe07177 Rework the Modules dialog so that it loads a lot faster.
Uses hashes now instead of lists, and doesn't loop the widget_ilist items as
much.
Still need to add back in the dir monitors, but need some sleep :)


SVN revision: 31323
2007-08-15 13:51:00 +00:00
Carsten Haitzler a960cd070b move a chunk of stuff to use evas_smart_class_new() - evas_smart_new() will
probably die as it's already got legacy funcion methods for layer etc. stuff.


SVN revision: 31161
2007-08-04 13:12:43 +00:00
Sebastian Dransfeld 1fa98e667f Remove const qualifier.
SVN revision: 30990
2007-07-26 12:01:54 +00:00
Sebastian Dransfeld f89368f089 Update for changes in efreet.
SVN revision: 30987
2007-07-26 11:34:09 +00:00
Peter Wehrfritz a6553c1a58 *API BREAK* see the discussion in the mailing list. misc and e_modules will follow
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Sebastian Dransfeld ad3761c9bd Fix warnings.
SVN revision: 30963
2007-07-24 18:47:26 +00:00
Christopher Michael 99c32d45d0 Add missing return values for module update functions, thanks jeffdameth :)
SVN revision: 30842
2007-07-16 03:52:00 +00:00
Christopher Michael 63362fc303 Oops, don't need to reload the cfdata->modules list there.
SVN revision: 30840
2007-07-16 02:21:33 +00:00
Christopher Michael 8c20c3a819 Add an event for when a module gets loaded/unloaded. Event structure consits
of module name, and a bool for enabled/disabled. This allows the 'Shelf
Contents' dialog to be dynamically updated when a module loads/unloads.

Change Modules config dialog to use an event.


SVN revision: 30839
2007-07-16 02:15:37 +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 94da78d5af Better resizing on the modules config dialog.
SVN revision: 29580
2007-04-17 11:19:20 +00:00
titan c9ce73c95a Make her flow from left to right instead of top to bottom!
SVN revision: 29562
2007-04-17 05:12:25 +00:00
titan 62f89082a3 Rework the fonts config dialog.. this needed to be done. BAD. Also
shuffled the module dialog around so it looks much better.


SVN revision: 29561
2007-04-17 04:22:50 +00:00
Sebastian Dransfeld f072a0b62d Although modules use .desktop files, they are not E_Apps.
Use Efreet_Desktop directly on the .desktop files.


SVN revision: 28993
2007-03-24 09:27:40 +00:00
Sebastian Dransfeld 5c4c704dea #if 0 unused code.
SVN revision: 27598
2006-12-28 14:15:10 +00:00
Sebastian Dransfeld 941564999b Fix border icon drag.
e_app_* functions should have E_App arg first.


SVN revision: 27593
2006-12-28 13:43:30 +00:00
Christopher Michael 4753479d93 Use ilist freeze/thaw for modules config dialog.
SVN revision: 27249
2006-11-27 16:22:59 +00:00
David Walter Seikel 0973d242c0 Removed some more obsolete .eap code.
SVN revision: 26553
2006-10-12 14:27:52 +00:00
Carsten Haitzler 8678ebe026 only bring up config dialogs once - find the previous one and splash it up if
u bring it up again


SVN revision: 26415
2006-10-08 08:04:18 +00:00
David Walter Seikel fa8ac2f010 Bad devilhorns, er devil that is the horns, er spankies for Christopher.
SVN revision: 25382
2006-09-03 05:11:10 +00:00
Christopher Michael db8232fd52 Module Config Dialog is now more dynamic when open.
If a module gets installed/uninstalled, the list will update and reflect that.


SVN revision: 25373
2006-09-02 22:18:20 +00:00
David Walter Seikel 9b37ece08c module.desktop almost working, but e_module_dialog_show has issues with
it.  Probably something silly.


SVN revision: 25346
2006-09-02 11:58:53 +00:00
Carsten Haitzler a9e7340190 you're all goign to kill me :) but here goes - i broke the dialog and config
dialog api's - added name and class params so u can set the name and class -
so users can later use things like rememebr to rememebr where a dialog will
go for usability and convenience.


SVN revision: 24691
2006-08-14 15:22:46 +00:00
Christopher Michael 4bb372ad2d Give ability for config dialogs to set their border icon to the proper
config icon, rather than all having the E logo. Is proactive about setting
this: if it does not find or cannot set to that icon, it will fallback to
the E icon.

Change all config dialogs to support this.

If we have an internal border (config dialogs), disable the Create Icon/Edit
Icon menu items.


SVN revision: 23655
2006-07-02 16:19:51 +00:00
Christopher Michael ab2a2d01f1 No need to call save_queue on module unload, e_module_disable already calls
it.


SVN revision: 23539
2006-06-22 20:20:16 +00:00
Christopher Michael 1164201a9c Small bug fix in modules config dialog.
-When enabling a module, if e_module_enable fails, set proper state
and get out. Also, do not set cm->state = MOD_ENABLED unless the enable was
actually successful.
    -When disabling a module, only set state to UNLOADED if e_module_disable
worked.


SVN revision: 23538
2006-06-22 20:17:23 +00:00
sebastid a69bc7767c Clean up maximization, there is only one unmaximize function now. Think
this code can do more advanced stuff than the previous code.

The logic is that if the window is first maximized vertically, then
horizontally it should equal that both directions are maximized at once.

unmaximize can only be done in directions already maximized.

The code works, but hasn't been thorougly tested. Please report any errors
to me, and I will fix them!


SVN revision: 23254
2006-06-07 21:42:13 +00:00
Carsten Haitzler a8c4ea7208 enable/disable module works again :)
SVN revision: 23078
2006-06-02 05:15:03 +00:00
Carsten Haitzler 36dad3c9f5 and make module config dialog work again :)
SVN revision: 23046
2006-06-01 06:57:32 +00:00
Carsten Haitzler 3a2144cad0 nice little overhaul of module related stuff. moduels now finally RELY on
module.eap files being installed - and using the e_apps api to load them and
ask for a name. Also icon is expected to be in this file too and i have
removed the info func call from modules as well as config_menu, module menus,
and other cruft in moduel structs. this also means revving the module api
version and saving users from a "if i recompile it will work" thing. :)
moduels need serious updates, not just a recompile for this. your modules
WILL break.


SVN revision: 23045
2006-06-01 06:44:37 +00:00
Carsten Haitzler aaf05fd73e clean up #defines
SVN revision: 22516
2006-05-10 13:41:23 +00:00
Carsten Haitzler 42d88e55f6 TODO update - and remove nastiness in module config dialog
SVN revision: 22515
2006-05-10 13:38:25 +00:00
Carsten Haitzler c58b7235ba display bigger module icons
SVN revision: 22505
2006-05-10 08:38:44 +00:00
Carsten Haitzler 851d41c010 gadcons now can have their contents enabled/disabled depending on what is
providing it.


SVN revision: 22478
2006-05-07 09:49:37 +00:00
e-taro 4b607a4cfb remove these casts - don't need them now thanks to stafford's const char
* work


SVN revision: 20997
2006-03-04 07:58:17 +00:00
stffrdhrn 218717c8dc Clean up compile warnings:
* char * -> const char * for stringshare strings
 * char * -> const char * where needed in functions
 * remove unused vars in some places


SVN revision: 20912
2006-03-02 12:03:48 +00:00
Christopher Michael fa5438eae1 Slightly better modules config dialog. Added frames for module options. Fix potential segv that could have happened if a user clicked on Enable/Load/Unload without having a module selected. Supports Auto-Apply properly now
SVN revision: 20518
2006-02-16 11:24:36 +00:00
Christopher Michael 64bf666eaf Disable Auto-Apply for these dialogs.
SVN revision: 20495
2006-02-15 20:30:59 +00:00
Christopher Michael 11e57be6f9 Rework Modules Config Dialogue a bit. No need to click Apply button anymore. Just click the radios to enable/load/unload. Old apply code left but commented in case we want to revert. RFC on this :) -devilhorns
SVN revision: 20479
2006-02-15 15:47:51 +00:00
e-taro 7ac6b0b2af Fix a handful of minor leaks
Should e_module_find and e_module_new take a const char * instead?


SVN revision: 20292
2006-02-05 11:25:01 +00:00
David Walter Seikel e2cadbf7aa When changing API semantics, grep is your friend. My policy - if I break
it, I fix it.


SVN revision: 19968
2006-01-22 18:20:59 +00:00
Christopher Michael 4a9f8d3a9a Fixes for E_Config_Dialog_View
SVN revision: 19960
2006-01-22 14:17:43 +00:00
sebastid 3df39a04d0 Fix warnings.
Make a global typedef for Config Data, and let the different dialogs fill
the struct.


SVN revision: 19800
2006-01-14 16:05:35 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
Christopher Michael afa4cf4615 Minor fix for Configure and About buttons being disabled on apply when the modules state hasn't changed
SVN revision: 19552
2006-01-06 09:07:34 +00:00
Christopher Michael 6c5ccfcb3a Fix buggers in module config dialog. Configure/About buttons were not in sync with the modules state
SVN revision: 19537
2006-01-05 10:11:00 +00:00
Christopher Michael 0537c0117a Redesign Modules Configuration Dialogue.
Eliminates the BUG on TODO.
Radio Button Matrix:
       Enabled == (Loaded && Enabled)
       Loaded == (Loaded && !Enabled)
       Unloaded == (!Loaded && !Enabled)


SVN revision: 19346
2005-12-28 17:28:02 +00:00
Christopher Michael b6f86f04b1 Add About to Advanced module dialogue
SVN revision: 19322
2005-12-27 22:21:39 +00:00
Christopher Michael 8e4bfac183 Destroy list when finished
SVN revision: 19290
2005-12-25 10:20:25 +00:00
Christopher Michael e6332a1a2a Oops...Use correct list variable
SVN revision: 19285
2005-12-24 18:50:23 +00:00
Christopher Michael 4628710d84 Removed unused typedef
SVN revision: 19258
2005-12-23 01:11:27 +00:00
Christopher Michael 8b98a4a5ee Make module config dialogue resizeable
SVN revision: 19252
2005-12-22 23:41:46 +00:00