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
This commit is contained in:
parent
199ba17258
commit
5637d573a6
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue