Commit graph

47 commits

Author SHA1 Message Date
Sergey V. Udaltsov
74263d6f39 no more annoying warning, b.g.o#358048
svn path=/trunk/; revision=8177
2007-10-16 22:13:45 +00:00
Sergey V. Udaltsov
72db6fd6de dropping unneeded kbd indicator's dbus server, bumping libgnomekbd version requirement
svn path=/trunk/; revision=8161
2007-10-08 17:16:09 +00:00
Sergey V. Udaltsov
b6f2b9d7e3 initializing current_*config early, b.g.o#469192
svn path=/trunk/; revision=8035
2007-08-22 21:16:33 +00:00
Rodrigo Moya
63ba8e54af use gnome_settings_delayed_show_dialog() to display the error message, so
2007-08-21  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-keyboard-xkb.c
	(gnome_settings_keyboard_xkb_analyze_sysconfig): use
	gnome_settings_delayed_show_dialog() to display the error message,
	so that it is shown when a window manager is running, thus being
	centered and with a proper frame.

svn path=/trunk/; revision=8033
2007-08-22 10:00:09 +00:00
Rodrigo Moya
e16cbd24dc return NULL when there is an error, not exit(), so that we do proper
2007-04-02  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-daemon.c (gnome_settings_daemon_new): return NULL
	when there is an error, not exit(), so that we do proper cleanup.
	Remove code to register GConf callbacks, that is done in utils.c.
	(gnome_settings_daemon_get_conf_client,
	gnome_settings_daemon_register_callback,
	 gnome_settings_daemon_spawn_with_input,
	 gnome_settings_daemon_get_invisible,
	 gnome_settings_daemon_delayed_show_dialog): removed from the
	GnomeSettingsDaemon interface.

	* utils.c (gnome_settings_get_config_client,
	 gnome_settings_get_invisible,
	 gnome_settings_register_config_callback,
	 gnome_settings_spawn_with_input,
	 gnome_settings_delayed_show_dialog): moved from GnomeSettingsDaemon
	interface.

	* factory.c (main): check return value from gnome_settings_daemon().

	* *.c: adapted to changes in function names.

	* Makefile.am: put source files in alphabetical order.

svn path=/trunk/; revision=7434
2007-04-02 15:27:35 +00:00
Jens Granseuer
204dd9a088 don't install the same filter twice; we already install it for all
2007-01-31  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-keyboard-xkb.c:
	(gnome_settings_keyboard_xkb_init): don't install the same filter
	twice; we already install it for all windows, so we don't need
	another one for the root window (fixes bug #382504)

svn path=/trunk/; revision=7213
2007-01-31 17:24:16 +00:00
Sergey V. Udaltsov
ada87a95f2 Changing library dependency from virtual libgswitchit/libkbdraw to normal libgnomekbd 2006-10-18 22:37:40 +00:00
Dan Winship
e697f84e93 new method to delay showing a dialog until after the window manager is
* delayed-dialog.c (gnome_settings_delayed_show_dialog): new
        method to delay showing a dialog until after the window manager is
        running.

        * gnome-settings-font.c (load_cursor):
        * gnome-settings-keyboard-xkb.c (activation_error): Use it.
2006-10-16 15:01:00 +00:00
Sergey V. Udaltsov
da40a9f294 Fixing the build process 2006-07-06 19:45:13 +00:00
Sergey V. Udaltsov
9412291893 Enabling DBUS, getting rid of bonobo, libgswitchit API update 2006-06-25 02:16:06 +00:00
Sergey V. Udaltsov
83936013d4 small fixes, bug #333091 2006-04-20 22:21:10 +00:00
Sergey V. Udaltsov
ee5dccce96 update for new libxklavier API 2006-04-19 23:30:05 +00:00
Rodrigo Moya
bdf94c17e1 declare a global GConfClient. (main): unref the global GConfClient.
2005-10-16  Rodrigo Moya <rodrigo@novell.com>

	* factory.c: declare a global GConfClient.
	(main): unref the global GConfClient.

	* gnome-settings-daemon.[ch] (gnome_settings_daemon_get_conf_client):
	new function to use the same GConfClient everywhere.
	(gnome_settings_daemon_new): use the global GConfClient.

	* gnome-settings-accessibility-keyboard.c (set_server_from_gconf,
	ax_response_callback, set_gconf_from_server):
	* gnome-settings-gtk1theme.c (apply_settings):
	* gnome-settings-keybindings.c (bindings_get_entry):
	* gnome-settings-keyboard.c (numlock_get_gconf_state,
	numlock_set_gconf_state, apply_settings):
	* gnome-settings-keyboard-xkb.c (apply_xkb_settings,
	gnome_settings_keyboard_xkb_sysconfig_changed_response,
	gnome_settings_keyboard_xkb_analyze_sysconfig,
	gnome_settings_chk_file_list):
	* gnome-settings-screensaver.c (key_toggled_cb,
	really_start_screensaver):
	* gnome-settings-sound.c (apply_settings):
	* gnome-settings-xmodmap.c (check_button_callback,
	gnome_settings_load_modmap_files, remove_button_clicked_callback,
	load_button_clicked_callback, gnome_settings_modmap_dialog_call):
	* gnome-settings-xsettings.c (xft_callback):
	use the global GConfClient.

	* gnome-settings-keyboard-xkb.c (gnome_settings_keyboard_xkb_load):
	don't get another GConfClient when we're getting one passed!
2005-10-17 14:53:19 +00:00
Sergey V. Udaltsov
25ac663f39 fixing #310513 2005-07-26 20:38:25 +00:00
Sebastien Bacher
84b6e2e24e set windows' icons, patch by Jaap A. Haitsma <jaap@haitsma.org> (Closes:
2005-07-25  Sebastien Bacher  <seb128@debian.org>

        * gnome-settings-accessibility-keyboard.c: (warning_dialog_post):
        * gnome-settings-keyboard-xkb.c:
        (gnome_settings_keyboard_xkb_analyze_sysconfig):
        set windows' icons, patch by Jaap A. Haitsma <jaap@haitsma.org>
        (Closes: #305096).
2005-07-25 13:25:34 +00:00
Sebastien Bacher
1f30c47d1d fixed some typo, Clytie Siddall <clytie@riverland.net.au>
(Closes: #302614).
2005-07-07 21:24:03 +00:00
Sebastien Bacher
3878e5048e fix the markup usage of the XKB dialog (Closes: #308279).
2005-07-07  Sebastien Bacher  <seb128@debian.org>

	* gnome-settings-keyboard-xkb.c: (activation_error):
	fix the markup usage of the XKB dialog (Closes: #308279).
2005-07-07 20:48:48 +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
Jody Goldberg
b4f39cc148 don't bother VNC users with warnings of XKB breakage, we already know it
2005-02-28  Jody Goldberg <jody@gnome.org>

	* gnome-settings-daemon/gnome-settings-keyboard-xkb.c
	(activation_error) : don't bother VNC users with warnings of XKB
	  breakage, we already know it is not going to work.
2005-02-28 23:04:52 +00:00
Sebastien Bacher
9291b1c786 patch by Kjartan Maraas <kmaraas@gnome.org> to fix a leak (Closes:
2005-02-09  Sebastien Bacher  <seb128@debian.org>

        * gnome-settings-keyboard-xkb.c: (gnome_settings_chk_file_list):
        patch by Kjartan Maraas <kmaraas@gnome.org> to fix a leak
        (Closes: #166796).
2005-02-09 15:23:04 +00:00
Sergey V. Udaltsov
736c919ed0 fixing #150435 2005-02-06 03:32:06 +00:00
Sergey V. Udaltsov
fe7da7b6c1 fixing #165018 2005-02-03 23:44:39 +00:00
Shakti Sen
0c21cb9f45 #143487 Calls the modmap load dialog. Loads the modmap files. Added newly
2005-01-29  Shakti Sen  <shprasad@novell.com>

	#143487
	* gnome-settings-keyboard-xkb.c
	(gnome_settings_keyboard_xkb_chk_lcl_xmm): Calls the modmap load
	dialog.
	* gnome-settings-daemon.c (gnome_settings_daemon_new):
	Loads the modmap files.
	* gnome-settings-xmodmap.h: Added newly
	* gnome-settings-xmodmap.c: Also added newly which handles the modmap
	settings.
	* modmap-dialog.glade: Added newly.
2005-01-31 15:31:44 +00:00
Sergey V. Udaltsov
bbf89d121b fixing #163299 2005-01-08 23:00:52 +00:00
Sergey V. Udaltsov
6b0d6cac30 a bit of more optimization 2005-01-08 21:23:15 +00:00
Sergey V. Udaltsov
d52a911b8e update save/load function names 2005-01-08 21:04:33 +00:00
Sergey V. Udaltsov
b30091f9ab sorry for committing debug version 2005-01-08 00:13:28 +00:00
Sergey V. Udaltsov
9b8a663c05 a bit of optimization - no more redundant xkb reconfigurations 2005-01-07 03:48:15 +00:00
Sergey V. Udaltsov
54369fabdf gsd now manages the keyboard 2004-12-24 01:36:03 +00:00
Sergey V. Udaltsov
f5fb13632f reflect libgswitchit changes 2004-12-18 04:38:49 +00:00
Sergey V. Udaltsov
653d3d99f7 xmodmap support is here 2004-11-27 16:05:03 +00:00
Sergey V. Udaltsov
b98fd2ff69 fixing one leak, pointed by kmaraas 2004-09-27 22:33:49 +00:00
Jody Goldberg
03def60e2f revert unintended string change
2004-09-03  Jody Goldberg <jody@gnome.org>

	* gnome-settings-daemon/gnome-settings-keyboard-xkb.c : revert
	  unintended string change
2004-09-03 19:56:16 +00:00
Jody Goldberg
2ab41bb8cc http://bugzilla.gnome.org/show_bug.cgi?id=148291 typo
2004-07-23  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=148291
	* configure.in : typo

2004-06-07  Jody Goldberg <jody@gnome.org>

	* po/POTFILES.in : add server file, still unused without the patch
	* configure.in : ditto.

2004-06-01  Jody Goldberg <jody@gnome.org>

	* schemas/desktop_gnome_peripherals_keyboard_xkb.schemas.in : Add
	  xkb/update_handlers.
2004-08-28 01:42:25 +00:00
Sergey V. Udaltsov
0a0dfc7474 Now acme can plug xmodmaping callback 2004-05-25 17:36:44 +00:00
Sergey V. Udaltsov
b10bc08713 now the buttons work as Jody asked 2004-05-12 21:54:46 +00:00
Sergey V. Udaltsov
51fa1f5a99 C comments instead of C++ ones 2004-05-10 19:10:16 +00:00
Sergey V. Udaltsov
c5f62ea384 The message is actually info, not error 2004-05-08 22:57:52 +00:00
Sergey V. Udaltsov
3a71488be7 Now g-s-d tracks changes in the system xkb configuration 2004-05-08 03:08:51 +00:00
Sergey V. Udaltsov
8902014be6 long arguing over the string breakage is over. Now gcd shows the error message to unhappy users of .xmodmap with enabled xkb 2004-02-27 19:13:54 +00:00
Sergey V. Udaltsov
31f4338428 at least people should know how to report xkb initialization problems 2004-01-22 09:11:22 +00:00
Sergey V. Udaltsov
a103fa9147 Now the GSwitchItXkbConfigInit function clears the memory itself. 2004-01-12 11:56:37 +00:00
Sergey V. Udaltsov
2bc51a2486 now gnome-settings-daemon resets the configuration is asked by gconf flag overrideSettings 2004-01-09 20:43:59 +00:00
Sergey V. Udaltsov
49557bf908 Probably a bit less of troubles. At least we do the proper properties backup now. 2003-11-26 22:48:59 +00:00
Sergey V. Udaltsov
66cb02bd8c a bit better messaging 2003-11-26 10:15:04 +00:00
Sergey V. Udaltsov
11f723907c Daemon probably should not show popups - but I see no choice 2003-11-23 02:44:21 +00:00
Sergey V. Udaltsov
2c669cae7e now g-s-d knows how to configure XKB 2003-11-12 21:58:51 +00:00