Commit Graph

18 Commits

Author SHA1 Message Date
Mike Blumenkrantz af60915713 add function for a gadget to remove itself 2017-06-30 17:03:24 -04:00
Mike Blumenkrantz be0015a283 hide gadget editor when dragging/wizarding a new gadget 2017-06-23 17:49:44 -04:00
Mike Blumenkrantz 641812918f add note in doc for "gadget_destroyed" callback re: callback ordering 2017-02-10 17:24:13 -05:00
Mike Blumenkrantz 6e39997ad1 add smart callback for when gadgets get reparented
this can be useful for gadgets which (inexplicably) need to set min size hints
2016-11-01 13:29:45 -04:00
Mike Blumenkrantz a9d0a27ea3 add generic handler for desktop gadget layers
...and a menu item for triggering basic editing
2016-10-26 13:59:29 -04:00
Mike Blumenkrantz d0e21c912a add gadget_site_(un)locked smart callbacks for forcing gadget site visibility
useful for cases where the gadget site has no popups to manage but visibility must
be maintained

ref T4732
2016-10-17 11:55:23 -04:00
Mike Blumenkrantz baa7e85e61 add EINTERN function for renaming gadget sites 2016-10-13 11:27:12 -04:00
Mike Blumenkrantz 09cf90b05a add gadget doc note for gadget_destroyed callback re:object lifetimes 2016-09-19 16:18:47 -04:00
Mike Blumenkrantz 5da62d9adf add drop handlers for gadgets
a simple wrapper around existing e_dnd functionality
2016-09-06 11:12:31 -04:00
Mike Blumenkrantz 21a6a600c3 add button to desklock config dialog for configuring gadgets
the current security policy for this is based on two points:
1) don't add gadgets to your lockscreen that you don't want on your lockscreen
2) see #1

future improvements here will probably add gadget info to show what risks a gadget
may incur when placed on the lockscreen
2016-03-04 14:23:44 -05:00
Mike Blumenkrantz d26c49b3ce add new gadget system
see e_gadget.h
2016-03-04 14:23:44 -05:00
rephorm b8ef0f8089 Nuke old unused gadget code.
SVN revision: 24781
2006-08-16 01:09:34 +00:00
e-taro 0e28ec541a - free the list elements as well as the list itself
- free the "change" too


SVN revision: 20753
2006-02-23 14:22:31 +00:00
rephorm eebec166ca Remove module menu from gadget code since it is no longer used.
Include face count to ease matching config data to a face.


SVN revision: 20036
2006-01-26 05:17:51 +00:00
sebastid 6a638a7806 Fix EAPI warnings.
SVN revision: 19597
2006-01-07 10:39:46 +00:00
rephorm c597c6585c Allow gadgets to either be 1 per container (default) or 1 per zone (like the pager).
SVN revision: 19120
2005-12-18 21:06:37 +00:00
rephorm e3ead0ca7a pass a single struct to e_gadget_new() instead of a ton of functions.
SVN revision: 19107
2005-12-18 07:37:53 +00:00
rephorm e3a28bf9d0 E_Gadget
--------

a quick set of convenience functions for creating gadgets (desktop modules).
see gadget_test for an example. documentation still to come :)

i still need to comb over and make sure i didn't miss freeing anything...


SVN revision: 18742
2005-12-01 04:07:27 +00:00