Commit graph

337 commits

Author SHA1 Message Date
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
Mark McLoughlin
13e1dd836d 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 support for rendering the wallpaper on
        a particular physical screen.

        * applier.[ch]:
        (bg_applier_init): init screen and root_window.
        (bg_applier_class_init), (bg_applier_set_prop),
        (bg_applier_get_prop): add "screen" property.
        (bg_applier_new_for_screen): implement.
        (render_wallpaper), (render_to_screen),
        (create_pixmap), (wallpaper_full_cover_p): use the
        screen and root window information.
        (make_root_pixmap): add a GdkScreen arg, actually
        use the display we opened, use the correct root
        window and not the default one
        (set_root_pixmap): add a GdkScreen arg, use the
        default display, use the correct root window.
2002-07-28 19:09:02 +00:00
Owen Taylor
05fb268094 ue Jul 23 22:35:10 2002 Owen Taylor <otaylor@redhat.com>
* acconfig.h configure.in: Check for Xft2.

        * capplets/font/main.c capplets/font/Makefile.am
        capplets/font/font-properties.glade: If XFt2 is present,
        allow the user to control various font rendering attributes.

        * gnome-settings-daemon/gnome-settings-xsettings.c:
        Mirror the Xft rendering attributes from the font
        capplet to XSETTINGS and Xrdb.

        * schemas/Makefile.am schemas/desktop_gnome_font_rendering.schemas:
        Add schemas for the new GConf settings.
2002-07-24 02:39:03 +00:00
Owen Taylor
8566bf0bf6 ue Jul 23 22:06:08 2002 Owen Taylor <otaylor@redhat.com>
* capplets/keyboard/gnome-keyboard-properties.c: Fix
        unterminated GConfEnumStringPair array.

        * gnome-settings-daemon/gnome-settings-default-editor.c:
        Fix some comments that had embedded /* which was causing
        GCC warnings.
2002-07-24 02:08:59 +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
Jody Goldberg
3bf58de536 patch from Brian Cameron
2002-07-10  Jody Goldberg <jody@gnome.org>
	patch from Brian Cameron

	* configure.in : look for path to esound
2002-07-10 14:42:06 +00:00
James Henstridge
9ea4a855e7 commented lines ending in a trailing backslash are not a good idea.
2002-06-25  James Henstridge  <james@daa.com.au>

        * gnome-settings-daemon/Makefile.am: commented lines ending in a
        trailing backslash are not a good idea.
2002-06-25 09:14:35 +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
b4995826e8 http://bugzilla.gnome.org/show_bug.cgi?id=85397
2002-06-15  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85397
	http://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.
2002-06-18 18:55:14 +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
65d7e93535 *** empty log message *** 2002-04-25 04:59:10 +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
d4e6287116 s/Richard/Rachel
2002-04-21  Rachel Hestilow  <hestilow@ximian.com>

	* *.c: s/Richard/Rachel

	* configure.in: Bump version to 1.99.7

	* RELEASE: 1.99.7
2002-04-21 21:22:35 +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
2409371641 handle the renaming 2002-04-11 15:51:19 +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
Jody Goldberg
84332cb647 fix spelling error in schema.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf) :
	  fix spelling error in schema.
2002-03-29 22:30:40 +00:00
Jody Goldberg
b06b0afa86 add missing NULL terminator.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-font.c (load_cursor) : add missing NULL terminator.
2002-03-29 20:05:08 +00:00
Jody Goldberg
c00e3a749c click volume is an integer from 0..100, schema is an int too. Remove float
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-keyboard.c (apply_settings) : click volume is an
	  integer from 0..100, schema is an int too.  Remove float and double
	  and add some bounds checking.

	(set_server_from_gconf) : scale mk_time_to_max by mk_interval so that
	  it is actually in msec.
	(set_gconf_from_server) : do the inverse here.
2002-03-29 17:21:23 +00:00
Jody Goldberg
1fe61dbcf6 mouse keys now work.
2002-03-29  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c : make the debug spew optional
	(set_server_from_gconf) : typo that only applied settings when we
	  shouldn't.
	(set_server_from_gconf) : set the mouse key accel flag when mk is
	  enabled so that we can actually set the accel parms.  How did this
	  work in X11R6 ?
2002-03-29 06:19:22 +00:00
jacob berkman
1a9d28bcab fix a typo
2002-03-28  jacob berkman  <jacob@ximian.com>

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf):
	fix a typo
2002-03-29 01:13:33 +00:00
Jonathan Blandford
653e2d9127 somehow the font settings were removed. Re add.
Thu Mar 28 09:18:40 2002  Jonathan Blandford  <jrb@redhat.com>

	* gnome-settings-daemon.c: somehow the font settings were
	removed.  Re add.
2002-03-28 14:27:13 +00:00
jacob berkman
222d8a239a start xscreensaver, and display an error dialog if it failed
2002-03-26  jacob berkman  <jacob@ximian.com>

	* gnome-settings-screensaver.[ch]
	(gnome_settings_screensaver_load): start xscreensaver, and display
	an error dialog if it failed

	* gnome-settings-daemon.c (gnome_settings_daemon_new): init/load
	screensaver
2002-03-26 17:22:02 +00:00
jacob berkman
fc7c0a3f27 tell the SM to restart us only after we know we're unique with
2002-03-25  jacob berkman  <jacob@ximian.com>

	* factory.c (main): tell the SM to restart us only after we know
	we're unique with bonobo-activation
2002-03-25 20:30:33 +00:00
Jody Goldberg
5399ce0b1a Add AccessX capplet. 2002-03-23 04:39:24 +00:00
Jonathan Blandford
ac9331cf2b Add new Makefiles ditto Add keybindings dialog
2002-03-17  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am: Add new Makefiles
	* configure.in: ditto
	* capplets/Makefile.am: Add keybindings dialog

	* capplets/keybindings/.cvsignore: shut up CVS

	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/eggcellrendererkeys.c:
	* capplets/keybindings/eggcellrendererkeys.h:
	* capplets/keybindings/gnome-keybinding-properties.c:
	* capplets/keybindings/gnome-keybinding-properties.glade:
	* capplets/keybindings/keybinding.desktop.in:
	New properties dialog.  Seems to work

	* schemas/.cvsignore: shut up CVS

	* schemas/Makefile.am:
	* schemas/apps_gnome_keybinding_properties.schemas: New schemas
	file for configuring the keybinding schemas.
	* schemas/background.schemas: Remove unneeded schemas files
	* schemas/peripherals.schemas:
	* schemas/screensaver.schemas:
2002-03-17 21:27:09 +00:00