Index: capplets/keybindings/gnome-keybinding-properties.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/capplets/keybindings/gnome-keybinding-properties.c,v
retrieving revision 1.51
diff -u -p -r1.51 gnome-keybinding-properties.c
--- capplets/keybindings/gnome-keybinding-properties.c	14 Nov 2005 15:18:04 -0000	1.51
+++ capplets/keybindings/gnome-keybinding-properties.c	11 Jan 2006 13:33:59 -0000
@@ -64,12 +64,6 @@ static const KeyListEntry sounds_key_lis
   { "/apps/gnome_settings_daemon/keybindings/volume_mute", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/volume_down", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/volume_up", ALWAYS_VISIBLE, 0 },
-  /* Other ones that need keysyms bindings */
-  { "/apps/gnome_settings_daemon/keybindings/play", ALWAYS_VISIBLE, 0 },
-  { "/apps/gnome_settings_daemon/keybindings/pause", ALWAYS_VISIBLE, 0 },
-  { "/apps/gnome_settings_daemon/keybindings/stop", ALWAYS_VISIBLE, 0 },
-  { "/apps/gnome_settings_daemon/keybindings/previous", ALWAYS_VISIBLE, 0 },
-  { "/apps/gnome_settings_daemon/keybindings/next", ALWAYS_VISIBLE, 0 },
   { "/apps/gnome_settings_daemon/keybindings/eject", ALWAYS_VISIBLE, 0 },
   { NULL }
 };
Index: gnome-settings-daemon/gnome-settings-multimedia-keys.c
===================================================================
RCS file: /cvs/gnome/gnome-control-center/gnome-settings-daemon/gnome-settings-multimedia-keys.c,v
retrieving revision 1.15
diff -u -p -r1.15 gnome-settings-multimedia-keys.c
--- gnome-settings-daemon/gnome-settings-multimedia-keys.c	12 Dec 2005 15:39:41 -0000	1.15
+++ gnome-settings-daemon/gnome-settings-multimedia-keys.c	11 Jan 2006 13:34:00 -0000
@@ -259,37 +259,6 @@ grab_key (Acme *acme, Key *key, gboolean
 	}
 }
 
-static void
-unhookup_keysym (int keycode)
-{
-	char *command;
-
-	if (keycode <= 0)
-		return;
-
-	command = g_strdup_printf ("xmodmap -e \"keycode %d = \"", keycode);
-
-	g_spawn_command_line_sync (command, NULL, NULL, NULL, NULL);
-	g_free (command);
-}
-
-static gboolean
-hookup_keysym (int keycode, const char *keysym)
-{
-	char *command;
-
-	if (keycode <= 0)
-		return TRUE;
-
-	command = g_strdup_printf ("xmodmap -e \"keycode %d = %s\"",
-			keycode, keysym);
-
-	g_spawn_command_line_sync (command, NULL, NULL, NULL, NULL);
-	g_free (command);
-
-	return FALSE;
-}
-
 static gboolean
 is_valid_shortcut (const char *string)
 {
@@ -311,7 +280,7 @@ update_kbd_cb (GConfClient *client, guin
 	g_return_if_fail (entry->key != NULL);
 
 	/* Find the key that was modified */
-	for (i = 0; i < PLAY_KEY; i++)
+	for (i = 0; i < HANDLED_KEYS; i++)
 	{
 		if (strcmp (entry->key, keys[i].gconf_key) == 0)
 		{
@@ -330,72 +299,20 @@ update_kbd_cb (GConfClient *client, guin
 					keys[i].gconf_key, NULL);
 
 			if (is_valid_shortcut (tmp) == FALSE)
-				break;
+				return;
 
 			key = g_new0 (Key, 1);
 			if (egg_accelerator_parse_virtual (tmp, &key->keysym, &key->keycode, &key->state) == FALSE
 			    || key->keycode == 0)
 			{
 				g_free (key);
-				break;
+				return;
 			}
 
 			grab_key (acme, key, TRUE);
 			keys[i].key = key;
 
-			break;
-		}
-	}
-
-	if (found != FALSE)
-		return;
-
-	for (i = PLAY_KEY; i < HANDLED_KEYS; i++)
-	{
-		if (strcmp (entry->key, keys[i].gconf_key) == 0)
-		{
-			const char *tmp;
-			Key *key;
-
-			if (keys[i].key != NULL)
-				unhookup_keysym (keys[i].key->keycode);
-
-			g_free (keys[i].key);
-			keys[i].key = NULL;
-
-			tmp = gconf_client_get_string (acme->conf_client,
-					keys[i].gconf_key, NULL);
-
-			if (is_valid_shortcut (tmp) == FALSE)
-				break;
-
-			key = g_new0 (Key, 1);
-			if (egg_accelerator_parse_virtual (tmp, &key->keysym, &key->keycode, &key->state) == FALSE
-			    || key->keycode == 0)
-			{
-				g_free (key);
-				break;
-			}
-
-			switch (keys[i].key_type) {
-			case PLAY_KEY:
-				hookup_keysym (key->keycode, "XF86AudioPlay");
-				break;
-			case PAUSE_KEY:
-				hookup_keysym (key->keycode, "XF86AudioPause");
-				break;
-			case STOP_KEY:
-				hookup_keysym (key->keycode, "XF86AudioStop");
-				break;
-			case PREVIOUS_KEY:
-				hookup_keysym (key->keycode, "XF86AudioPrev");
-				break;
-			case NEXT_KEY:
-				hookup_keysym (key->keycode, "XF86AudioNext");
-				break;
-			}
-
-			keys[i].key = key;
+			return;
 		}
 	}
 }
@@ -431,7 +348,7 @@ init_kbd (Acme *acme)
 {
 	int i;
 
-	for (i = 0; i < PLAY_KEY; i++)
+	for (i = 0; i < HANDLED_KEYS; i++)
 	{
 		char *tmp;
 		Key *key;
@@ -461,60 +378,6 @@ init_kbd (Acme *acme)
 
 		grab_key (acme, key, TRUE);
 	}
-
-	for (i = PLAY_KEY; i < HANDLED_KEYS; i++)
-	{
-		char *tmp;
-		Key *key;
-
-		gconf_client_notify_add (acme->conf_client,
-				keys[i].gconf_key, update_kbd_cb,
-				acme, NULL, NULL);
-
-		tmp = gconf_client_get_string (acme->conf_client,
-				keys[i].gconf_key, NULL);
-		if (!is_valid_shortcut (tmp)) {
-		        g_free (tmp);
-			continue;
-		}
-
-		key = g_new0 (Key, 1);
-		if (egg_accelerator_parse_virtual (tmp, &key->keysym, &key->keycode, &key->state) == FALSE
-		    || key->keycode == 0)
-		{
-		        g_free (tmp);
-			g_free (key);
-			continue;
-		}
-		g_free (tmp);
-
-		keys[i].key = key;
-
-		switch (keys[i].key_type) {
-		case PLAY_KEY:
-			hookup_keysym (keys[i].key->keycode,
-					"XF86AudioPlay");
-			break;
-		case PAUSE_KEY:
-			hookup_keysym (keys[i].key->keycode,
-					"XF86AudioPause");
-			break;
-		case STOP_KEY:
-			hookup_keysym (keys[i].key->keycode,
-					"XF86AudioStop");
-			break;
-		case PREVIOUS_KEY:
-			hookup_keysym (keys[i].key->keycode,
-					"XF86AudioPrev");
-			break;
-		case NEXT_KEY:
-			hookup_keysym (keys[i].key->keycode,
-					"XF86AudioNext");
-			break;
-		}
-	}
-
-	return;
 }
 
 static gboolean
@@ -893,7 +756,7 @@ acme_filter_events (GdkXEvent *xevent, G
 	keycode = xev->xkey.keycode;
 	state = xev->xkey.state;
 
-	for (i = 0; i < PLAY_KEY; i++)
+	for (i = 0; i < HANDLED_KEYS; i++)
 	{
 		if (keys[i].key == NULL)
 			continue;
Index: gnome-settings-daemon/actions/acme.h
===================================================================
RCS file: /cvs/gnome/gnome-control-center/gnome-settings-daemon/actions/acme.h,v
retrieving revision 1.3
diff -u -p -r1.3 acme.h
--- gnome-settings-daemon/actions/acme.h	24 Mar 2004 02:54:33 -0000	1.3
+++ gnome-settings-daemon/actions/acme.h	11 Jan 2006 13:34:00 -0000
@@ -42,11 +42,6 @@ enum {
 	BRIGHT_DOWN_KEY,
 	BRIGHT_UP_KEY,
 #endif
-	PLAY_KEY,
-	PAUSE_KEY,
-	STOP_KEY,
-	PREVIOUS_KEY,
-	NEXT_KEY,
 	HANDLED_KEYS
 };
 
@@ -77,11 +72,6 @@ static struct {
 	{ BRIGHT_DOWN_KEY, GCONF_BINDING_DIR "/brightness_down", NULL },
 	{ BRIGHT_UP_KEY, GCONF_BINDING_DIR "/brightness_up", NULL },
 #endif
-	{ PLAY_KEY, GCONF_BINDING_DIR "/play", NULL },
-	{ PAUSE_KEY, GCONF_BINDING_DIR "/pause", NULL },
-	{ STOP_KEY, GCONF_BINDING_DIR "/stop", NULL },
-	{ PREVIOUS_KEY, GCONF_BINDING_DIR "/previous", NULL },
-	{ NEXT_KEY, GCONF_BINDING_DIR "/next", NULL },
 };
 
 #endif /* __ACME_H__ */
Index: schemas/apps_gnome_settings_daemon_keybindings.schemas.in
===================================================================
RCS file: /cvs/gnome/gnome-control-center/schemas/apps_gnome_settings_daemon_keybindings.schemas.in,v
retrieving revision 1.3
diff -u -p -r1.3 apps_gnome_settings_daemon_keybindings.schemas.in
--- schemas/apps_gnome_settings_daemon_keybindings.schemas.in	17 May 2004 17:03:38 -0000	1.3
+++ schemas/apps_gnome_settings_daemon_keybindings.schemas.in	11 Jan 2006 13:34:00 -0000
@@ -181,64 +181,5 @@
         </schema>
 
 
-        <schema>
-            <key>/schemas/apps/gnome_settings_daemon/keybindings/play</key>
-            <applyto>/apps/gnome_settings_daemon/keybindings/play</applyto>
-            <type>string</type>
-            <default></default>
-            <locale name="C">
-                <short>Play (or play/pause)</short>
-                <long>Play (or play/pause) key's shortcut.</long>
-            </locale>
-        </schema>
-
-
-        <schema>
-            <key>/schemas/apps/gnome_settings_daemon/keybindings/pause</key>
-            <applyto>/apps/gnome_settings_daemon/keybindings/pause</applyto>
-            <type>string</type>
-            <default></default>
-            <locale name="C">
-                <short>Pause</short>
-                <long>Pause key's shortcut.</long>
-            </locale>
-        </schema>
-
-
-        <schema>
-            <key>/schemas/apps/gnome_settings_daemon/keybindings/stop</key>
-            <applyto>/apps/gnome_settings_daemon/keybindings/stop</applyto>
-            <type>string</type>
-            <default></default>
-            <locale name="C">
-                <short>Stop playback key</short>
-                <long>Stop playback key's shortcut.</long>
-            </locale>
-        </schema>
-
-
-        <schema>
-            <key>/schemas/apps/gnome_settings_daemon/keybindings/previous</key>
-            <applyto>/apps/gnome_settings_daemon/keybindings/previous</applyto>
-            <type>string</type>
-            <default></default>
-            <locale name="C">
-                <short>Skip to previous track</short>
-                <long>Previous track key's shortcut.</long>
-            </locale>
-        </schema>
-
-
-        <schema>
-            <key>/schemas/apps/gnome_settings_daemon/keybindings/next</key>
-            <applyto>/apps/gnome_settings_daemon/keybindings/next</applyto>
-            <type>string</type>
-            <default></default>
-            <locale name="C">
-                <short>Skip to next track</short>
-                <long>Next track key's shortcut.</long>
-            </locale>
-        </schema>
-
     </schemalist>
 </gconfschemafile>
