Commit graph

88 commits

Author SHA1 Message Date
Jody Goldberg
4ab7f6e379 Release 2.1.3
2002-11-23  Jody Goldberg <jody@gnome.org>

	* Release 2.1.3
2002-11-24 05:16:35 +00:00
Mark McLoughlin
a43af53a3f Create a XSettingsManager for every available screen and apply settings
2002-11-08  Mark McLoughlin  <mark@skynet.ie>

        Create a XSettingsManager for every available
        screen and apply settings changes to each.

        * gnome-settings-daemon.c:
        (manager_event_filter): make this a per-window filter
        and ask the appropriate xsettings manager to filter
        the event.
        (finalize): dispose of every manager.
        (gnome_settings_daemon_new): create a settings manager
        for each screen.

        * gnome-settings-xsettings.c:
        (translate_bool_int), (translate_int_int),
        (translate_string_string), (process_value),
        (xsettings_callback), (xft_callback),
        (gnome_xft_settings_set_xsettings),
        (gnome_settings_xsettings_load): apply settings to
        every available settings manager.
2002-11-08 03:26:33 +00:00
Jody Goldberg
de3fad8d1a Release 2.1.2
2002-11-02  Jody Goldberg <jody@gnome.org>

	* Release 2.1.2
2002-11-02 19:03:15 +00:00
Jody Goldberg
ce78d4d670 register the gconf handler early.
2002-10-31  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : register the gconf
	  handler early.
	(gnome_settings_accessibility_keyboard_load) : not here where it is
	  too late.
2002-11-01 03:42:18 +00:00
Havoc Pennington
692b9dde4f adapt to gnome-wm-manager API changes
2002-10-26  Havoc Pennington  <hp@pobox.com>

	* theme-switcher.c (window_read_themes): adapt to gnome-wm-manager
	API changes

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-manager.c: handle NULL fields in the class struct;
	and replace the individual setters with get/set for a big
	struct with flags indicating which fields we care about,
	a la a graphics context. Add settings_changed signal.
	(gnome_window_manager_get_type): change object name to
	GnomeWindowManager not GWindowManager

	* gnome-window-manager.h (struct _GnomeWindowManagerClass): add
	padding to the class struct

	* Makefile.am: move metacity module here from capplets/windows/
	(libgnome_window_settings_la_SOURCES): don't build the code to
	switch window managers, it was bitrotted and broken anyway, and
	isn't in the UI right now. Keep the code in EXTRA_DIST in case
	someone wants to recover it. Move some relevant bits to
	gnome-wm-manager.c

2002-10-26  Havoc Pennington  <hp@pobox.com>

	* gnome-window-properties.c: rewrite

	* Makefile.am (bin_PROGRAMS): remove metacity module, move to
	libwindow-settings
	(gnome_window_properties_LDADD): properly link to .la file for
	libgnome-window-settings, not the installed copy
2002-10-29 06:19:52 +00:00
Jonathan Blandford
69fcadbe29 add Gtk/CanChangeAccels to xsettings
Sun Oct 27 09:00:46 2002  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-xsettings.c: add Gtk/CanChangeAccels to xsettings
2002-10-27 14:07:38 +00:00
Jody Goldberg
de4daccb66 Release 2.1.1
2002-10-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.1
2002-10-21 16:48:10 +00:00
Mark McLoughlin
eb18bfe0f2 don't connect to the session manager.
2002-10-20  Mark McLoughlin  <mark@skynet.ie>

        * factory.c: (main): don't connect to the session manager.
2002-10-19 22:45:38 +00:00
Erwann Chenede -
b1108500bf added function to get display string from an XEvent. (keybindings_filter)
2002-10-18 Erwann Chenede - <erwann.chenede@sun.com>

        * gnome-settings-keybindings.c
	(screen_exec_display_string) : added function to get display
	                               string from an XEvent.
	(keybindings_filter) : set a fully qualified DISPLAY env variable
	                       when spawing a keybinding action.
2002-10-18 17:22:13 +00:00
Jody Goldberg
4d659c1ed8 http://bugzilla.gnome.org/show_bug.cgi?id=91535 as michael points out it
2002-10-08  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=91535
	* gnome-settings-sound.c : as michael points out it is silly to start
	  the daemon just so that we can stop it.  Dunno much about esound
	  code so the funky logic is left untouched.
2002-10-08 16:53:53 +00:00
Jody Goldberg
54100a3134 http://bugzilla.gnome.org/show_bug.cgi?id=95179 do nothing here.
2002-10-08  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=95179
	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : do nothing here.
	(gnome_settings_accessibility_keyboard_load) : install the filter
	  here, _after_ loading the gconf settings.
	(set_gconf_from_server) : check to see if anything has actually
	  changed before sending off the changeset.
2002-10-08 16:38:20 +00:00
Jody Goldberg
69bc347c0f Forgot to commit when I did the 2.1.0.1 snapshot
2002-10-01  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0.1
2002-10-03 10:17:40 +00:00
Hidetoshi Tajima
fe9580785a disable/enable preedit/status in GtkIMContextXIM (#59076)
* gnome-settings-xsettings.c: added two new xsettings
	for GTK+ input method preedit and status styles.

	With the other patch for gtk+, the preedit and status styles of
	GTK+ input method are configurable with associated gconf schemas
	keys:
	"/desktop/gnome/interface/gtk-im-preedit-style"
	"/desktop/gnome/interface/gtk-im-status-style"

	Both are set to "callback" by default, and platform's
	packging can have different default by changing
	libgnome's desktop_gnome_interface.schemas.
2002-09-24 22:57:29 +00:00
Jody Goldberg
a1f98f2f24 Fix conflicting accelerators.
2002-09-11  Jody Goldberg <jody@gnome.org>

	* gnome-accessibility-keyboard-properties.glade : Fix conflicting
	  accelerators.

	* accessibility-keyboard.c (setup_dialog) : connect the simple items
	  before the master.
	(cb_master_enable_toggle) : desensitize the subfeature content if the
	  master switch is disabled.
2002-09-11 13:24:23 +00:00
Jody Goldberg
864c769bc3 merge in the pending changes 2002-09-10 04:04:20 +00:00
Jody Goldberg
b3ca0b3f9f Release 2.1.0
2002-08-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0
2002-08-21 06:01:42 +00:00
Jody Goldberg
3b1c8cb1cd fix missed capitalization for the ui-review.
2002-08-10  Jody Goldberg <jody@gnome.org>

	* file-types-properties.glade : fix missed capitalization for the
	ui-review.

2002-08-15  Jody Goldberg <jody@gnome.org>

	* gnome-keyboard-properties.glade : fix label and make consistent with
	  mouse capplet.
	* gnome-keyboard-properties.c (create_dialog) : use size groups.

2002-08-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=90778
	* gnome-settings-accessibility-keyboard.c (set_gconf_from_server) :
	  Add a heuristic so that we do not disable features in gconf just
	  because they are disabled in the X server.  If the master switch is
	  already disabled in gconf we can guess that most of the time it
	  means that people want to keep their flags.


2002-08-07  Jody Goldberg <jody@gnome.org>

	* po/POTFILES.in : remove bogus file.
2002-08-15 17:54:10 +00:00
Michael Meeks
f40d584822 flag that we scuppered the remote daemon. (apply_settings): resume it if
2002-08-07  Michael Meeks  <michael@ximian.com>

        * gnome-settings-sound.c (stop_esd): flag that
        we scuppered the remote daemon.
        (apply_settings): resume it if we killed it,
        don't kill it more than once.
        Don't iterate over all the sounds and try to
        push to the server if we have sound disabled,
        saves a chunk of time.
        This fixes the 'toggle sound a lot breaks it' bug.
2002-08-08 04:26:12 +00:00
Jody Goldberg
97c9f86f49 A Pile of pending patches 2002-08-06 18:42:54 +00:00
Mark McLoughlin
1f18e59fb4 add check for gtk+ with multihead support and define HAVE_GTK_MULTIHEAD if
2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        * configure.in: add check for gtk+ with multihead
        support and define HAVE_GTK_MULTIHEAD if found.

2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        Add multiscreen support for background rendering.

        * gnome-settings-background.c:
        (background_callback): apply prefs to all screens.
        (gnome_settings_background_init): create a BGApplier for
        each screen.
        (gnome_settings_background_load): apply prefs to all
        screens.
2002-07-28 19:15:27 +00:00
jacob berkman
3349b8e5dc if nautilus is drawing the desktop, just return
2002-07-22  jacob berkman  <jacob@ximian.com>

	* gnome-settings-background.c (gnome_settings_background_load): if
	nautilus is drawing the desktop, just return
2002-07-22 14:56:57 +00:00
jacob berkman
394f64e38c fix build
2002-06-19  jacob berkman  <jacob@ximian.com>

	* Makefile.am: fix build
2002-06-19 22:46:39 +00:00
Jody Goldberg
96a33b67f8 Release 2.0.0
2002-06-17  Jody Goldberg <jody@gnome.org>

	* Release 2.0.0
2002-06-17 22:10:21 +00:00
Jody Goldberg
91d6c53977 http://bugzilla.gnome.org/show_bug.cgi?id=85327 These strings do look
2002-06-17  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85327
	* gnome-settings-xsettings.c (translate_string_string) : These strings
	  do look wrong.  The capplet is setting the keys from the schema.
	  we were not mapping them to the write xsettings.  It did not really
	  matter because we were not using xsettings to communicate these
	  values.
2002-06-17 21:22:12 +00:00
Jody Goldberg
7eaed7842e add some bounds checking.
2002-06-10  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  add some bounds checking.
2002-06-12 13:50:21 +00:00
Kjartan Maraas
12237f8c09 Make the last string consistent with the rest in this file.
2002-06-06  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-settings-keybindings.c: Make the last string consistent
	with the rest in this file.
2002-06-09 07:15:29 +00:00
Erwann Chenede -
6d01ec717c do not quit gnome-settings-daemon when pressing Ok when the warning dialog
2002-06-06 Erwann Chenede - <erwann.chenede@sun.com>

       * gnome-settings-keybindings.c (keybindings_filter) :
         do not quit gnome-settings-daemon when pressing Ok
	 when the warning dialog appears. fix bug #84364
	 Added localization hooks.
2002-06-06 14:18:15 +00:00
Jody Goldberg
cd185dae21 Add some bounds checking.
2002-05-30  Jody Goldberg <jody@gnome.org>

	* gnome-settings-keyboard.c (xkb_set_keyboard_autorepeat_rate) : Add
	  some bounds checking.
2002-05-30 17:38:52 +00:00
Jonathan Blandford
3b070f76d1 Add gnome-settings-keybinding initialize keybindings support Patch to add
Wed May 29 20:23:13 2002  Jonathan Blandford  <jrb@redhat.com>

        * Makefile.am: Add gnome-settings-keybinding
        * gnome-settings-daemon.c: (gnome_settings_daemon_new): initialize
        keybindings support
        * gnome-settings-keybindings.[ch]: Patch to add support for custom
        keybindings.  Thanks to Erwann Chenede <Erwann.Chenede@sun.com>
        for the patch.
2002-05-30 00:25:29 +00:00
Jody Goldberg
8c6844c7bb disable some debug spew. (set_gconf_from_server) : ditto.
2002-05-22  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  disable some debug spew.
	(set_gconf_from_server) : ditto.
2002-05-22 21:08:19 +00:00
jacob berkman
6852ac0eb3 run the mkfontdir command synchronously to avoid a possible race. extra
2002-05-22  jacob berkman  <jacob@ximian.com>

	* gnome-settings-font.c (load_cursor): run the mkfontdir command
	synchronously to avoid a possible race.  extra precaution for
	#78023

	* gnome-settings-daemon.c (gnome_settings_daemon_new): run
	background settings after everything else, as some of those spawn
	processes (xscreensaver) and background settings nices itself

	should fix #78742
2002-05-22 20:58:14 +00:00
jacob berkman
513acbdcc0 quit when we get the die signal from the SM
2002-05-22  jacob berkman  <jacob@ximian.com>

	* factory.c (main): quit when we get the die signal from the SM
2002-05-22 18:57:11 +00:00
Jody Goldberg
79979d3d67 http://bugzilla.gnome.org/show_bug.cgi?id=80325 although we may not be
2002-05-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=80325
	* gnome-settings-keyboard.c (apply_settings) : although we may not be
	  able to support the autorepeat rate setting we can enable/disable
	  autorepeat.
2002-05-17 03:33:14 +00:00
jacob berkman
3902821faa load from the correct key for whether the bell should be on or not
2002-05-16  jacob berkman  <jacob@ximian.com>

	* gnome-settings-keyboard.c (apply_settings): load from the
	correct key for whether the bell should be on or not
	(apply_settings): pass the right flags to XChangeKeyboardControl()

	fixes #78016 and 78015
2002-05-16 23:16:47 +00:00
jacob berkman
58aa365845 keep text/plain and text* using the same mime type (#78037)
2002-05-16  jacob berkman  <jacob@ximian.com>

	* Makefile.am:
	* gnome-settings-default-editor.[ch]: keep text/plain and text*
	using the same mime type (#78037)

	* gnome-settings-daemon.c (gnome_settings_daemon_new): load editor
	and keyboard settings (bugs #78037 and #78016)
2002-05-16 23:09:02 +00:00
Jonathan Blandford
fe993790aa Remove all debug print statements, #76085
Tue May 14 14:50:34 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-*.c: Remove all debug print statements, #76085
2002-05-14 18:52:34 +00:00
Jonathan Blandford
1ce84d9eda s/.gnome/.gnome2/g
Mon May 13 17:05:22 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-font.c (load_cursor): s/.gnome/.gnome2/g
2002-05-13 21:13:45 +00:00
Anders Carlsson
69d701578d Watch the dnd threshold xsetting.
2002-05-12  Anders Carlsson  <andersca@gnu.org>

	* gnome-settings-xsettings.c:
	Watch the dnd threshold xsetting.
2002-05-12 09:00:51 +00:00
Kjartan Maraas
7e5b5a29d7 Add calls to bindtext* for i18n. Add -DGNOMELOCALEDIR="\".....\"" Mark
2002-04-30  Kjartan Maraas  <kmaraas@gnome.org>

	* factory.c: Add calls to bindtext* for i18n.
	* Makefile.am: Add -DGNOMELOCALEDIR="\".....\""
	* gnome-settings-font.c: Mark strings and add #includes.
	* gnome-settings-screensaver.c: Same
	* gnome-settings-sound.c: Same.
	* gnome-settings-xsettings.c: Same.
	* gnome-settings-wm.c: Fix a warning.
2002-04-30 09:45:05 +00:00
Jody Goldberg
68884480e6 max speed is in pixels per _event_ not relative to time. double check that
2002-04-24  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  max speed is in pixels per _event_ not relative to time.  double
	  check that we don't set 0.

2002-04-24  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : we're only interested
	  in control changes.
	(set_gconf_from_server) : set both XkbAccessXKeysMask|XkbAccessXFeedbackMask
	  when we enable accessX, and fix typo.
2002-04-25 03:59:56 +00:00
Jody Goldberg
b16ef6d7cd suppress warning.
2002-04-23  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (get_xkb_desc_rec) :
	  suppress warning.
2002-04-23 18:27:19 +00:00
Rachel Hestilow
6f03bca307 s/gnome2/gnome
2002-04-17  Rachel Hestilow  <hestilow@ximian.com>

	* GNOME_SettingsDaemon.server.in: s/gnome2/gnome
2002-04-18 05:08:48 +00:00
Jonathan Blandford
f1d6eefaa1 Patch from Akira Tagoh <tagoh@gnome-db.org> to change the restart command
Tue Apr 16 17:09:02 2002  Jonathan Blandford  <jrb@redhat.com>

	* factory.c (main): Patch from Akira Tagoh <tagoh@gnome-db.org> to
	change the restart command from gnome2-settings-daemon to
	gnome-settings-daemon.
2002-04-16 21:10:20 +00:00
jacob berkman
7ddf5e6148 only do xkb calls if xkb is present (better fix for previous commit)
2002-04-11  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c: only do xkb calls if
	xkb is present (better fix for previous commit)
2002-04-11 22:37:52 +00:00
Jody Goldberg
dacdab13c5 be even more anal.
2002-04-11  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) : be
	  even more anal.
2002-04-11 21:54:10 +00:00
Jody Goldberg
68b79b4fab http://bugzilla.gnome.org/show_bug.cgi?id=77203 be more anal about server
2002-04-01  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=77203
	* gnome-settings-accessibility-keyboard.c (set_gconf_from_server) : be
	  more anal about server failure.
	(set_server_from_gconf) : ditto.

2002-03-30  Jody Goldberg <jody@gnome.org>

	* gnome-settings-xsettings.c (translations) : reorder to match gdk.
	  This simplifies maintenance.
2002-04-10 23:30:45 +00:00
Jonathan Blandford
6f1fa592ec Change gnome2-* to gnome-* ditto ditto ditto ditto ditto ditto ditto ditto
Tue Apr  9 11:43:08 2002  Jonathan Blandford  <jrb@gnome.org>

	* capplets/accessibility/keyboard/Makefile.am: Change gnome2-* to
	gnome-*
	* capplets/default-applications/Makefile.am: ditto
	* capplets/file-types/Makefile.am: ditto
	* capplets/font/Makefile.am: ditto
	* capplets/keyboard/Makefile.am: ditto
	* capplets/mouse/Makefile.am: ditto
	* capplets/sound/Makefile.am: ditto
	* capplets/theme-switcher/Makefile.am: ditto
	* capplets/ui-properties/Makefile.am: ditto
	* control-center/Makefile.am: ditto
	* gnome-settings-daemon/Makefile.am: ditto

	* gnome-keybinding-properties.c (setup_dialog): man, was this code
	silly.  Also, themes are case sensitive.
	(is_metacity_running): Add support for metacity keybindings.  This
	is off by default until I write code to actually detect metacity.

Tue Apr  9 11:58:10 2002  Jonathan Blandford  <jrb@gnome.org>

	* Makefile.am: Add commented out disk support until I finish the code.
2002-04-10 06:08:08 +00:00
jacob berkman
b92d48b59e prefer gdk_flush() to XFlush() (fixes bug #77208)
2002-04-04  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf):
	prefer gdk_flush() to XFlush() (fixes bug #77208)
2002-04-04 19:46:47 +00:00
Jody Goldberg
6e7a639581 get really anal about potential X errors. (set_gconf_from_server) : ditto.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c
	(gnome_settings_accessibility_keyboard_init) : get really anal about
	  potential X errors.
	(set_gconf_from_server) : ditto.
2002-03-30 04:52:52 +00:00
Jody Goldberg
d80e0c86be Patch some settings-daemon X errors when running remotely, and enable cursor
blink support.

2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  Add a gdk_error_trap just in case.

	* gnome-settings-keyboard.c (apply_settings) : don't init things to
	  bogus values unless it is ncessary.  Add a gdk_error_trap around the
	  X settings to avoid causing the server to exit if something goes
	  wrong.  Be sure to flush before we pop the handler.
2002-03-30 03:25:26 +00:00