2001-08-28 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (get_legacy_settings): Retrieve
the correct value for wallpaper_types
2001-08-28 Bradford Hovinen <hovinen@ximian.com>
* preferences.c (preferences_load_from_bonobo_pbag): Don't adjust
the opacity if the opacity setting is invalid
(preferences_load_from_bonobo_db): Ditto
2001-08-27 Bradford Hovinen <hovinen@ximian.com>
* archive.c (foreach_build_list_cb): Don't add the location to the
list if it is marked deleted
(impl_ConfigArchiver_Archive_createLocation): Do
CORBA_Object_duplicate rather than bonobo_object_dup_ref
* location.c (location_is_deleted): Implement
* background-properties-capplet.c (setup_dialog): Initialize/free
the CORBA environment structure
(real_realize_cb): Put into an idle handler, called by
realize_2_cb, the new timeout handler
* preferences.c (preferences_load_from_bonobo_pbag):
(preferences_load_from_bonobo_db): Extract from preferences_new_*
* background-properties-capplet.c (property_change_cb):
(realize_cb): Accept prefs structure in lieu of
Bonobo_PropertyBag; don't reload the preferences structure from
the property bag
(property_change_cb): Call preferences_apply_event to modify the
preferences structure appropriately
(property_change_cb):
(realize_cb): If the preferences structure is marked destroyed,
just return
(setup_dialog): Create a preferences structure from the property
bag given and use that as the extra data passed to callbacks
(realize_cb): Put into an idle handler real_realize_cb
* preferences.c (preferences_apply_event): Implement
* applier.c (output_compat_prefs): Make prefs const
* applier.[ch]: Have applier_apply_prefs take a const Preferences
structure
* preferences.[ch]: Make preferences_clone take a const
Preferences structure
2001-08-23 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (do_unload): Make sure we don't try to do this if
we are marked deleted
(config_log_delete): Call do_unload to eliminate memory leaks
* location.c (location_delete): Set the deleted flag
* config-log.c (dump_log): Don't try to dump the log if we are
deleted
* location.c (save_metadata): Don't try to save metadata if we are
deleted
2001-08-22 Hans Petter Jansson <hpj@ximian.com>
* archiver-client.h: Fixed include path, libxml -> gnome-xml. It's
consistent with the includes in archiver-client.c, and it stops the build
breaking here.
2001-08-21 Bradford Hovinen <hovinen@ximian.com>
* idl/ConfigArchiver.idl: Added exception RollbackDataNotFound
Added exception LocationNotFound
* archive.c (archive_get_current_location_id): Use
archive_create_location rather than location_new
(archive_get_current_location_id): Unref the location once we have
created it
* archiver-client.c (location_client_load_rollback_data): Don't
try to parse the XML file if there was an exception
* bonobo-config-archiver.c (bonobo_config_archiver_new): Make sure
to release_unref location and archive if aborting
(bonobo_config_archiver_new): Reinitialize exception structure
after we have succeeded
* location.c (location_get_rollback_filename): Recurse on parent
location if parent_chain is set to TRUE
* archive.c (impl_ConfigArchiver_Archive_getLocation): Set the
LocationNotFound exception if the location returned was NULL
* location.c (impl_ConfigArchiver_Location_getRollbackFilename): Don't try
* archive.c (impl_ConfigArchiver_Archive_getLocation): Don't try
to CORBA_Object_duplicate the result if it is NULL
(archive_get_location): Don't try to cast the result of
location_open before we know whether it is non-NULL
(impl_ConfigArchiver_Archive_createLocation): Call
bonobo_object_from_servant on parent_ref->servant
* location.c (location_destroy): Remove debugging message; make
remaining debugging message more enlightening
* archive.c (archive_get_child_locations): Rename from
archive_foreach_child_location; rewrite to return a GList of child
locations
(impl_ConfigArchiver_Archive_getChildLocations): Use
archive_get_child_locations
(archive_destroy): Remove debugging message
* bonobo-moniker-archiver.c (archive_resolve): Remove debugging
messages
* archive.c (archive_get_location): Remove debugging messages
* config-log.c (dump_log): Remove debugging messages
* archive.c (archive_foreach_child_location): Build a list first
and then traverse it to avoid screwing up the tree traversal
* mouse-properties-capplet.c (apply_settings): Use a CORBA
exception structure
2001-08-20 Richard Hestilow <hestilow@ximian.com>
* Makefile.am: Add dependency on CORBA_SOURCE to archiver-client.c.
(clean-local): Add CORBA_SOURCE to files to be removed.
2001-08-13 Richard Hestilow <hestilow@ximian.com>
* applier.c (applier_apply_prefs): Only draw disabled message
if do_preview. Actually, the user will never see this because
the correct behavior (which is done) is to assume if they're
running capplet, prefs->enable should be TRUE. This is because
we are only honoring enable as a hacker-only setting.
(output_compat_prefs): Output the correct "Enable" setting.
* background-properties-capplet.c (get_legacy_settings): Support
the "Enabled" flag.
* preferences.c (preferences_new_from_bonobo_db): Import the
"enabled" flag. Note that this is not bothered with in the _pbag
function, because that's from the Proxy settings, which is only
used for the GUI capplet, which always sets enabled to True, because
this is a hacker-only option. Got it?
* background-properties.xml: Add "enabled".
2001-08-10 Aaron Weber <aaron@ximian.com>
* help/: New directory: help and documentation.
* help/C/: New directory: English help and documentation.
* help/C/figures: New directory: figures for English help and docs.
* help/C/gnome-control-center.sgml: New file. Empty SGML skeleton.
2001-08-09 Richard Hestilow <hestilow@ximian.com>
* Makeflie.am (EXTRA_DIST): Install all pixmaps.
(pixmaps_DATA): Add blank-screen.png.
* pref-file.c: Replace "programs" value with a regenerated
string.
(print_aligned_row): Added.
(print_list_to_str): Added.
* preferences.h (Screensaver): Add new fields "filename",
"compat_command_line", "fakepreview", and "fakes",
to deal with the new xml storage.
(Preferences): Add new fields "savers_hash" and "invalidsavers".
* preferences.c (screensaver_list_prepend_dir): Added.
(screensaver_cmp_func): Added.
(screensaver_list_load): Added.
(preferences_new): Initialize savers_hash.
(clean_saver_list): Added.
(preferences_load): Load screensavers from xml.
(parse_arg_default): Added.
(screensaver_read_xml): Updated for the new format.
(screensaver_new_from_file): Added.
* prefs-widget.c (double_click_cb): Added.
(): Remove right click menu, add double click handler.
(model_is_cell_editable): Fix for etable bug.
(random_timeout_cb): Avoid vidwhacker and webcollage.
* preview.c: Optionally show fakepreview if set, and
deal with compat_command_line, and refresh pixbufs.
(command_exists): Renamed to rc_command_exists.
* rc-parse.c: (parse_screensaver_list): Merely update
the existing entries, via the provided hash.
* screensaver-prefs-dialog.c (get_argument_data): Just
find the xml file using ::filename.
* screensavers/magic.pl.in: Added.
* screensavers/Makefile.am: Generate .xml.h files for translators,
and install all .xml files and .png files, and run magic.pl on
make install.
2001-08-03 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (load_log_entry): Return NULL if fgets returns NULL
(dump_log): If both first_old and log_data are NULL, go ahead and
dump the file, since nothing has been loaded yet
(config_log_garbage_collect): Don't bother dumping the log file or
reloading
2001-08-02 Bradford Hovinen <hovinen@ximian.com>
* config-log.c (config_log_garbage_collect): Implement
(dump_log): Don't dump the old file if first_old is NULL
* main.c (main): Support --garbage_collect
* location.c (location_garbage_collect):
(garbage_collect_cb): Implement