Commit graph

18 commits

Author SHA1 Message Date
Jens Granseuer
e73cddb29f reduce static data
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-accessibility-keyboard.c:
	(gnome_settings_module_accessibility_keyboard_get_type):
	* gnome-settings-background.c:
	(gnome_settings_module_background_get_type):
	* gnome-settings-clipboard.c:
	(gnome_settings_module_clipboard_get_type):
	* gnome-settings-default-editor.c:
	(gnome_settings_module_default_editor_get_type):
	* gnome-settings-font.c: (gnome_settings_module_font_get_type):
	* gnome-settings-gtk1theme.c:
	(gnome_settings_module_gtk1_get_type):
	* gnome-settings-keybindings.c:
	(gnome_settings_module_keybindings_get_type):
	* gnome-settings-keyboard.c:
	(gnome_settings_module_keyboard_get_type):
	* gnome-settings-module.c: (gnome_settings_module_get_type):
	* gnome-settings-mouse.c: (gnome_settings_module_mouse_get_type):
	* gnome-settings-multimedia-keys.c:
	(gnome_settings_module_multimedia_keys_get_type):
	* gnome-settings-screensaver.c:
	(gnome_settings_module_screensaver_get_type):
	* gnome-settings-sound.c: (gnome_settings_module_sound_get_type):
	* gnome-settings-typing-break.c:
	(gnome_settings_module_typing_break_get_type):
	* gnome-settings-xrdb.c: (gnome_settings_module_xrdb_get_type):
	* gnome-settings-xsettings.c:
	(gnome_settings_module_xsettings_get_type): reduce static data

svn path=/trunk/; revision=7813
2007-07-01 15:56:19 +00:00
Jens Granseuer
d69ad6a3fc fix compiler warnings (closes bug #438152)
2007-07-01  Jens Granseuer  <jensgr@gmx.net>

	* factory.c: (main):
	* gnome-settings-keybindings.c:
	* gnome-settings-mouse.c:
	* gnome-settings-screensaver.c: (key_toggled_cb):
	* gnome-settings-xrdb.c: fix compiler warnings (closes bug #438152)

svn path=/trunk/; revision=7811
2007-07-01 15:37:19 +00:00
Rodrigo Moya
4f4291f6d4 all modules use now the new arch.
2007-06-21  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-settings-accessibility-keyboard.c:
	* gnome-settings-keybindings.c:
	* gnome-settings-keyboard.c:
	* gnome-settings-multimedia-keys.c:
	* gnome-settings-xrdb.c:
	* gnome-settings-daemon.c: all modules use now the new arch.

	* gnome-settings-background.c (background_callback): pass the correct
	argument to the idle callback.

svn path=/trunk/; revision=7756
2007-06-21 12:19:06 +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
ec87da8b18 don't install the same filter twice for the default root window (fixes bug
2007-02-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-settings-keybindings.c: (gnome_settings_keybindings_init):
	don't install the same filter twice for the default root window (fixes
	bug #408643)

svn path=/trunk/; revision=7304
2007-02-16 17:42:27 +00:00
Jens Granseuer
a02dd61e0b Patch by: Paolo Borelli <pborelli@katamail.com>
2007-02-03  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Paolo Borelli <pborelli@katamail.com>

	* gnome-settings-keybindings.c: (get_screens_list),
	(screen_exec_display_string), (entry_get_string),
	(bindings_get_entry), (gnome_settings_keybindings_load): plug some
	memory leaks (fixes bug #342672)

svn path=/trunk/; revision=7238
2007-02-03 14:20:19 +00:00
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
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
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
Kjartan Maraas
ea68d7a0c9 NULL vs. 0. Fix a test to use the boolean instead of the return value from
2004-12-25  Kjartan Maraas  <kmaraas@gnome.org>

	* factory.c: (main): NULL vs. 0.
	* gnome-settings-default-editor.c: (vfs_change_cb): Fix a test to
	use the boolean instead of the return value from a void function.
	This has been sitting in bugzilla forever and now other people start
	adding comments to the code about it so I'm just going to commit.
	* gnome-settings-keybindings.c: (binding_register_keys): ANSIfication.
2004-12-25 14:32:12 +00:00
Jody Goldberg
2908fb0c57 Merge in some pending patches from Sun
- correct unregistration of keybindings in a multiheaded environment
- have top level window icons respect icon themes
2004-04-07 14:33:18 +00:00
Jonathan Blandford
92999c9380 Merge in acme. We now have a variety of actions for the keybinding
Tue Jan 13 10:48:57 2004  Jonathan Blandford  <jrb@gnome.org>

        * gnome-settings-daemon: Merge in acme.  We now have a variety of
        actions for the keybinding capplet.
2004-01-13 15:59:09 +00:00
Bill Haneman
dcb6453298 Post a warning dialog when the user enables or disables an AccessX
feature via a keyboard shortcut.  Fixes bug #105093.
2004-01-12 20:37:03 +00:00
Bastien Nocera
6b1e429fcd grab keys on all the screens for the current display
2003-07-03  Bastien Nocera  <hadess@hadess.net>

	* gnome-settings-keybindings.c: (get_screens_list),
	(screen_exec_display_string), (grab_key), (do_grab),
	(gnome_settings_keybindings_load): grab keys on all the screens for the
	current display
2003-07-03 21:39:23 +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
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
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