Commit Graph

83 Commits

Author SHA1 Message Date
Mike Blumenkrantz 5e0b6fd200 reorder shelf startup slightly, add gadcon populate event, only show created shelf after it's been populated, populate gadcons incrementally instead of all at once
this commit reduces my startup time by 0.5-1.0 seconds on average when using two shelves


SVN revision: 76894
2012-09-20 08:44:30 +00:00
Mike Blumenkrantz 3436f52edc refresh at the end of deleting gadgets, not during; prevents infinite loop
SVN revision: 76527
2012-09-12 13:29:46 +00:00
Mike Blumenkrantz 2747cba221 deleting multiple gadgets in advanced gadget config will now actually delete multiple gadgets
SVN revision: 76525
2012-09-12 13:12:43 +00:00
Mike Blumenkrantz fdc67ec2db clarify advanced gadget config dialog tab names
SVN revision: 76300
2012-09-07 12:04:44 +00:00
Christopher Michael ee4fbda47a E: Make list resizable in New Gadcon Advanced config, and make ilist
use icons based on e_scale (for zmike) ;)



SVN revision: 76298
2012-09-07 11:24:12 +00:00
Mike Blumenkrantz b4f5a3c614 fix up new gadcon config dialogs to crash less and work better
SVN revision: 76257
2012-09-06 18:26:48 +00:00
Mike Blumenkrantz a838447b64 some tweaks to gadget config dialog to make deletion work better in more cases
SVN revision: 76246
2012-09-06 14:20:52 +00:00
Mike Blumenkrantz e4b3f66a50 allow gadcon config dialog hook to set gadcon site
SVN revision: 76244
2012-09-06 13:31:38 +00:00
Mike Blumenkrantz 35a9214b2f prevent creation of multiple gadcon config dialogs
SVN revision: 76243
2012-09-06 13:14:48 +00:00
Mike Blumenkrantz 383e2a42d7 add generic gadcon config hook which can be used with any gadcon
SVN revision: 76239
2012-09-06 11:56:09 +00:00
Mike Blumenkrantz 09aecfb7a4 update gadget config advanced view to play more nicely with the basic view
SVN revision: 76238
2012-09-06 11:53:28 +00:00
Mike Blumenkrantz 3a3ac64542 rewrite gadcon config dialog to have an advanced view which allows deletion of non-loaded gadgets as well as adding multiple gadgets of the same type
SVN revision: 76237
2012-09-06 11:50:20 +00:00
Mike Blumenkrantz 82ae1fcaac when a gc_init function fails, delete the config and clean up after: mainly for systray
SVN revision: 72564
2012-06-21 06:47:26 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz 572ed90432 more uninitialized values
SVN revision: 56148
2011-01-16 01:22:41 +00:00
Christopher Michael 37a0e6a197 Fix 'var may be used uninitialized' warning.
SVN revision: 51342
2010-08-18 20:31:35 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Hannes Janetzek 9b1d74ccf9 fix warnings
SVN revision: 48500
2010-05-01 13:26:32 +00:00
Christopher Michael a074d3fd14 Readd event handler for module updates.
SVN revision: 47910
2010-04-11 00:31:13 +00:00
Christopher Michael 2869f78e31 New Shelf Contents dialog that works w/ small resolutions ... and fixes the
"add/remove multiple gadgets" problem that the first incarnation had.



SVN revision: 47909
2010-04-11 00:20:38 +00:00
Christopher Michael ab0ca94a4e Revert new gadget config dialog due to issues with adding a gadget twice to a shelf.
SVN revision: 47886
2010-04-09 19:38:28 +00:00
Christopher Michael e79308394a New Shelf Contents dialog to work with small resolutions.
SVN revision: 47859
2010-04-09 01:07:40 +00:00
Sebastian Dransfeld 66b667f273 Use efreet_desktop_new where appropriate
efreet_desktop_get (will in time) setup a lot of stuff to monitor
changes. If we just use the results from efreet_desktop_get within one
function and then free, this is unneeded overhead. efreet_desktop_free
will more lightweight (but require a bit more mem alloc).

SVN revision: 46847
2010-03-03 22:10:55 +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 9d4f41fe94 Use PATH_MAX instead of 4096.
Fix some formatting issues.



SVN revision: 44897
2010-01-04 21:39:07 +00:00
Hannes Janetzek 57c6db0e8f fix warnings
SVN revision: 42605
2009-09-21 20:07:28 +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
Christopher Michael b877f2af7a Patch from victor to fix removing modules via the "Set Contents" dialog.
SVN revision: 41966
2009-08-25 06:06:26 +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
semernin 2f76dd5d99 List of changes:
1. Gadcon sities:
      -- 'E_Gadcon_Site' enum to list all available sities,
      -- added 'is_site' callback for distinguish gadcon sities,
      -- 'e_gadcon_site_is_*' helpers written to use in gadget modules,
      -- gadcon config dialogs modified to show only gadgets that appropriate
         to selected gadcon site,
      -- all gadget modules updated for using new callback.
      
      When callback is not provided in module, then gadget can be used in 
      any gadcon site.
      
   2. Filemanager:
      -- added error icon to unexisting path dialog,
      -- added callback 'func.abort' to 'E_Fm2_Op_Registry_Entry' to specify
         abort operation sequence (if not provided, then operation is not
         cancelable),
      -- added parameter to 'e_fm2_op_registry_entry_add' to specify abort
         method on construct 'E_Fm2_Op_Registry_Entry' or make non-cancelable
         operation if this function is not provided,
      -- added 'e_fm2_operation_abort' call to cancel efm2 operation,
      -- added method '_e_fm2_operation_abort_internal' that represent efm2
         default handler of operation cancelling,
      -- 'done' and 'total' fields of 'E_Fm2_Op_Registry_Entry' changed to
         off_t type, also all message handlers modified to work with it
         (to show progress for large files correctly),
      -- improved file operation progress processing,
      -- added cancel button to operation progress gadget in filemanager window,
      -- added delete file glyph to operation progress gadget,
      -- improved status message for efm2 operation progress.

   3. Filemanager slave:
      -- fixed critical bug in message handling via stdin/stdout,
      -- fixed critical bug in removing task from list,
      -- improved 'E_FM_OP_ABORT' handling,
      -- fix rollback counting on moving files.

   4. Fileman_opinfo module:
      -- a new theme writed: status string and gadget for view operation status
         in summary and detail modes,
      -- summary mode: operation glyph, state message, progressbar, abort button,
      -- detail mode: all for summary + from filename, to filename,
      -- summary/detailed button works as trigger,
      -- added source of module theme and used images.
      
   4. Pathbar module:
      -- non-critical fix, just for safety.

   Also patch contains several minor updates to serve main task.


SVN revision: 41224
2009-06-29 14:38:03 +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 45cbf72298 * Gadcon API 3 *BREAK*
Version 3 add the *client_class param to icon(),label(),id_new(), id_del() 
 and the *orient param to orient().

All the modules (with a gadcon_client) need to be fixed...just add the new params 

to follow the EXTRA modules update.

SVN revision: 37450
2008-11-04 03:57:45 +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
Nicholas Hughart 43fcbd7eed Uhh, who was freeing local list pointers?
SVN revision: 35788
2008-09-02 03:11:55 +00:00
Carsten Haitzler cf2d797345 typo!!!!
SVN revision: 34798
2008-06-11 07:02:05 +00:00
Gustavo Sverzut Barbieri 4dbd25097b More const added.
SVN revision: 33738
2008-02-13 04:51:01 +00:00
Christopher Michael 1afb32246c Disable sorting the gadget list for now. Seems to be causing an issue where
gadgets don't show up.


SVN revision: 33477
2008-01-13 23:20:34 +00:00
Christopher Michael 58fca427d2 Make dialog a little wider.
Sort the list of available gadgets by name.


SVN revision: 33454
2008-01-12 00:27:41 +00:00
Sebastian Dransfeld b17822ffd7 Remove unused variable.
SVN revision: 33437
2008-01-10 17:24:02 +00:00
Christopher Michael af701cf3cd Better Shelf Contents Dialog.
- Allows multi-select so we don't have to constently reload the shelf.
  - Provides descriptions for the modules just like the module dialog.


SVN revision: 33342
2008-01-04 09:18:42 +00:00
Christopher Michael 4f53107d14 Provide gadcon_config wrapper functions for toolbar & shelf. For now, just
used so we can have Toolbar Contents vs Shelf Contents in title.


SVN revision: 32528
2007-11-09 23:53:38 +00:00
Christopher Michael 4f4f035465 Formatting fixes.
SVN revision: 32278
2007-11-01 21:39:55 +00:00
Sebastian Dransfeld ac35054634 We need id's for gadgets which are independent of shelves, so if we move
a gadget from one shelf to another it will keep the same config. Since the
id is mainly for the module to find the appropriate config for a gadget,
the module is now responsible for creating id's for gadgets config. One
problem is that we no longer can trust the id of a gadget, so we need to
store a reference between a gadget and its config after startup. No big
deal.


SVN revision: 31727
2007-09-16 00:02:53 +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 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 6aee1fef3d Make 'Shelf Contents' dialog resizable.
SVN revision: 30833
2007-07-15 23:42:46 +00:00
Christopher Michael 3419d74c84 If we're using E_NEW to create, then use E_FREE to free.
SVN revision: 27931
2007-01-12 23:13:33 +00:00
Sebastian Dransfeld ff30cfcfe3 Functions to create new config and del config.
SVN revision: 27676
2006-12-30 21:00:19 +00:00
Sebastian Dransfeld 805315670b Clean up some gadcon config code.
Make id unique for each gadcon.


SVN revision: 27673
2006-12-30 17:54:27 +00:00
Christopher Michael 5795fbd935 Fix removing gadgets from a shelf.
- Don't need to use strcasecmp.
    - Remove an unneeded variable.


SVN revision: 27301
2006-11-30 19:46:55 +00:00