[gnome-settings-daemon] keyboard: Avoid warning when bell-custom-file changes



commit 4c3f57df8e31ba2be86531aac93ec864994595f9
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Oct 1 16:16:36 2013 +0200

    keyboard: Avoid warning when bell-custom-file changes
    
    The setting is ignored, but is known, so don't warn about it.

 plugins/keyboard/gsd-keyboard-manager.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-manager.c b/plugins/keyboard/gsd-keyboard-manager.c
index 57060e9..b18db49 100644
--- a/plugins/keyboard/gsd-keyboard-manager.c
+++ b/plugins/keyboard/gsd-keyboard-manager.c
@@ -72,6 +72,7 @@
 #define KEY_BELL_PITCH     "bell-pitch"
 #define KEY_BELL_DURATION  "bell-duration"
 #define KEY_BELL_MODE      "bell-mode"
+#define KEY_BELL_CUSTOM_FILE "bell-custom-file"
 
 #define GNOME_DESKTOP_INTERFACE_DIR "org.gnome.desktop.interface"
 
@@ -1180,6 +1181,8 @@ settings_changed (GSettings          *settings,
                 g_strcmp0 (key, KEY_DELAY) == 0) {
                g_debug ("Key repeat setting '%s' changed, applying key repeat settings", key);
                apply_repeat (manager);
+       } else if (g_strcmp0 (key, KEY_BELL_CUSTOM_FILE) == 0){
+               g_debug ("Ignoring '%s' setting change", KEY_BELL_CUSTOM_FILE);
        } else {
                g_warning ("Unhandled settings change, key '%s'", key);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]