Commit Graph

159 Commits

Author SHA1 Message Date
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
Christopher Michael baa9fae930 Rewrite e_int_config_modules.c.
This fixes the segfault issues people were having.

Recommend resyncing your E codebase with current cvs as this uses newer
e_widget_ilist functions that I committed earlier.


SVN revision: 19248
2005-12-22 22:40:21 +00:00
Carsten Haitzler b4ef343f72 segv--
SVN revision: 19201
2005-12-21 09:49:06 +00:00
Carsten Haitzler e659cb06a4 formatting
SVN revision: 19200
2005-12-21 09:11:18 +00:00
Carsten Haitzler 32711b918e jesse's module patch - quickly in.
SVN revision: 19197
2005-12-21 04:48:20 +00:00
rephorm a62466d341 add an about button to the modules config
SVN revision: 19168
2005-12-20 02:38:47 +00:00
rephorm 55a999b5c7 its a good idea to initialize pointers before using them.
(why this worked for _anyone_ is beyond me...)


SVN revision: 19165
2005-12-20 02:05:01 +00:00
Christopher Michael 4d260a8c32 More Formatting...man this was a mess
SVN revision: 19163
2005-12-20 00:44:42 +00:00
Christopher Michael d20ad6001b Formatting
SVN revision: 19162
2005-12-20 00:32:21 +00:00
Carsten Haitzler 71040b0586 module config dialog
SVN revision: 19089
2005-12-17 11:21:54 +00:00