From 5637d573a6b16a1521639ce5b5551d0d23c9ed73 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 30 Aug 2016 10:38:24 -0300 Subject: [PATCH] shortcut-editor: update header title message Instead of showing the shortcut description, show an action-oriented title, according to the mockups. Precisely, "Set Shortcut" for standard shortcuts and "Set Custom Shortcut" for custom shortcuts. https://bugzilla.gnome.org/show_bug.cgi?id=769314 --- panels/keyboard/cc-keyboard-shortcut-editor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panels/keyboard/cc-keyboard-shortcut-editor.c b/panels/keyboard/cc-keyboard-shortcut-editor.c index 8354041e5..37e4eed71 100644 --- a/panels/keyboard/cc-keyboard-shortcut-editor.c +++ b/panels/keyboard/cc-keyboard-shortcut-editor.c @@ -435,7 +435,8 @@ setup_keyboard_item (CcKeyboardShortcutEditor *self, accel = gtk_accelerator_name (item->keyval, item->mask); /* Headerbar */ - gtk_header_bar_set_title (GTK_HEADER_BAR (self->headerbar), item->description); + gtk_header_bar_set_title (GTK_HEADER_BAR (self->headerbar), + is_custom ? _("Set Custom Shortcut") : _("Set Shortcut")); gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (self->headerbar), TRUE); gtk_widget_hide (self->add_button);