[gnome-calculator] Added 'period' keypress when the delete key on the numpad is pressed.
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator] Added 'period' keypress when the delete key on the numpad is pressed.
- Date: Tue, 9 Aug 2016 15:52:26 +0000 (UTC)
commit 3d660cb558f74847e48cca733980bf8550fb0151
Author: Myridium <mggrewar hotmail com>
Date: Sat Jul 23 14:56:09 2016 +1000
Added 'period' keypress when the delete key on the numpad is pressed.
src/math-display.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index 2bd39fa..bcb3ce5 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -185,6 +185,9 @@ public class MathDisplay : Gtk.Viewport
case Gdk.Key.KP_Page_Up:
new_keyval = Gdk.Key.@9;
break;
+ case Gdk.Key.KP_Delete:
+ new_keyval = Gdk.Key.period;
+ break;
}
if (new_keyval != 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]