On Fri, 12.12.08 18:42, Bastien Nocera ([email protected]) wrote: > > On Fri, 2008-12-12 at 18:34 +0100, Lennart Poettering wrote: > > On Fri, 12.12.08 12:19, Ronald S. Bultje ([email protected]) wrote: > > > > > Hi, > > > > Heya! > > > > > On Fri, Dec 12, 2008 at 12:06 PM, Patryk Zawadzki <[email protected]> > > > wrote: > > > > Futhermore it's really much easier to open one capplet and be able to > > > > mute half of the system sounds in just one click when preparing to > > > > give a presentation > > > > > > Like for power-management, this should be automated. > > > > There's not much to automate. All a presentation program needs to do > > is to toggle the GConf key /desktop/gnome/sound/event_sounds or the > > XSETTING gtk-enable-event-sounds. > > > > I don't think we need a daemon for managing that key, do we? > > We probably do, because it's the same problem as the Inhibit APIs in the > screensaver. What if your app crashes, how does it reset the old value, > what was the old value? Should be easy enough to add to a > gnome-settings-daemon plugin though.
Hmm, maybe GConf (or DConf) should know the notion of "temporary" change that is automatically reversed if the app responsible terminates the connection? Somehow I got the feeling that this might be useful for more than this case. Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4 _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
