Notify listeners with a sync event
2001-07-24 Bradford Hovinen <hovinen@ximian.com> * bonobo-config-archiver.c (real_sync): Notify listeners with a sync event
This commit is contained in:
parent
678ce84589
commit
f079a9ab87
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2001-07-24 Bradford Hovinen <hovinen@ximian.com>
|
||||
|
||||
* bonobo-config-archiver.c (real_sync): Notify listeners with a sync event
|
||||
|
||||
2001-07-20 Chema Celorio <chema@celorio.com>
|
||||
|
||||
* RELEASE : 1.5.0
|
||||
|
|
|
@ -216,12 +216,17 @@ real_sync (BonoboConfigDatabase *db,
|
|||
CORBA_Environment *ev)
|
||||
{
|
||||
BonoboConfigArchiver *archiver_db = BONOBO_CONFIG_ARCHIVER (db);
|
||||
BonoboArg *arg;
|
||||
|
||||
if (!db->writeable)
|
||||
return;
|
||||
|
||||
location_store_xml (archiver_db->location, archiver_db->backend_id,
|
||||
archiver_db->doc, STORE_MASK_PREVIOUS);
|
||||
|
||||
arg = bonobo_arg_new (BONOBO_ARG_NULL);
|
||||
bonobo_event_source_notify_listeners (archiver_db->es, "Bonobo/ConfigDatabase:sync", arg, &ev);
|
||||
bonobo_arg_release (arg);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
<contains backend="bell-properties-capplet"/>
|
||||
<contains backend="sound-properties"/>
|
||||
<contains backend="keyboard-properties"/>
|
||||
<contains backend="mouse-properties-capplet"/>
|
||||
<contains backend="mouse-properties"/>
|
||||
<contains backend="screensaver-properties-capplet"/>
|
||||
</location>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue