Commit Graph

111 Commits

Author SHA1 Message Date
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
Mike Blumenkrantz 68b44ce619 more gadman fixes to not store the actual gcc pointer
SVN revision: 74444
2012-07-26 14:00:20 +00:00
Mike Blumenkrantz a9107599de gadman now tracks gadgets by the config instead of the gadget object, should prevent crashes if a gadget is ever repopulated
SVN revision: 74440
2012-07-26 12:48:11 +00:00
Mike Blumenkrantz 298dd0941b refresh gadman available gadgets on both disable and enable of module
SVN revision: 73205
2012-07-03 07:39:44 +00:00
Mike Blumenkrantz 25b6a1bd1d fix gadman to not crash with module load/unload, also dynamically update available gadgets list when new modules are loaded
SVN revision: 73165
2012-07-02 13:28:13 +00:00
Mike Blumenkrantz 55e263ef55 formatting
SVN revision: 73147
2012-07-02 10:13:27 +00:00
Stefan Schmidt 69b50b64f4 e/gadman: Rename variable in loop to avoid shadowing
SVN revision: 72533
2012-06-20 08:48:27 +00:00
Doyoun Kang 135484b239 From: Doyoun Kang <doyoun.kang@samsung.com>
Subject: [e] [gadman] Crashed e

I found a gadman module's bug which makes e to crash.
After new zone is added in run-time, i tried to add a gadget (like
clock, cpufreq) to the new zone, then e is crashed.

So, i attached a patch which fix this bug.



SVN revision: 72078
2012-06-13 09:37:22 +00:00
Carsten Haitzler 346a77eaf1 make gadman popup/show win also handle dnd as a target.
SVN revision: 70956
2012-05-13 05:14:02 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Carsten Haitzler 515819cdb5 make all zone matching agree on the same convention - use zone->num,
not zone->id. zone->id is for matching u to zinerama/xrandr
screens/outputs. e re-sorts based on highest res screens first, lower
res later.



SVN revision: 67951
2012-02-15 04:35:18 +00:00