On Thu, 2006-02-23 at 15:01, ext Armin M. Warda wrote: > On Thursday 23 February 2006 01:34, David D. Hagood wrote: > > [EMAIL PROTECTED] wrote: > > >> Any suggestions? > > > > > > How about hooking swapoff to the hotplug event for the MMC card > > > cover opening? Maybe even insertion also. > > Yes, I really would like to try this, but I do not know how this has > to be done. Can anybody lend me a hand? (Of cause I would make > this feature optional, with an enable/disable checkbox in the > settings.)
The easiest way is probably to use the GConf key /system/osso/af/mmc-cover-open that is updated then the MMC cover is opened and closed. GConf allows you to be notified when the value of the key changes. BR; Kimmo _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers