2005-07-27 Sebastien Bacher <seb128@debian.org>
* capplet-util.c: (capplet_set_icon): set a default icon for capplets,
patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes: #305086).
2005-07-11 Rodney Dawes <dobey@novell.com>
* capplet-util.c (capplet_set_icon): Remove the unref call on the
GtkIconTheme object to avoid crashing
Fixes#310037
2005-07-10 Rodney Dawes <dobey@novell.com>
* capplet-util.c (capplet_set_icon): Update to use the GtkIconTheme
API instead of the deprecated GnomeIconTheme API
Based on patch from Jan de Groot
Fixes#171679
2002-06-15 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=85397http://bugzilla.gnome.org/show_bug.cgi?id=84545
* mime-types-model.c (mime_types_model_get_value) :
gtk_tree_view_search_equal_func does not like NULL.
(IS_CATEGORY) : check for NULL.
* file-types-capplet.c (create_dialog) : search the description not
the mime type.
2002-06-08 Jody Goldberg <jody@gnome.org>
* mime-types-model.c (IS_CATEGORY) : test for null in case we are
stupid.
2002-06-07 Jody Goldberg <jody@gnome.org>
* file-types-capplet.c (dialog_done_cb) : no need to save things
again. The only caller had already done that.
* mime-type-info.c (mime_type_info_save) : Don't mess with the
application here, it should already be setup. However, be really
really anal about verifying it because I do not trust the
surrounding code or know it well enough to trust it. Make sure that
the assigned app is on the short list of associated apps.
* mime-category-edit-dialog.c (store_data) : Use
mime_edit_dialog_get_app.
* mime-edit-dialog.c (store_data) : Use it here too.
(mime_edit_dialog_get_app) : new. split some duplicated code out of
the type and category dialogs and move it here. Then make it
readable and less stupid about creating copies of existing
applications. While we're at it have it handle the creation of new
applications, merging commands with existing applications and other
useful stuff.
2002-06-07 Jody Goldberg <jody@gnome.org>
* mime-category-edit-dialog.c (store_data) : clarify and remove the
custom flag.
* mime-type-info.c (mime_category_info_using_custom_app) : delete.
(mime_type_info_using_custom_app) : delete.
* mime-edit-dialog.c (validate_data) : correct the warning about
invalid type, we would _not_ create one for the user :-(
Allow a user to optionally overwrite an existing mime type.
This is useful when editing.
* mime-edit-dialog.c (store_data) : clarify and remove the custom flag.
2002-06-10 Jody Goldberg <jody@gnome.org>
* accessibility-keyboard.c : tweak the layout as requested and adjust
the max slowkey delay to 500 to avoid losing the keyboard due to some
sort of an X problem.
2002-06-13 Jody Goldberg <jody@gnome.org>
* gnome-keyboard-properties.c (accessibility_button_clicked) : produce
a better warning for failure to launch the keyboard accessibility
capplet.
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-09 Gediminas Paulauskas <menesis@delfi.lt>
* *.c (main): retrieve translation in utf-8 codeset. Do not
setlocale ().
* some Makefile.am (INCLUDES): remove intl.
(..._LDADD): remove INTLLIBS
2001-10-13 Bradford Hovinen <hovinen@ximian.com>
* bonobo-config-archiver.c (real_sync): Try to resolve a listener
to make sure that something is listening when we issue the sync
event (disabled for now)
(get_listener_oafiid): Implement (disabled for now)
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-10-12 Bradford Hovinen <hovinen@ximian.com>
* Makefile.am ($(oaffile)): Make creation of the .oaf file generic
2001-10-12 Bradford Hovinen <hovinen@ximian.com>
* capplet-dir.c (capplet_control_launch): Unref the property bag
when we are done
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
* capplets/*/Makefile.am: Change the binary name to
*-properties-control and create a wrapper script from
../common/wrapper-script.in to be named
*-properties-capplet
Remove support for disabling bonobo-conf build
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-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-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.[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-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
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
* capplet-dir.c (capplet_control_launch): Put up an error dialog
and abort the process if the capplet reports an error trying to
resolve its moniker
2001-07-23 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (set_moniker_cb): Put up error dialog if we could
not resolve the configuration moniker
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.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>
* bonobo-config-archiver.c (bonobo_config_archiver_new): Add
mechanism for quitting once the moniker is no longer in use
(bonobo_config_archiver_new): Make archive a static variable
(bonobo_config_archiver_new): Explicitly destroy archive when
program quits
(timeout_cb): Remove
* capplet-util.c (get_factory_name):
(get_default_moniker):
(get_property_name): Use correct names when the full path was
specified for the executable
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (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
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* capplet-util.c (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): Quit the program when the control or the widget
are destroyed
2001-07-17 Bradford Hovinen <hovinen@ximian.com>
* 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
* sound-properties-capplet.c (create_dialog): Implement
(main): Call glade_gnome_init; pass create_dialog to capplet_init
(setup_dialog): Retrieve the Glade data from the widget passed to
this function
(create_dialog): Make sure dialog is destroyed when widget is
* Makefile.am (EXTRA_DIST): Changed Applications_DATA to
Applications_in_files
(INCLUDES): Add -DGLADE_DATADIR
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
* capplet-dir.c (capplet_control_launch): Accept window_title
parameter and use it as the title
(capplet_activate): Pass entry->name to capplet_control_launch
(capplet_control_launch): Don't print error and use correct test
for control_ref == CORBA_OBJECT_NIL