From fafffa3e135f1d405664e70e86ee2eeb86170dbd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonathan=20Neusch=C3=A4fer?= Date: Sat, 24 Dec 2011 18:28:04 +0100 Subject: [PATCH] screen_keydef: remove LIST_ITEM_{SAVE,APPLY}_LABEL These macros were only being used in one place. --- src/screen_keydef.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/screen_keydef.c b/src/screen_keydef.c index 0f46eee..cd340f8 100644 --- a/src/screen_keydef.c +++ b/src/screen_keydef.c @@ -38,9 +38,6 @@ #define LIST_ITEM_SAVE() (LIST_ITEM_APPLY()+1) #define LIST_LENGTH() (LIST_ITEM_SAVE()+1) -#define LIST_ITEM_SAVE_LABEL _("===> Apply & Save key bindings ") -#define LIST_ITEM_APPLY_LABEL _("===> Apply key bindings ") - static struct list_window *lw; static unsigned command_list_length = 0; @@ -206,9 +203,9 @@ list_callback(unsigned idx, G_GNUC_UNUSED void *data) if (subcmd < 0) { if (idx == LIST_ITEM_APPLY()) - return LIST_ITEM_APPLY_LABEL; + return _("===> Apply key bindings "); else if (idx == LIST_ITEM_SAVE()) - return LIST_ITEM_SAVE_LABEL; + return _("===> Apply & Save key bindings "); assert(idx < (unsigned)command_list_length); -- 2.30.2