[gnome-calculator] Readd missing accels
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Readd missing accels
- Date: Mon, 8 Oct 2018 21:07:53 +0000 (UTC)
commit 4d829c664586d266f089e08939a9b78020014d55
Author: Robert Roth <robert roth off gmail com>
Date: Tue Oct 9 00:07:23 2018 +0300
Readd missing accels
src/gnome-calculator.vala | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/gnome-calculator.vala b/src/gnome-calculator.vala
index a8195b7d..72d53824 100644
--- a/src/gnome-calculator.vala
+++ b/src/gnome-calculator.vala
@@ -75,7 +75,6 @@ public class Calculator : Gtk.Application
Number.precision = precision;
add_action_entries (app_entries, this);
- set_accels_for_action ("win.clear", {"<Primary>Escape"});
var current_window = new MathWindow (this, equation);
current_window.set_title (_("Calculator"));
@@ -103,7 +102,11 @@ public class Calculator : Gtk.Application
set_accels_for_action ("win.undo", {"<control>Z"});
set_accels_for_action ("win.close", {"<control>W"});
set_accels_for_action ("win.redo", {"<control><shift>Z"});
+ set_accels_for_action ("win.clear", {"<Primary>Escape"});
+
set_accels_for_action ("app.quit", {"<control>Q"});
+ set_accels_for_action ("app.new-window", {"<control>N"});
+ set_accels_for_action ("app.help", {"F1"});
return current_window;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]