Commit Graph

135 Commits

Author SHA1 Message Date
Lucas De Marchi 0675dd03a0 e: rename option use_composite to use_shaped_win
In order to move composite inside the core we need to kill the
use_composite option. However in some places it is being used to switch
between ARGB and shaped windows. It doesn't make much sense to keep the
advanced/engine dialog to let the user toggle this options if we have
composite always enabledm, but lets allow the user to shoot
himself on the foot (for now).

Next step will be to move the comp module files to core so user can't
unload it anymore.



SVN revision: 82433
2013-01-09 03:21:25 +00:00
Mike Blumenkrantz c94aac1b87 fix gadman load/shutdown
SVN revision: 80641
2012-12-11 10:49:17 +00:00
Mike Blumenkrantz dfe7117ba6 force enable gc edit flag if gcc is being edited to prevent crash when deleting just-added gadman gadgets from dialog
SVN revision: 79972
2012-12-01 16:08:39 +00:00
Mike Blumenkrantz c6a9c34e7f giant header overhaul which removes all the stupid one line function prototype headers and e_mod_main.h headers that contain nothing but unnecessary module api prototypes
SVN revision: 79908
2012-11-30 14:38:34 +00:00
Mike Blumenkrantz 6502761657 fix dangling gadman gadgets during dnd and fix edit mode toggling when gadgets are dragged in and out of desktop gadcon
SVN revision: 79876
2012-11-30 08:52:57 +00:00
Mike Blumenkrantz 98a1ef6bd1 more gadman dnd rewrites to fix this stupid, awful piece of garbage that I can't wait to delete.
ticket #1820 (again)


SVN revision: 79841
2012-11-29 16:03:54 +00:00
Mike Blumenkrantz 7f9e4979fc fix gadman crash when container shape changes
SVN revision: 79803
2012-11-29 05:19:41 +00:00
Carsten Haitzler 8f03dcc9ed dont hardcode overlay part as its not namespace - accept right click
on ANYTHING to stop move/resize in gadman.



SVN revision: 79686
2012-11-26 10:06:50 +00:00
Mike Blumenkrantz ae73a11981 another rewrite: gadman now just resets itself on a timer any time you mess with monitors instead of trying to add/remove gadcons properly. this should fix some bugs which were floating around
SVN revision: 79211
2012-11-13 09:51:28 +00:00
Mike Blumenkrantz 1374faeb04 patch from Doyoun Kang to fix gadman gadget positioning
SVN revision: 78636
2012-10-30 08:04:52 +00:00
Mike Blumenkrantz 45e0a1bb59 create gadman gadcons after module init is over to avoid re-creating all the gadcons repeatedly during init; speeds up init quite a bit and inadvertently fixes ticket #1685
SVN revision: 78526
2012-10-26 12:13:53 +00:00
Mike Blumenkrantz 1401c39182 desktop gadgets no longer have the confusing "Behavior" menu, instead the hover layer is now a separate location which can receive gadget moves from any gadcon in the "Move to" menu
SVN revision: 77528
2012-10-05 10:36:11 +00:00
Mike Blumenkrantz 22a560b41f unnecessary cast
SVN revision: 77527
2012-10-05 10:23:52 +00:00
Mike Blumenkrantz 2413409717 use list macros for gadman handlers
SVN revision: 77526
2012-10-05 10:22:57 +00:00
Mike Blumenkrantz 71f57bb52d gadcon location gadget_add callbacks now have a gadcon client param so the config can be retrieved since these callbacks are (currently) only used for changing locations of gadgets
also the related gcc param in gadget_del can now have a NULL config to signify that the gadget has been moved to a new gadcon

this means that moving a gadget to a new location will no longer cause it to lose its gadget config

ticket #1594


SVN revision: 77521
2012-10-05 09:57:34 +00:00
Mike Blumenkrantz 6933d4b8ac gadgets can now be configured from the Desktop menu to bypass selecting layer in the overall gadget config
SVN revision: 77517
2012-10-05 09:05:34 +00:00
Mike Blumenkrantz c873260de3 ensure that missing gadman gadget geom popup only ever appears once, also set edit mode on repositioned gadget
SVN revision: 77514
2012-10-05 08:23:00 +00:00
Mike Blumenkrantz 9c7ea16706 also handle reapplying default sizing more effectively
SVN revision: 77513
2012-10-05 08:16:11 +00:00
Mike Blumenkrantz d0d1fbe5ba fix gadman popups to work and support markup
SVN revision: 77512
2012-10-05 08:13:43 +00:00
Mike Blumenkrantz 77865ac5b0 break out gadman popups into separate functions with timers and handlers to ensure that they actually go away
SVN revision: 77509
2012-10-05 07:31:10 +00:00
Mike Blumenkrantz 3f67c25467 use default coords when repositioning a misconfigured desktop gadget so it will be less likely to be hidden by open dialogs
SVN revision: 77506
2012-10-05 06:59:06 +00:00
Sebastian Dransfeld b659bc1b26 e: Fix typo
Patch by Igor Murzov

SVN revision: 77492
2012-10-04 23:27:07 +00:00
Sebastian Dransfeld 436323bf59 e: cleanup layer handling
It seems people put random numbers as layers, so it is better to define
available layer numbers.

This patch also puts popups below fullscreen windows, as it sucks to get
popups during presentations. A better solution is maybe to put popups
above fullscreen, but have a presentation mode to put fullscreen windows
above popups?

SVN revision: 77293
2012-10-02 08:54:35 +00:00
Mike Blumenkrantz 4c09bb330f yet another gadget overhaul, this time fixing:
* gadget dragging over windows (ticket #1563)
* gadget dragging/resizing on the hover layer
* yet another gadget refcount bug
* lots of annoying inconsistencies when dragging around new desktop gadgets


SVN revision: 77271
2012-10-01 14:02:24 +00:00
Mike Blumenkrantz e7cbbb4ed1 use mover geom to determine gadman gadget zone, also don't save until drag is over
SVN revision: 77264
2012-10-01 10:42:58 +00:00
Mike Blumenkrantz 9c7996bbd8 end gadman edit when shutting down (fixes crash), clean up legacy gadman dnd code, fix gadman dnd to remove client configs when drag starts, not when edit starts
SVN revision: 77262
2012-10-01 10:28:38 +00:00
Mike Blumenkrantz 99f7820770 fix gadman gadget refcounting
SVN revision: 77258
2012-10-01 10:01:04 +00:00
Mike Blumenkrantz 4e779975f9 rename E_LIST_HANDLERS_APPEND to E_LIST_HANDLER_APPEND, also add E_LIST_FOREACH
SVN revision: 76951
2012-09-21 09:23:07 +00:00
Mike Blumenkrantz 791ec69614 fix bug where newly-added desktop gadgets wouldn't initiate edit mode correctly and would be undeletable
SVN revision: 76906
2012-09-20 12:27:00 +00:00
Mike Blumenkrantz 79545f4e3c delete gadman drop handlers
SVN revision: 76855
2012-09-19 12:40:37 +00:00
Mike Blumenkrantz 87ad874972 initialize variable
SVN revision: 76802
2012-09-18 11:31:11 +00:00
Mike Blumenkrantz 8239fa1514 use gadcon popup for rare gadman error
SVN revision: 76790
2012-09-18 09:05:00 +00:00
Mike Blumenkrantz 03dda786da with massive hacks and huge other hacks, it's finally possible to seamlessly drag icons from the desktop to a shelf and vice versa
ticket #113


SVN revision: 76765
2012-09-17 14:49:48 +00:00
Mike Blumenkrantz 916d997c81 adapt gadman dnd to non-global variables
SVN revision: 76760
2012-09-17 13:06:06 +00:00
Mike Blumenkrantz 404d6b2ea5 gadman static variables--
SVN revision: 76743
2012-09-17 09:14:52 +00:00
Mike Blumenkrantz 55bb34aa02 moving a gadget off the desktop using the menu now properly deletes the gadget from the desktop
SVN revision: 76537
2012-09-12 15:14:03 +00:00
Mike Blumenkrantz 567a996222 rename variable to be more like e_gadcon
SVN revision: 76523
2012-09-12 12:28:19 +00:00
Mike Blumenkrantz 0ecafb75e5 unset top gc in gadman to ensure it gets set properly later on
SVN revision: 76453
2012-09-11 10:38:09 +00:00
Mike Blumenkrantz ec95e5e0b0 re-set gadman bg when updating zones
SVN revision: 76447
2012-09-11 07:56:00 +00:00
Mike Blumenkrantz 96d2436b76 fix color calc for gadman hover layer
SVN revision: 76446
2012-09-11 07:38:52 +00:00
Mike Blumenkrantz d28abd0421 overhaul gadman to utilize the new gadget config dialogs, also streamline gadman gadget deletion to work like regular gadgets
SVN revision: 76258
2012-09-06 18:28:02 +00:00
Mike Blumenkrantz 851d0069f7 fix case where gadman would add gadgets multiple times
SVN revision: 76245
2012-09-06 13:50:58 +00:00
Mike Blumenkrantz 1171e0888a evas uses premul colors, now gadman does too
SVN revision: 76240
2012-09-06 12:49:02 +00:00
Mike Blumenkrantz 7a178b759e not sure how this went overlooked for so long, but if you use e_object for something...you HAVE to make a cleanup function for it! stupid gadman!
SVN revision: 76204
2012-09-05 16:50:05 +00:00
Mike Blumenkrantz 4c0fa2d381 big roundup commit fixing leaky submenus
SVN revision: 75973
2012-09-03 08:30:39 +00:00
Mike Blumenkrantz 1fb57fe691 more gadman leaks--
SVN revision: 75793
2012-08-28 13:44:17 +00:00
Mike Blumenkrantz ee9304d2a2 more gadman shutdown leaks
SVN revision: 75784
2012-08-28 12:23:03 +00:00
Mike Blumenkrantz b16786d2b8 fix desktop gadget move/resize
SVN revision: 75653
2012-08-24 12:32:20 +00:00
Mike Blumenkrantz 5b4385d654 reset gadman another way to prevent crashes
SVN revision: 75645
2012-08-24 08:53:48 +00:00
Mike Blumenkrantz 8bc7ac007e reset gadman when zone 0 is added/removed to ensure proper gadget placement
ticket #1372


SVN revision: 75643
2012-08-24 07:33:37 +00:00