[gnome-control-center] display: Add mnemonics to Cancel and Apply buttons
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Add mnemonics to Cancel and Apply buttons
- Date: Wed, 23 Aug 2017 16:37:51 +0000 (UTC)
commit 566d2cf6ac8ca317680a8fbe0284ea88f5385e77
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Aug 23 17:46:27 2017 +0200
display: Add mnemonics to Cancel and Apply buttons
panels/display/cc-display-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 1dd5c27..23c1e64 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -2700,13 +2700,13 @@ show_apply_titlebar (CcDisplayPanel *panel)
size_group = gtk_size_group_new (GTK_SIZE_GROUP_VERTICAL);
- button = gtk_button_new_with_label (_("Cancel"));
+ button = gtk_button_new_with_mnemonic (_("_Cancel"));
gtk_header_bar_pack_start (GTK_HEADER_BAR (header), button);
gtk_size_group_add_widget (size_group, button);
g_signal_connect_object (button, "clicked", G_CALLBACK (on_screen_changed),
panel, G_CONNECT_SWAPPED);
- button = gtk_button_new_with_label (_("Apply"));
+ button = gtk_button_new_with_mnemonic (_("_Apply"));
gtk_header_bar_pack_end (GTK_HEADER_BAR (header), button);
gtk_size_group_add_widget (size_group, button);
g_signal_connect_object (button, "clicked", G_CALLBACK (apply_current_configuration),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]