[dasher] Complete commenting out of CDasherControl::KeyReleaseEvent of c6546420.
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Complete commenting out of CDasherControl::KeyReleaseEvent of c6546420.
- Date: Wed, 13 Apr 2011 10:04:53 +0000 (UTC)
commit 167a0bfc9b2db325865a24fe901684125496353a
Author: Patrick Welche <prlw1 cam ac uk>
Date: Wed Mar 30 22:04:24 2011 +0100
Complete commenting out of CDasherControl::KeyReleaseEvent of c6546420.
KeyReleaseEvent and KeyPressEvent do nothing.
Src/Gtk2/DasherControl.cpp | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/Src/Gtk2/DasherControl.cpp b/Src/Gtk2/DasherControl.cpp
index 2bbc8fb..9dc3fda 100644
--- a/Src/Gtk2/DasherControl.cpp
+++ b/Src/Gtk2/DasherControl.cpp
@@ -549,26 +549,26 @@ gint CDasherControl::KeyReleaseEvent(GdkEventKey *event) {
// events mean the there's no guarantee that key up/down events will
// be received in pairs.
- if((event->keyval == GDK_Shift_L) || (event->keyval == GDK_Shift_R)) {
+// if((event->keyval == GDK_Shift_L) || (event->keyval == GDK_Shift_R)) {
// if(event->state & GDK_CONTROL_MASK)
// SetLongParameter(LP_BOOSTFACTOR, 25);
// else
// SetLongParameter(LP_BOOSTFACTOR, 100);
- }
- else if((event->keyval == GDK_Control_L) || (event->keyval == GDK_Control_R)) {
+// }
+// else if((event->keyval == GDK_Control_L) || (event->keyval == GDK_Control_R)) {
// if(event->state & GDK_SHIFT_MASK)
// SetLongParameter(LP_BOOSTFACTOR, 175);
// else
// SetLongParameter(LP_BOOSTFACTOR, 100);
- }
- else {
+// }
+// else {
// if(m_pKeyboardHelper) {
// int iKeyVal(m_pKeyboardHelper->ConvertKeycode(event->keyval));
// if(iKeyVal != -1)
// KeyUp(get_time(), iKeyVal);
// }
- }
+// }
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]