[chronojump] Escape opens menu
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Escape opens menu
- Date: Thu, 2 Apr 2020 10:32:14 +0000 (UTC)
commit a4bdf4c9da6f69a5f98a07cdc903c91de2661f51
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 2 12:31:44 2020 +0200
Escape opens menu
glade/app1.glade | 1 +
src/gui/app1/chronojump.cs | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index fe500c00..119d503e 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -1248,6 +1248,7 @@
<property name="active">True</property>
<property name="draw_indicator">False</property>
<signal name="toggled"
handler="on_radio_show_menu_toggled" swapped="no"/>
+ <accelerator key="Escape" signal="clicked"/>
<child>
<widget class="GtkEventBox"
id="eventbox_radio_show_menu">
<property name="visible">True</property>
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 95e8133a..2b2ec1e9 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6887,8 +6887,9 @@ LogB.Debug("mc finished 5");
"\t<tt><b>+</b></tt> " + Catalog.GetString("Add weight") + "\n" +
"\t<tt><b>-</b></tt> " + Catalog.GetString("Remove weight") + "\n" +
- "\n" + Catalog.GetString("Other") + ":\n" +
- "\t<tt><b>(Escape)</b></tt> " + Catalog.GetString("Close any window")
+ "\n<tt><b>(Escape)</b></tt>\n" +
+ "\t" + Catalog.GetString("Close any window") + "\n" +
+ "\t" + Catalog.GetString("Open menu")
);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]