[totem] lirc: Update for shuffle setting API removal



commit fd40312677a399140e598e945618c6c17c9ee5a4
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jan 23 13:15:51 2014 +0100

    lirc: Update for shuffle setting API removal

 src/plugins/lirc/totem-lirc.c       |    3 ---
 src/plugins/lirc/totem_lirc_default |    8 --------
 2 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/plugins/lirc/totem-lirc.c b/src/plugins/lirc/totem-lirc.c
index 16bd66d..e5f9762 100644
--- a/src/plugins/lirc/totem-lirc.c
+++ b/src/plugins/lirc/totem-lirc.c
@@ -86,7 +86,6 @@ typedef struct {
 
 #define TOTEM_IR_SETTING "setting_"
 #define TOTEM_IR_SETTING_TOGGLE_REPEAT "setting_repeat"
-#define TOTEM_IR_SETTING_TOGGLE_SHUFFLE "setting_shuffle"
 
 TOTEM_PLUGIN_REGISTER(TOTEM_TYPE_LIRC_PLUGIN, TotemLircPlugin, totem_lirc_plugin)
 
@@ -108,8 +107,6 @@ totem_lirc_to_setting (const gchar *str, char **url)
 {
        if (strcmp (str, TOTEM_IR_SETTING_TOGGLE_REPEAT) == 0)
                return TOTEM_REMOTE_SETTING_REPEAT;
-       else if (strcmp (str, TOTEM_IR_SETTING_TOGGLE_SHUFFLE) == 0)
-               return TOTEM_REMOTE_SETTING_SHUFFLE;
        else
                return -1;
 }
diff --git a/src/plugins/lirc/totem_lirc_default b/src/plugins/lirc/totem_lirc_default
index 1a6eebc..2eb32cf 100644
--- a/src/plugins/lirc/totem_lirc_default
+++ b/src/plugins/lirc/totem_lirc_default
@@ -205,14 +205,6 @@ end
 begin
        prog = Totem
        remote = *
-       button = KEY_SHUFFLE
-       repeat = 1
-       config = setting_shuffle
-end
-
-begin
-       prog = Totem
-       remote = *
        button = KEY_MEDIA_REPEAT
        repeat = 1
        config = setting_repeat


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