summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2016-08-30 10:38:24 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2016-09-06 12:42:48 -0300
commit814c60c6f225c55ebe8a99ca364499a66b7f40c0 (patch)
treead3954baea4ab7a15954fd91d0609f2c9c48fae0
parent5161e0186178aad005e4f9a4980b39867aca1d79 (diff)
downloadgnome-control-center-814c60c6f225c55ebe8a99ca364499a66b7f40c0.tar.gz
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
-rw-r--r--panels/keyboard/cc-keyboard-shortcut-editor.c3
1 files changed, 2 insertions, 1 deletions
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);