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
Mike Blumenkrantz
94e2fc5257
clean up gadget right click menus to stop leaking
...
SVN revision: 75285
2012-08-15 07:22:04 +00:00
Mike Blumenkrantz
4033f4c720
whoops, forgot to use zone geom for saving gadget sizes as well as placing them
...
SVN revision: 74593
2012-07-30 15:14:57 +00:00
Mike Blumenkrantz
7cf1434f32
oh gadman, you so crazy. don't set gadget size based on MANAGER dimensions, that's not even close to accurate!
...
SVN revision: 74579
2012-07-30 10:38:31 +00:00
Mike Blumenkrantz
71ce826982
e_gadcon_client_find now takes an optional gadcon param to speed it up where possible
...
SVN revision: 74512
2012-07-27 16:10:06 +00:00
Mike Blumenkrantz
66d61b1778
trivial gadman cleanup
...
SVN revision: 74510
2012-07-27 16:02:44 +00:00
Mike Blumenkrantz
7a0babcfbe
remove some unnecessary checks and a legacy bug in gadman
...
SVN revision: 74509
2012-07-27 15:49:51 +00:00
Mike Blumenkrantz
250ea631d2
fix gadman placement of multiple clients of same class, also fix shadow warning
...
SVN revision: 74508
2012-07-27 15:41:58 +00:00
Mike Blumenkrantz
5db9d9fb00
change gadcon waiting classes list to a hash in order to remove some strcmps
...
SVN revision: 74487
2012-07-27 12:26:41 +00:00
Mike Blumenkrantz
36872afc13
ensure that gadman checks for the client class in populated classes before requesting a populate; this should never ever be necessary
...
SVN revision: 74486
2012-07-27 12:08:52 +00:00
Mike Blumenkrantz
3d2b75b3de
pass gadcon cc through to gadman_gadget_place() when available instead of searching through the list for it
...
SVN revision: 74484
2012-07-27 10:52:53 +00:00
Mike Blumenkrantz
f473e943ee
ensure gadman gadget is not already in waiting list before adding
...
SVN revision: 74479
2012-07-27 09:29:59 +00:00
Mike Blumenkrantz
eddf43a8cd
make gadman try to place gadgets if the client class is loaded after the gadget
...
this is NOT a good time to update.
SVN revision: 74473
2012-07-27 08:19:01 +00:00
Mike Blumenkrantz
92a8b3d652
move some gadman functions to be static
...
SVN revision: 74471
2012-07-27 07:22:57 +00:00
Mike Blumenkrantz
18f8444c86
when a gadman gadget is detected without any stored geometry settings, move and resize it to something reasonable so it can be changed by the user, and also pop a dialog to notify
...
SVN revision: 74470
2012-07-27 07:02:47 +00:00