Commit graph

49 commits

Author SHA1 Message Date
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Sebastien Bacher
b63d084a0f port of the font capplet to gtk_font_button and some cleanup,
patch from paolo borelli <pborelli@katamail.com> (Closes: #160016).
2005-05-22 15:11:44 +00:00
Thomas Cataldo
88cdc89141 plug gconf key leak.
2005-01-02  Thomas Cataldo  <thomas.cataldo@aliacom.fr>

	* gconf-property-editor.c: (gconf_property_editor_finalize): plug
	gconf key leak.

2005-01-02  Thomas Cataldo  <thomas.cataldo@aliacom.fr>

	* gnome-wp-capplet.c: (wallpaper_properties_init): plug icon
	filename leak.
2005-01-02 00:43:06 +00:00
Jody Goldberg
9493341cc9 tracked the long running irrtation about 'expecting int received float'.
2004-08-31  Jody Goldberg <jody@gnome.org>

	* capplets/common/gconf-property-editor.c
	(peditor_numeric_range_widget_changed) : tracked the long running
	  irrtation about 'expecting int received float'.  Running without a
	  schema would default the value to float.  12 of 13 callers had ints
	  so I have changed the default and added a warning.
2004-08-31 18:05:35 +00:00
Dennis Cranston
b1fabce5c3 Back out the file sel size kludges, federico has already put something similar
into the widget directly.

2004-02-07  Dennis Cranston  <dennis_cranston at yahoo com>

	* capplets/display/main.c: (create_dialog): Fix alignment of Options
	category. (#133715).
2004-02-19 17:07:01 +00:00
Muktha
92bc252e78 Do not popup the logout dialog when the close button (X) of window manager
2003-11-27  Muktha <muktha.narayan@wipro.com>

	* main.c: Do not popup the logout dialog when the close button (X) of
	window manager is clicked. Fixes bug #124032.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* accessibility-keyboard.c (cb_load_CDE_file) : Add a kludge to set
	  the vertical size based on the monitor size until the filesel can do
	  a better job of doing it itself.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* accessibility-keyboard.c: (load_CDE_file),
	(fchooser_handle_response), (cb_load_CDE_file): replace
	GtkFileSelection with GtkFileChooser.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* background-properties-capplet.c: remove unused
	"preview_file_selection.h" include.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gconf-property-editor.c (peditor_image_clicked_cb) : Use the monitor
	  size kludge for the vertical size of the new file selector.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* gconf-property-editor.c: (peditor_image_set_filename),
	(peditor_image_chooser_response_cb),
	(peditor_image_chooser_update_preview_cb),
	(peditor_image_clicked_cb): replace
	PreviewFileSelection (GtkFileSelection) with GtkFileChooser, use new
	gdk_pixbuf_new_from_file_at_size method to load a scaled image.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c : include
	  libgnome/gnome-help.h to avoid potential crash on 64 bit arches.
	(ax_response_callback) : actually display the error message on
	  failure.

2004-02-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=134389
	* Makefile.am : Patch from jmmv@menta.net (Julio M. Merino Vidal)
	  to honour the standard schema install flags.
	  I've extended the patch to support builddir != srcdir too
2004-02-16 17:32:53 +00:00
Jonathan Blandford
909c3626fc damn it Jonathan. Save the @#*&$@# file before committing.
Thu Aug  7 15:23:08 2003  Jonathan Blandford  <jrb@redhat.com>

	* gconf-property-editor.c (gconf_property_editor_set_prop): damn
	it Jonathan.  Save the @#*&$@# file before committing.
2003-08-07 19:22:51 +00:00
Jonathan Blandford
3acc178b31 Reset the old connection when setting a new one, #116232
Mon Aug  4 14:35:22 2003  Jonathan Blandford  <jrb@redhat.com>

	* gconf-property-editor.c (gconf_property_editor_init): Reset the
	old connection when setting a new one, #116232
2003-08-04 18:35:05 +00:00
Jonathan Blandford
532a9fae6a Warn when a font larger than 31 points is selected, #97653. Caring
Sat Aug  2 01:16:16 2003  Jonathan Blandford  <jrb@gnome.org>

        * main.c (application_font_to_gconf): Warn when a font larger than
        31 points is selected, #97653.
Caring Desktop++
2003-08-02 15:52:24 +00:00
Kjartan Maraas
73930e8c2a Merge Anders' fix from stable.
2003-07-03  Kjartan Maraas  <kmaraas@gnome.org>

	* gconf-property-editor.c: (gconf_property_editor_finalize):
	Merge Anders' fix from stable.
2003-07-03 13:56:37 +00:00
Jonathan Blandford
56057239d5 added the typing break to CVS from drwright.
Thu Jun 26 07:38:45 2003  Jonathan Blandford  <jrb@gnome.org>

	* typing-break/drwright.c: added the typing break to CVS from
	drwright.
2003-06-26 11:40:10 +00:00
Kjartan Maraas
60980d0fe5 Merge from stable branch 2003-04-29 17:52:40 +00:00
Jonathan Blandford
bd160edddf Patch from Kjartan Maraas to fix a bunch of leaks.
Thu Feb 13 18:51:37 2003  Jonathan Blandford  <jrb@redhat.com>

        * capplets/common/gconf-property-editor.c: (gconf_peditor_new):
        * capplets/common/gnome-theme-info.c: (read_meta_theme),
        (update_theme_index), (update_common_theme_dir_index),
        (top_theme_dir_changed), (top_icon_theme_dir_changed),
        (add_common_theme_dir_monitor), (real_add_top_theme_dir_monitor):
        * capplets/default-applications/gnome-default-applications-properti
        es.c: (initialize_default_applications), (read_editor),
        (read_terminal):
        * capplets/file-types/mime-edit-dialog.c: (fill_dialog):
        * capplets/file-types/mime-type-info.c: (load_all_mime_types):
        * capplets/file-types/mime-types-model.c:
        (mime_types_model_get_value):
        * capplets/font/main.c: (font_render_get_gconf), (enum_group_load):
        * capplets/mouse/gnome-mouse-properties.c: (read_cursor_font),
        (cursor_changed):
        * capplets/theme-switcher/gnome-theme-details.c:
        (window_theme_selection_changed):
        * capplets/theme-switcher/gnome-theme-manager.c:
        (meta_theme_selection_changed):
        * capplets/theme-switcher/theme-thumbnail.c:
        (generate_theme_thumbnail):
        * libsounds/sound-properties.c: (sound_properties_add_directory),
        (sound_properties_add_file):
        * libsounds/sound-view.c: (compare_func):
        * libwindow-settings/gnome-window-manager.c:
        (gnome_window_manager_new): Patch from Kjartan Maraas to fix a
        bunch of leaks.
2003-02-14 00:02:50 +00:00
Jody Goldberg
b6e858deb7 A Pile of pending changes 2002-07-16 22:07:42 +00:00
Jody Goldberg
71b67b6586 ui-review 2002-07-10 17:02:59 +00:00
jacob berkman
7d8fe6251b if we haven't been initting, don't pop up an error message. if we are, set
2002-05-16  jacob berkman  <jacob@ximian.com>

	* gconf-property-editor.c (peditor_image_set_filename): if we
	haven't been initting, don't pop up an error message.  if we are,
	set our image to GTK_STOCK_MISSING_IMAGE.  fixes bug exposed by
	fix for #76993
2002-05-16 22:21:48 +00:00
Mark McLoughlin
200282b7e0 add capplets/gnome-network-preferences.
2002-04-19  Mark McLoughlin  <mark@skynet.ie>

        * capplets/Makefile.am, configure.in: add
        capplets/gnome-network-preferences.

2002-04-19  Mark McLoughlin  <mark@skynet.ie>

        * gconf-property-editor.[ch]: (peditor_integer_value_changed),
        (peditor_integer_widget_changed), (gconf_peditor_new_integer_valist),
        (gconf_peditor_new_integer): implement GtkEntry based integer
        peditor.

2002-04-22  Mark McLoughlin  <mark@skynet.ie>

        * POTFILES.in: add network preferences capplet
        files.
2002-04-22 17:49:22 +00:00
Rachel Hestilow
702d06c8f8 Add in an explicit 'use_nick' parameter. Implicit guessing can break badly
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.c
	(gconf_peditor_new_select_menu_with_enum,
	 gconf_peditor_new_enum_toggle,
	 gconf_peditor_new_select_radio_with_enum): Add in an explicit
	 'use_nick' parameter. Implicit guessing can break badly if
	 the gconf data gets corrupted.
	(peditor_enum_int_from_string): Change use_nick to copy-by-value,
	do not try to guess it.
	(peditor_enum_conv_to_widget, guard_get_bool,
	 peditor_enum_toggle_conv_to_widget): Do not pass in use_nick
	 as a reference.
2002-04-22 01:26:59 +00:00
Rachel Hestilow
ef4591f5fb Add FontType enum, and a font_type parameter to gconf_peditor_new_font.
2002-04-10  Rachel Hestilow  <hestilow@ximian.com>

	* gconf-proprerty-editor.h: Add FontType enum, and a font_type
	parameter to gconf_peditor_new_font.

	* gconf-property-editor.c:
	(peditor_font_value_changed): Call peditor_font_merge_setting
	instead of setting the properties explicitly.
	(peditor_font_widget_changed): Switch on font_type to determine
	what to set for a GConfValue.
2002-04-11 01:41:17 +00:00
Richard Hestilow
ad88cdbaba Set fsel to modal, it seems to fix a weird grabbing bug.
2002-03-28  Richard Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.c (peditor_image_clicked_cb): Set
	fsel to modal, it seems to fix a weird grabbing bug.
2002-03-28 23:54:34 +00:00
Lauris Kaplinski
8835f45c62 Fail verbosely instead of silent crashing on certain missing/broken schemas 2002-03-25 22:27:54 +00:00
Jody Goldberg
5399ce0b1a Add AccessX capplet. 2002-03-23 04:39:24 +00:00
Richard Hestilow
be50597a25 Link to common.la and not common.a.
2002-03-19  Richard Hestilow  <hestilow@ximian.com>

	* configure.in (COMMON_LIBS): Link to common.la and not common.a.
2002-03-20 03:30:11 +00:00
Richard Hestilow
c10c6c06ce Committed new schemas patch.
2002-03-14  Richard Hestilow  <hestilow@ximian.com>

	* Committed new schemas patch.
2002-03-15 03:56:44 +00:00
Lauris Kaplinski
1eef9d7561 Replaced all deprecated methods except 2 GtkCTree instances with gnome-2
alternatives.
2002-02-13 16:52:18 +00:00
Richard Hestilow
31ac49063f Committed instant-apply patch sans background.
2002-02-11  Richard Hestilow  <hestilow@ximian.com>

	* Committed instant-apply patch sans background.
2002-02-12 06:16:11 +00:00
Richard Hestilow
94370f5702 Added font editor.
2002-02-10  Richard Hestilow  <hestilow@ximian.com>

	* gconf-property-editor.[ch]: Added font editor.
2002-02-10 07:39:40 +00:00
Jonathan Blandford
d56503be2a Move locate_pointer out.
Mon Jan 21 01:29:57 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-keyboard.c: Move locate_pointer out.

	* gnome-settings-mouse.c: Move locate_pointer in.  Clean up code.
	Remove print statements.
2002-01-21 06:38:45 +00:00
Jonathan Blandford
63c1b1daaf avoid recursive loops by only setting the UI if we're active.
Sun Jan  6 02:52:59 2002  Jonathan Blandford  <jrb@redhat.com>

	* gconf-property-editor.c (peditor_select_radio_widget_changed):
	avoid recursive loops by only setting the UI if we're active.
2002-01-06 07:55:41 +00:00
Bradford Hovinen
1bd61a6bdb Only remove from changeset if the changeset is non-NULL
2002-01-05  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_*_value_changed): Only remove
	from changeset if the changeset is non-NULL
2002-01-05 20:39:03 +00:00
Bradford Hovinen
68257fcb34 Implement. Sets the GConf value either in the changeset, or if changeset
2002-01-04  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_set_gconf_value):
	Implement. Sets the GConf value either in the changeset, or if
	changeset is NULL, directly
	(peditor_*_widget_changed): Use peditor_set_gconf_value
	(gconf_peditor_new_*): Don't complain if changeset is NULL
2002-01-04 20:48:17 +00:00
Bradford Hovinen
bc02837644 Eliminate compiler warnings
2001-12-20  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Eliminate compiler warnings

	* capplet-util.c: Eliminate compiler warnings
2001-12-20 20:21:39 +00:00
Bradford Hovinen
fb0d289855 Fold the callback back in; accept variable argument list with extra
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

	* */*-properties*.c: Update according to above
2001-12-20 20:14:59 +00:00
Bradford Hovinen
e6e398cbae Return FALSE (peditor_*_widget_changed): Just return if we are not fully
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 20:44:11 +00:00
Bradford Hovinen
9ec85dedd5 Connect to value_changed signal Add properties conv-{to|from}-widget-cb
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 20:19:03 +00:00
Bradford Hovinen
3cacd8d820 Connect to value_changed signal
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 14:53:59 +00:00
Bradford Hovinen
0f7c418ab1 Implement
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_int_range_value_changed)
	(peditor_int_range_widget_changed, gconf_peditor_new_int_range):
	Implement
2001-12-18 19:37:49 +00:00
Bradford Hovinen
1efa46f928 Use gconf_client rather than gconf_engine
2001-12-18  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c: Use gconf_client rather than
	gconf_engine
2001-12-18 16:39:55 +00:00
Bradford Hovinen
26aba8a5e3 Use actual signature for the changed signal
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 16:18:35 +00:00
Bradford Hovinen
250f23b97b Work correctly with multiple callback signatures
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 19:32:15 +00:00
Bradford Hovinen
ac131fc554 Use gtk_option_menu_set_history
2001-12-17  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_select_menu_value_changed):
	Use gtk_option_menu_set_history
2001-12-17 18:23:18 +00:00
Bradford Hovinen
aa5de9e7cc Implement (peditor_color_widget_changed): Use correct signature for the
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 18:18:22 +00:00
Bradford Hovinen
1f7b8868df Use a local stack variable for the color rather than a pointer. Duh.
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.
2001-12-17 14:41:33 +00:00
Bradford Hovinen
4703f9f1a1 Make sure value is non-NULL
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (peditor_*_value_changed): Make sure
	value is non-NULL
2001-12-07 19:33:40 +00:00
Bradford Hovinen
e3e6ee216f Make the changeset property a pointer (gconf_property_editor_set_prop):
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (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
2001-12-07 19:15:14 +00:00
Bradford Hovinen
bb8f864104 Terminate the parameter list passed to g_object_new with NULL
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_peditor_new_*): Terminate the
	parameter list passed to g_object_new with NULL
2001-12-07 17:38:07 +00:00
Bradford Hovinen
5ac70e7b71 Use correct ordering of setup
2001-12-07  Bradford Hovinen  <hovinen@ximian.com>

	* gconf-property-editor.c (gconf_property_editor_class_init): Use
	correct ordering of setup
2001-12-07 17:28:28 +00:00
Bradford Hovinen (Gdict maintainer)
d3133da76a GNOME 2.0 port. Changes too numerous to mention.
Removed bonobo-conf support entirely. Added simple GConf-based
property editors. These will be replaced by PonG when that gets
ported.
2001-11-10 20:52:31 +00:00