Commit Graph

84 Commits

Author SHA1 Message Date
Christopher Michael 9a4d68f63a Initial check-in of upcoming toolbar. Ignore this code for now as it's still
a work in progress (ie: do not use right now).


SVN revision: 32229
2007-10-31 10:09:51 +00:00
Carsten Haitzler 43a5794c88 buttom patch from lok and seb's shelf bug fix.
SVN revision: 31974
2007-10-05 06:05:16 +00:00
Sebastian Dransfeld a9948c5272 Better check if a gadcon supports new features.
SVN revision: 31729
2007-09-16 00:24:42 +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 f4725035d1 Check that we actually have gadcon_layout_data before trying to access it.
This fixes bug #196.


SVN revision: 31674
2007-09-10 20:07:14 +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 80b32e7c7b Show shelves on dnd enter.
SVN revision: 29915
2007-05-07 19:54:12 +00:00
Sebastian Dransfeld f6dc1dc1cc Remove stale code.
Fix comments.


SVN revision: 29159
2007-03-25 22:45:00 +00:00
Sebastian Dransfeld a286d71061 Remove stale code.
SVN revision: 29158
2007-03-25 22:20:45 +00:00
Viktor Kojouharov aaebfe05c2 a new function to return the correct geometry and position of the gcc regardless of the shelf layer
SVN revision: 28548
2007-03-03 22:42:37 +00:00
Sebastian Dransfeld 231a5fc1a3 Should be prepend.
SVN revision: 27850
2007-01-07 21:06:03 +00:00
Sebastian Dransfeld 322d9adcf3 DND for gadcon clients.
SVN revision: 27847
2007-01-07 16:32:57 +00:00
Sebastian Dransfeld c51bb204f7 If a config does not exist for a gadcon client on save, create it.
SVN revision: 27764
2007-01-03 17:33:40 +00:00
Sebastian Dransfeld 077df81327 dnd gadcon clients. Order for shrinked shelves does not work right.
SVN revision: 27759
2007-01-03 16:41:07 +00:00
Sebastian Dransfeld fb6c00b64d Rename callbacks for gadcon client.
Add callback for move/resize of the gadcon.


SVN revision: 27754
2007-01-03 06:30:43 +00:00
Sebastian Dransfeld c299f6aa14 Add a convert callback so that a drag can have several types.
Make it possible to drag pager windows to the ibar.


SVN revision: 27751
2007-01-03 06:14:04 +00:00
rephorm aac131f834 delete gc->clients->data from _before_ the removal
SVN revision: 27715
2007-01-02 03:25:01 +00:00
Sebastian Dransfeld f3882bd459 Set the requested gadcon client pos equal to the drop pos.
SVN revision: 27713
2007-01-01 21:44:23 +00:00
Sebastian Dransfeld 6af75194eb Use drag resist config value.
Remove gadcon client from gadcon when unpopulating. If someone else has a
ref on a gadcon client this loop will run for ever.


SVN revision: 27712
2007-01-01 21:27:35 +00:00
Sebastian Dransfeld a948c87538 Conditional resize.
SVN revision: 27704
2006-12-31 15:18:27 +00:00
Sebastian Dransfeld 2844b9d77c Disable drop handler.
SVN revision: 27701
2006-12-31 14:18:15 +00:00
Sebastian Dransfeld 6381bd0d4d Larger drag resist.
SVN revision: 27700
2006-12-31 14:07:01 +00:00
Sebastian Dransfeld 26ccc7a2a4 No need to continue looping after the id is rejected.
SVN revision: 27695
2006-12-31 12:23:16 +00:00
Sebastian Dransfeld abb527f7e5 Better check for unique id.
SVN revision: 27693
2006-12-31 10:07:12 +00:00
Sebastian Dransfeld cba29bd250 Revert to old e_gadcon_client_new, some modules require id to be set on
the gadcon client after this func returns.


SVN revision: 27684
2006-12-30 23:32:25 +00:00
Sebastian Dransfeld e2ad139030 Clean gadgets because of current changes.
It is possible to drop gadcon clients on shelves.


SVN revision: 27679
2006-12-30 22:31:28 +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 3f41c2b290 Drag gadcons off the shelf in edit mode to remove them.
SVN revision: 27675
2006-12-30 18:12:53 +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
Sebastian Dransfeld db5451759f Disable drag.
SVN revision: 27646
2006-12-29 16:58:56 +00:00
Sebastian Dransfeld 439b87ffa6 Start of drag code for gadcon.
SVN revision: 27645
2006-12-29 16:54:21 +00:00
Christopher Michael 8954bb145b Some formatting love for the ohh so friendly e_gadcon :)
Icons in the shelf menu for Config Contents and Shelf Config.


SVN revision: 27534
2006-12-20 22:40:01 +00:00
Christopher Michael 71434d0911 Fix IBar/IBox "resize to single icon" bug.
Good eye Metrics :)


SVN revision: 27274
2006-11-29 11:24:54 +00:00
metrics 7f9999dbf8 More fixes of the autoscroll/drag and drop behaviour for gadgets in
shelves. Added callback to allow the current drop position to be
dynamically updated as the gadget scrolling is animated.


SVN revision: 27114
2006-11-15 06:24:30 +00:00
metrics 5cc25e147a Start of fix for drag and drop to autoscrolling ibar/ibox.
SVN revision: 27068
2006-11-12 11:32:44 +00:00
Carsten Haitzler 5409f4f0cd fix dnd for "below everything"
SVN revision: 26653
2006-10-16 10:40:10 +00:00
sebastid 37d0006594 paranthesis are nice.
SVN revision: 26005
2006-09-21 20:05:44 +00:00
sebastid 4e81527304 Cleanup.
- Remove unused variables.
- Add const where needed.
- Add return values.


SVN revision: 26002
2006-09-21 19:53:38 +00:00
Carsten Haitzler a9757fa04b i'm cleaning up dnd. fixed leaks. made dnd more convenient - less work to do
(it returns x,y coords relative to the drop target geom, not the screen,
start putting in all the necessary stuff in fm2 - can dnd 2 file now (drop
has no effect though)...


SVN revision: 25950
2006-09-18 03:49:45 +00:00
moom ff7fff2dad * [Ibar/Ibox] Make "o_empty" object expand so we can right-click
everywhere in the ibar/ibox to add new icons when it's empty. (TODO--)


SVN revision: 25562
2006-09-06 21:40:17 +00:00
sndev bf9d1bba52 - no more "slow" moving on gadcon item dragging.
SVN revision: 25315
2006-09-02 00:12:16 +00:00
Christopher Michael 6b749086ef Make sure bi is set before trying to use it or else Seggy. Thanks iSteve :)
SVN revision: 25276
2006-09-01 10:40:54 +00:00
Christopher Michael 74e1827485 Implement per-gadget move/resize also.
SVN revision: 25271
2006-09-01 08:49:46 +00:00
sndev d38f03aea7 Ehhhh. So stuff in one go.
* Mouse Binding Dialog
  - dialog refactoring
  - no need to select modifiers, etc. Just click add button and do an action with a mouse.
  - new icons. Many thanks to Luchezar 'ManowarrioR' Petkov for great work on this icons.
  - extra mouse buttons and wheels are supported.
  - etc, just try and see.

* Shelf
  - No re-population when "plain/inset" mode set.
  - Changing the orientation of the shelf horiz->vert does not screws up it look.
  - something else

* Gadcon
  - No overlaping items in initial shelf.
  - Moving of items in gadcon is not problematic any more. Will not get any mess
    and overlaps in gadcon on moving.
  - Item sizing. If u size an item to the left it will be sized only to the left.
  - If gadcon clients take much more space than gadcon can display, they are resized
    starting from the biggest item(s).
  - Shrinked mode actions, moving/sizing, is not problematic. Everything works
    exactly in the same fasion as in non-shrinked mode.
  - etc.


SVN revision: 25235
2006-08-31 04:16:43 +00:00
rephorm 462bda0f22 another chunk
all group names prefaced by e/
its entirely possible i missed a few small places in this, so there may be some growing pains in the next day or two

also, spectrum content -> e.swallow.content


SVN revision: 25057
2006-08-23 03:39:02 +00:00
rephorm 5ec2d99fb6 some more theme work
SVN revision: 25051
2006-08-23 01:13:04 +00:00
rephorm a5c71890d4 ****** MAJOR THEME REWORKING -- BREAKAGE *********
Almost every signal and required part name has changed. This means that ALL themes other than the default one are now broken. Sorry, but this had to happen.

I have a list of mappings from old to new at http://rephorm.com/files/dump/e_theme_map.txt

There will probably be a little more cleanup on this in the coming days. Then I'll write it all up in a nice theme spec.


SVN revision: 25033
2006-08-22 07:39:11 +00:00
sebastid 0faf746d4c formatting
SVN revision: 24503
2006-08-09 11:07:44 +00:00
essiene 26abf12032 * $XXX [xxxxxxxxxx] default view (plain or inset) of a gadget should be able to be
specified by the gadcon client so when it is added it can also supply an initial style mode.

This first commit, sets up the infrastructure. See the collab mail describing how this works. The next patch shall simply update the core modules to use this. Then comes the modules in e_modules


SVN revision: 24491
2006-08-09 06:08:36 +00:00
sebastid 3d1f519d17 Add return value
SVN revision: 24268
2006-07-28 11:31:50 +00:00