gnome-control-center/capplets/common/ChangeLog

312 lines
11 KiB
Text
Raw Normal View History

2001-12-20 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_peditor_new): Fold the callback
back in; accept variable argument list with extra parameters
(gconf_peditor_new_filename): Return the property editor
(gconf_peditor_new_string_valist): Split this out
(gconf_peditor_new_string): Call _valist variant
(gconf_peditor_new*): Update
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
(peditor_string_value_changed): Free the value created from
conversion
(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
* 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
* 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-18 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.h: Don't #include bonobo*.h
* gconf-property-editor.c (peditor_string_widget_changed): Use
actual signature for the changed signal Use gconf_client rather
than gconf_engine
(gconf_property_editor_set_prop): Use weak_ref rather than destroy
signal
(peditor_int_range_value_changed)
(peditor_int_range_widget_changed, gconf_peditor_new_int_range):
Implement
2001-12-17 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_color_value_changed): Use a
local stack variable for the color rather than a pointer. Duh.
(peditor_select_menu_widget_changed): Use
gtk_option_menu_get_history
(peditor_select_menu_widget_changed): Accept option_menu as
parameter
(gconf_peditor_new_select_menu): Connect changed signal rather
than activate signal on the menu items
(gconf_property_editor_get_key): Implement
(peditor_color_widget_changed): Use correct signature for the
signal handler
(peditor_select_menu_value_changed): Use
gtk_option_menu_set_history
(guard_value_changed, gconf_peditor_widget_set_guard): Implement
(peditor_string_widget_changed): Work correctly with multiple
callback signatures
(gconf_peditor_new_string): Use changed signal
2001-12-08 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (peditor_*_widget_changed): Don't call
gconf_value_free
2001-12-07 Bradford Hovinen <hovinen@ximian.com>
* gconf-property-editor.c (gconf_property_editor_class_init): Use
correct ordering of setup
(gconf_peditor_new_*): Terminate the parameter list passed to
g_object_new with NULL
(gconf_property_editor_class_init): Make the changeset property a
pointer
(gconf_property_editor_set_prop): Use g_value_get_object for the
destroy notify object
(peditor_*_value_changed): Make sure value is non-NULL
2001-11-03 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am (libcommon_a_SOURCES): Added gconf-property-editor.[ch]
2001-10-27 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_default_moniker): Switch to gconf: moniker
(capplet_init): Remove legacy file hack
2001-10-18 Bradford Hovinen <hovinen@ximian.com>
* Bonobo_Control_Capplet_generic.oaf.in: Update listener name
* capplet-util.c (create_control_cb): Use correct prefix for listener
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_factory_name): Updated factory name to
reflect new, expanded roles
* Bonobo_Control_Capplet_generic.oaf.in: Create
2001-09-29 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_control_cb): Elimite reference counter --
it's not necessary
(create_control_cb): Make this a multi-factory so that we can
return the listener when needed
(capplet_init): Set up the listener here rather than in
get_control_cb; also remove the listener and unref the database
here
(quit_cb, real_quit_cb): Remove (thank the gods)
2001-09-28 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_default_moniker): Remove -control from the
end of the string as well as -capplet
(get_factory_name): Ditto
(get_property_name): Ditto
2001-09-24 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (legacy_is_modified): Improved error checking and
cleaned up the logic a bit
2001-09-14 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (set_moniker_cb): Don't call setup_cb after the
first time
2001-09-03 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (set_moniker_cb): Free the full moniker to
correct memory leak
(set_moniker_cb): Disconnect old signal handler
2001-08-20 15:47:57 +00:00
2001-08-20 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (get_default_moniker): Update moniker being used
2001-07-30 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (capplet_init): Don't sync if we need legacy
values
(capplet_init): Call setup_session_mgmt if --apply or
--init-session-settings was passed
2001-07-27 Bradford Hovinen <hovinen@ximian.com>
* RELEASE : 1.5.2
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-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.
2001-07-24 Richard Hestilow <hestilow@ximian.com>
* capplet-util.c: Remove debugging cruft.
(capplet_init): Check for legacy with --init-session-settings too.
2001-07-24 Richard Hestilow <hestilow@ximian.com>
* capplet-util.[ch] (capplet_init): New argument of legacy files to
check for changes.
* capplet-util.c (legacy_is_modified): New function that checks
a legacy file against the archiver modification date.
(capplet_init): Pass legacy_files to legacy_is_modified, and sync
our database with the legacy one if one has been.
2001-07-24 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (real_quit_cb): Reenable disabled code
(quit_cb): Put the db an id objects in a pair structure and pass
that to the callback
(real_quit_cb): Extract the db and id objects from the pair
(create_control_cb): Set up listener for sync event rather than
change event
2001-07-23 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (set_moniker_cb): Set InvalidValue exception if
the program could not resolve the moniker
2001-07-20 09:49:49 +00:00
2001-07-20 Chema Celorio <chema@celorio.com>
* RELEASE : 1.5.0
2001-07-19 Richard Hestilow <hestilow@ximian.com>
* capplet-util.c (quit_cb): Add an idle handler to call the real
quit cb.
(real_quit_cb): Added, it is what quit_cb used to be.
2001-07-19 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_control_cb): Use a static variable for
the control and return NULL if the control was already created
2001-07-18 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_control_cb): Store listener id in
property control
(quit_cb): Remove listener before releasing database
(set_moniker_cb): Kill any existing db object in case the moniker
is set more than once
(set_moniker_cb): Connect destroy signal on pf to pf_destroy_cb
(pf_destroy_cb): Implement
2001-07-18 Richard Hestilow <hestilow@ximian.com>
* capplet-util.[ch]: Revert my last proxy-related change.
2001-07-18 Richard Hestilow <hestilow@ximian.com>
* capplet-util.h (CreateDialogFn): Add a PropertyBag argument so
capplet authors can hook up to the proxy.
* capplet-util.c (get_control_cb): Pass the proxy bag to setup_cb.
(capplet_init): Don't free default_moniker until after we print it.
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (capplet_init): Support --init-session-settings
for compatibility reasons
(setup_session_mgmt): Implement. Make sure capplet runs the next
time the user logs in
(capplet_init): Call setup_session_mgmt for --get-legacy and
standard execution
(get_property_name): Implement. Return the property name
associated with the capplet
(set_moniker_cb): Use GTK_BIN (pf)->child rather than
bonobo_control_get_widget
(get_control_cb): Destroy the property control when the control or
the widget are destroyed
(quit_cb): Implement
(create_control_cb): Connect destroy signal of property control to
quit_cb
(get_factory_name):
(get_default_moniker):
(get_property_name): Use correct names when the full path was
specified for the executable
* Makefile.am (INCLUDES): Removed -DGLADE_DATADIR
* capplet-util.c (create_dialog_cb): Use create_widget_cb rather
than loading from Glade
(capplet_init): Accept CreateDialogFn and initialize
create_dialog_cb
(close_cb): Don't call gtk_object_destroy (dialog)
(get_control_cb): Rename from create_dialog_cb
2001-07-14 Carlos Perell<6C> Mar<61>n <carlos@gnome-db.org>
* .cvsignore: ssshhhh
2001-07-13 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (create_dialog_cb): Return NULL in the case that
the control is already present