Strategies for multiple gconf notifications
- From: Murray Cumming <murrayc murrayc com>
- To: gconf-list gnome org
- Subject: Strategies for multiple gconf notifications
- Date: Thu, 10 May 2007 12:41:53 +0200
If I have an intensive process that should be rerun in response to any
one of twenty configuration keys, how might I prevent my application
from re-running that process 20 times instead of just once, when
changing all the keys at one time.
I guess I could just append each notification key to a GList, and use a
g_timeout handler to notify my application about batches of changes, if
anything changed, at regular intervals.
Or is there some existing API or known strategy to deal with this
situation?
I've tried temporarily setting a "disabled" key but querying this
generally returns true well before the notifications have arrived.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]