Commit Graph

99 Commits

Author SHA1 Message Date
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
sndev f7098c09d1 We donnot need ok/apply buttons in the "shelf contents" config dialog since the
dialog directly operates on the gadcon client list. Therefore, if gcc is add and
the dialog just closed then we have an inconsistency until the gcc will be
unpopulated-populated. Moreover, thats much nicer from the UI point of view.


SVN revision: 23440
2006-06-14 18:43:07 +00:00
Carsten Haitzler 97eec41ad9 patches that i said were in - commit. (see my reply emails)
also finish off a TODO item or 2


SVN revision: 23267
2006-06-07 23:30:15 +00:00
sndev 44efb14c21 * making the code easier
* allowing to add gccs directly to a gc->clients, instead of local evas_list.


SVN revision: 23072
2006-06-01 22:16:29 +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
sebastid 715a64d5fe Fix warnings
SVN revision: 23032
2006-05-31 18:58:26 +00:00
sndev 5053c4367e oooppps. NULL check was not performed => strange items in the list :)
SVN revision: 22967
2006-05-28 11:28:14 +00:00
sndev 2fcc7a1c49 ooopppps. Using uninitiliazed "label" variable in _basic_create_widgets and
_cb_remove_instance. fixing.


SVN revision: 22802
2006-05-21 11:20:30 +00:00
Carsten Haitzler ff7ec3ccad and now fix up the gadcon contents dialog a bit... :)
SVN revision: 22761
2006-05-20 03:53:36 +00:00
sndev 7f7354dba4 FIXME added.
SVN revision: 22754
2006-05-20 00:41:45 +00:00
sndev af66ec1c08 Update of the Shelf Content config dialog. Now one can have several instances
of the same gadcon in one shelf.

The config dialog still contains some problems :

* If the config dialog is opened, and at that time the settings of the gadcon has
  changed, then applying settings will overwrite changes with the old values.
  (will be fixed soon).

* The problem of gadcon identifiers. For example if one have two instances of the
  ibar in one shelf, then changing settings of the one ibar gadcon will automatically
  change the settings of the another gadcon(s) in the same shelf. Basically, they
  are not distinguishable. (will be fixed soon, but need raster's
  consultation/help/explanation :))

* Icons in "Selected Items" lists (will be fixed soon)
* Names of the gadcons in "Selected Items" list should start with capital letter.

* maybe something else I forgot to list.


Raster, your code is still presented in the file :). So, if unfortunatelly you will
dislike what I did :), it can be easiely rolled back :)

Enjoy the new functionality :)


SVN revision: 22753
2006-05-20 00:03:20 +00:00
Carsten Haitzler 6dcf19c786 and > 4 shelves fixed (ie no gadcon config by default)
SVN revision: 22737
2006-05-19 13:21:01 +00:00
Carsten Haitzler 0f5945349d gadcon config generates new id's for new gadcon clients... properly.
SVN revision: 22736
2006-05-19 12:56:47 +00:00
Carsten Haitzler 7dc5dc0753 add icon provision for gadcon classes and label provider functions. also add
all the data, update and add new icons etc. etc.


SVN revision: 22495
2006-05-09 13:02:48 +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
Carsten Haitzler 90a1c59b5c governors menu works properly/predictably again
SVN revision: 22468
2006-05-05 23:31:12 +00:00
Carsten Haitzler ce719a0140 fines to start work on settign gadcon contents and make click to focus also
set "revert to last focused"


SVN revision: 22465
2006-05-05 12:20:14 +00:00