2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* libbackground/preferences.[ch]: Rename preferences to
bg_preferences to avoid possible namespace collision
* All: Update to reflect the above
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (init_widget_cb): Return FALSE
(peditor_*_widget_changed): Just return if we are not fully
initialized
(init_widget_cb): Set initialized flag
(struct _GConfPropertyEditorPrivate): Add inited
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_peditor_new_float_range)
(gconf_peditor_new_int_range): Connect to value_changed signal Add
properties conv-{to|from}-widget-cb and use those for conversion
of values to and from the widget
(peditor_{int|float}_range_value_changed, friends): Combine into
peditor_numeric_*
(gconf_peditor_new): Implement. Factor out some common code from
the various type-specific constructors
(peditor_*_value_changed): Don't check if the value is the same as
what is already in the widget; it's not very important
(peditor_*_value_changed): Remove the key from the changeset
(gconf_peditor_new_*): Add g_return_val_if_fail macros
(gconf_peditor_widget_set_guard): Add g_return_if_fail macros
(gconf_value_float_to_int, gconf_value_int_to_float): Implement
(gconf_property_editor_set_prop): Store the callback in the
property editor proper
(gconf_peditor_new): Put initialization code in an idle handler
* gconf-property-editor.c: Add ui-control property storing the
object (normally a widget) that controls the property; remove
object property and replace its function with ui-control
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_peditor_new_float_range)
(gconf_peditor_new_int_range): Connect to value_changed signal
* capplet-util.c: Comment out most of this file
* gconf-property-editor.c (gconf_peditor_new_int_range): Convert
to ~_float_range
(gconf_peditor_new_float_range): Add callbacks for conversion
between widget's values and GConf values in the signature
(peditor_float_range_widget_changed): Issue callback, if
available, to convert from widget's values to GConf values
(peditor_float_range_value_changed): Vice verca above
(gconf_peditor_new_int_range, peditor_int_range_widget_changed)
(peditor_int_range_value_changed): Implement. Copy from float
versions
2001-12-19 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties-capplet.c (double_click_from_gconf): Divide by
1000.0, use floats
(double_click_to_gconf): Implement
(drawing_area_button_press_event): Don't call
double_click_from_gconf
(drawing_area_button_press_event): Use response of
gconf_change_set_check_value to determine if value is in changeset
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* mouse-properties-capplet.c (double_click_from_gconf): Single
closed-form formula here
Code reorganization; many changes
2001-12-19 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnome-hint-properties.desktop.in:
Remove because gnome-core is now installing for the
new GNOME CC.
2001-12-19 Seth Nickell <snickell@stanford.edu>
* default-applications.desktop.in.in:
Add Categories field so it shows up under the
Settings submenu in the panel menus.
2001-12-19 Seth Nickell <snickell@stanford.edu>
* background.desktop.in.in:
Add Categories field so it goes into the right location
in the panel menus.
2001-12-19 Seth Nickell <snickell@stanford.edu>
* Makefile.am:
* gnomecc.desktop.in:
Install into $datadir/applications and add a Categories
field to the .desktop file.
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* keyboard-properties.c: (get_int_from_changeset): Use return
value of gconf_change_set_check_value to determine if the key
is in the set
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* keyboard-properties.c: Port to GConf/GNOME 2.0. Many changes.
(setup_dialog): Use correct widget name
(create_dialog): Use gtk_image_ functions for the volume icon
* keyboard-properties.glade: Remove placeholders
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c: Use gconf_client rather than
gconf_engine
(setup_dialog): Use correct path for enabled
(main): Preload the background settings directory for performance
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_string_widget_changed): Use
actual signature for the changed signal
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* background.schema: Update keys to use /desktop/gnome/background
* background-properties-capplet.c: Update GConf keys to use
/desktop/gnome/background
2001-12-18 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (property_change_cb): Remove
(create_dialog): Return GladeXML, not GtkWidget
(setup_dialog): Put GladeXML in the signature rather than
GtkWidget
(peditor_value_changed): Retrieve color_frame directory rather
than through Glade
(real_realize_cb): Ditto
(setup_dialog): Set color-frame rather than glade-data
(main): Construct the preview applier here rather than in
create_dialog
(main): Unref the applier object when the dialog is destroyed
(setup_dialog, create_dialog): Put the applier in the signature
Use weak_ref rather than the destroy signal for all relevant
objects
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* capplet-dir-view.c (capplet_dir_view_init): Move most of the
initialization stuff from capplet_dir_view_new to here
* capplet-dir-view.[ch]: Port to GObject
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (peditor_value_changed): Set
the sensitivity of the color frame depending on the settings
(peditor_value_changed): Use correct keys
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_string_widget_changed):
Work correctly with multiple callback signatures
(gconf_peditor_new_string): Use changed signal
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_property_editor_get_key):
Implement
(peditor_color_widget_changed): Use correct signature for the
signal handler
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (peditor_value_changed):
Retrieve the applier from the preferences object and use it to
apply settings on the preview widget
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* background-properties-capplet.c (dialog_button_clicked_cb):
Apply settings after commiting the change set