Commit Graph

66 Commits

Author SHA1 Message Date
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
Christopher Michael 4cca7d106a Use ilist freeze/thaw for "Shelf" list dialog.
SVN revision: 27243
2006-11-27 15:52:45 +00:00
Christopher Michael fc789f63d3 Give shelf contents dialog the same icon as configuring shelves.
SVN revision: 27040
2006-11-11 02:22:33 +00:00
Christopher Michael 8c7a33a752 Ooops, forgot to remove debug printfs.
SVN revision: 26479
2006-10-10 12:14:37 +00:00
Christopher Michael cd1e6a844d Fix the "Shelf Contents" remove bug.
SVN revision: 26477
2006-10-10 12:13:30 +00:00
sebastid f95391cf8f --cast
SVN revision: 25008
2006-08-21 16:18:49 +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
sndev 5ddaf123dd * no need to disable the "Add" button after the gadget was added. If I want consequently
add the same gadget more than once I need to do too much mouse acions.

* no need to disable the "Delete" button. The reasoning is the same.


SVN revision: 24379
2006-08-03 15:35:38 +00:00
Christopher Michael a8c7f5c9f3 Remove a printf as the "Remove from List" issue is fixed.
SVN revision: 24110
2006-07-21 17:28:15 +00:00
Christopher Michael 59a61a6ef5 Fix minor bug on gadget remove. We need to call ilist_go after ilist_clear.
SVN revision: 24103
2006-07-21 15:19:54 +00:00
sebastid 73a6413bb0 Delete tmpfile after use.
SVN revision: 24065
2006-07-20 11:19:08 +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
Carsten Haitzler a593b42576 remove openembedde pkg info - old and dead
SVN revision: 23615
2006-06-28 07:20:18 +00:00
Christopher Michael 447a00317e Removed the recently added evas_list_free calls as they caused segfaults
when removing last selected gadget.


SVN revision: 23545
2006-06-23 04:32:44 +00:00
Christopher Michael 52455b603e Free the evas_lists when we are done loading the gadget lists.
SVN revision: 23540
2006-06-22 20:41:54 +00:00
Christopher Michael 35b18b2704 Fix typo, thanks Mo0m :)
SVN revision: 23532
2006-06-22 19:02:17 +00:00
Christopher Michael 22ae46cb26 Lots of fixes for shelf contents config dialog:
- No more "ghosted" list items when removing from the Selected List.
     - Localized the loading of available/selected gadgets to cut down code duplication.
     - General code cleanup (remove extra comments)


SVN revision: 23531
2006-06-22 18:47:19 +00:00
Carsten Haitzler c80a395ab3 disable object paranoia for now and an extra null check for gadcon
SVN revision: 23488
2006-06-18 02:07:14 +00:00