2001-07-30 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (capplet_init): Call setup_session_mgmt if --apply or
--init-session-settings was passed
2001-07-27 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?
2001-07-27 Richard Hestilow <hestilow@ximian.com>
* prefs-widget.c (random_timeout_cb): Don't go into an infinite
loop if there are absolutely no enabled screensavers.
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties.glade: Fix mouse speed and acceleration
controls to be wider and to use discrete values
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties.xml: Change type of right-to-left to ulong
* mouse-properties-capplet.c (apply_settings): Use get_ulong
rather than get_boolean
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* applier.c (applier_apply_prefs): Don't try to load the wallpaper
if it's not enabled
* preferences.c (preferences_new_from_bonobo_pbag): Use
bonobo_property_editor_client_get_value_*
(preferences_new_from_bonobo_pbag): Set gradient_enabled properly
from property bag
(preferences_new_from_bonobo_pbag): Check for wallpaper == "(none)"
(preferences_new_from_bonobo_db): Ditto above
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* applier.c (renderer_render_wallpaper): Restore some lost tweaks
from earlier.
* preferences.c (preferences_init): strdup the home directory
* applier.c: Store preview widget in the renderer, not the applier
itself
2001-07-26 Richard Hestilow <hestilow@ximian.com>
* applier.c: Remove all bonobo-conf stuff.
* preferences.[ch]: New functions preferences_new_from_bonobo_pbag
and preferences_new_from_bonobo_db.
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* keyboard-properties.c (apply_settings): Initialize the other
fields of this data structure
(apply_settings): Use lookup table to get the values to put in
kbdsettings
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (capplet_init): Don't sync the database if
retrieving legacy setings before creating the factory
(create_control_cb): Create the config database ourselves
(pf_destroy_cb): Remove evil hackery
(get_control_cb): Ditto
(create_control_cb): Support multiple property control objects --
use a GtkObject called ref_obj to make sure the program quits when
there are no such objects left
(capplet_init): Pass default_moniker to factory callback;
release_unref the db ourselves
(get_control_cb): Support multiple controls; soak in global
control and widget variables
(legacy_is_modified): Remember to unref the property bag
(quit_cb): Allow being called more than once
(quit_cb): Unref ref_obj here
(create_control_cb): Eliminate second signal connection
(real_quit_cb): Free the pair structure
(all_done_cb): Implement. Just add gtk_main_quit to the idle
handler list
(create_control_cb): Connect destroy signal of ref_obj to
all_done_cb
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* applier.c (renderer_render_wallpaper): Make sure not to scale
the pixbuf if the wallpaper type is centered
2001-07-26 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (property_change_cb): Accept
applier as argument; retrieve property bag from applier
(realize_cb): Retrieve applier from widget
(setup_dialog): Store property bag in applier
* applier.c (renderer_new): Store applier inside renderer; accept
applier as function parameter
* background-properties-capplet.c (create_dialog): Store the
applier inside the widget
* applier.c (struct _ApplierPrivate ): Define preview_widget here
rather than globally
(applier_get_preview_widget): Make this a method of the applier class
2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am: remove the OAF_FILE_IN_RULE and copy it here
(bonobo_sources): add bonobo-properties-editor-range.[ch]
* Makefile.am: remove the DESKTOP_IN_RULE and copy the sed here
2001-07-25 Chema Celorio <chema@celorio.com>
* Makefile.am : generate the .oaf file from the .oaf.in file
The DESKTOP_EXEC_LINE was missing the --capplet at the end, add.
2001-07-25 Chema Celorio <chema@celorio.com>
* configure.in (GNOMECC_CAPPLETS_OAF_FILE_IN_RULE): scape correctly the
OAF_FILE_IN_RULE, it was not escaped before but for some reason it didn't
generated and error
* capplets/Makefile.am (SUBDIRS): we need to build LIBCOMMON_DIR
before the capplets cause the capplets link with ../common/libcommon.a
2001-07-03 Richard Hestilow <hestilow@ximian.com>
* preview.[ch]: New function show_blank_preview.
* prefs-widget.c (prefs_widget_set_mode): Call show_blank_preview
if set to disabled or blank screen.
(selection_changed_cb): Don't show the preview if mode is set to
disabled or blank screen.
2001-07-24 Richard Hestilow <hestilow@ximian.com>
* capplet-util.c (get_control_cb): Set control data on PropertyFrame
as part of evil hack.
(quit_cb): Work if called multiple times...also evil.
(pf_destroy_cb): unref the control...evil evil evil.