[gnome-settings-daemon] media-keys: Hardcode the "toggle touchpad" button



commit d3f97cdeefd2a28c4bbdda8a2a963d3cdbee8184
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jun 3 01:53:35 2011 +0100

    media-keys: Hardcode the "toggle touchpad" button

 ...ngs-daemon.plugins.media-keys.gschema.xml.in.in |    5 -----
 plugins/media-keys/acme.h                          |    2 +-
 2 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in b/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in
index 81de8a2..87c7249 100644
--- a/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.plugins.media-keys.gschema.xml.in.in
@@ -85,11 +85,6 @@
       <_summary>Stop playback</_summary>
       <_description>Binding to stop playback.</_description>
     </key>
-    <key name="touchpad" type="s">
-      <default>'XF86TouchpadToggle'</default>
-      <_summary>Toggle touchpad</_summary>
-      <_description>Binding to enable or disable the touchpad.</_description>
-    </key>
     <key name="volume-down" type="s">
       <default>'XF86AudioLowerVolume'</default>
       <_summary>Volume down</_summary>
diff --git a/plugins/media-keys/acme.h b/plugins/media-keys/acme.h
index fd5358f..73b01df 100644
--- a/plugins/media-keys/acme.h
+++ b/plugins/media-keys/acme.h
@@ -71,7 +71,7 @@ static struct {
         const char *hard_coded;
         Key *key;
 } keys[HANDLED_KEYS] = {
-        { TOUCHPAD_KEY, "touchpad", NULL, NULL },
+        { TOUCHPAD_KEY, NULL, "XF86TouchpadToggle", NULL },
 	{ TOUCHPAD_ON_KEY, NULL, "XF86TouchpadOn", NULL },
 	{ TOUCHPAD_OFF_KEY, NULL, "XF86TouchpadOff", NULL },
         { MUTE_KEY, "volume-mute",NULL, NULL },



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