[gnome-settings-daemon] media-keys: Fix use of non-existant keys



commit b4cb0dc3c936336ffba65c50f737cffe9bf79cbe
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Nov 8 22:40:39 2010 +0000

    media-keys: Fix use of non-existant keys
    
    Those keys aren't supposed to be configurable, so don't try to
    use a GSettings key name.

 plugins/media-keys/acme.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/plugins/media-keys/acme.h b/plugins/media-keys/acme.h
index 287f662..666d926 100644
--- a/plugins/media-keys/acme.h
+++ b/plugins/media-keys/acme.h
@@ -80,10 +80,11 @@ static struct {
         { STOP_KEY, "stop", NULL, NULL },
         { PREVIOUS_KEY, "previous", NULL, NULL },
         { NEXT_KEY, "next", NULL, NULL },
-        { REWIND_KEY, "rewind", "XF86AudioRewind", NULL },
-        { FORWARD_KEY, "forward", "XF86AudioForward", NULL },
-        { REPEAT_KEY, "repeat", "XF86AudioRepeat", NULL },
-        { RANDOM_KEY, "random", "XF86AudioRandomPlay", NULL},
+        /* Those are not configurable in the UI */
+        { REWIND_KEY, NULL, "XF86AudioRewind", NULL },
+        { FORWARD_KEY, NULL, "XF86AudioForward", NULL },
+        { REPEAT_KEY, NULL, "XF86AudioRepeat", NULL },
+        { RANDOM_KEY, NULL, "XF86AudioRandomPlay", NULL},
         { VIDEO_OUT_KEY, NULL, "<Super>p", NULL },
         /* Key code of the XF86Display key (Fn-F7 on Thinkpads, Fn-F4 on HP machines, etc.) */
         { VIDEO_OUT2_KEY, NULL, "XF86Display", NULL },



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