[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6093 - in trunk/gnue-forms/src/uidrivers: gtk2 wx
From: |
reinhard |
Subject: |
r6093 - in trunk/gnue-forms/src/uidrivers: gtk2 wx |
Date: |
Tue, 27 Jul 2004 17:53:05 -0500 (CDT) |
Author: reinhard
Date: 2004-07-27 17:53:04 -0500 (Tue, 27 Jul 2004)
New Revision: 6093
Modified:
trunk/gnue-forms/src/uidrivers/gtk2/common.py
trunk/gnue-forms/src/uidrivers/wx/common.py
Log:
Removed some dead code.
Modified: trunk/gnue-forms/src/uidrivers/gtk2/common.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/gtk2/common.py 2004-07-27 21:33:58 UTC
(rev 6092)
+++ trunk/gnue-forms/src/uidrivers/gtk2/common.py 2004-07-27 22:53:04 UTC
(rev 6093)
@@ -71,14 +71,9 @@
# Get the event to process from the KeyMapper
command = GFKeyMapper.KeyMapper.getEvent (keycode, isShift, isCtrl, isMod1)
- if command == 'JUMPRECORD':
- global _PROMPTFORRECORD
- action = _PROMPTFORRECORD ()
-
- elif command:
+ if command:
action = events.Event ('request%s' % command)
- if action is not None:
# Add the gfObject's _form to the outgoing event
# rather than every event in the function
gDebug (3, "Calling %s" % action.__event__)
Modified: trunk/gnue-forms/src/uidrivers/wx/common.py
===================================================================
--- trunk/gnue-forms/src/uidrivers/wx/common.py 2004-07-27 21:33:58 UTC (rev
6092)
+++ trunk/gnue-forms/src/uidrivers/wx/common.py 2004-07-27 22:53:04 UTC (rev
6093)
@@ -224,12 +224,8 @@
event.ControlDown(),
event.AltDown())
- if command == 'JUMPRECORD':
- global _PROMPTFORRECORD
- action = _PROMPTFORRECORD()
-
# let listbox handle Space,PgUp,PgDn,Up,Down keys
- elif object._type == 'GFEntry' and object.style == 'listbox' and (keycode
in (32,312,313,317,319)):
+ if object._type == 'GFEntry' and object.style == 'listbox' and (keycode in
(32,312,313,317,319)):
event.Skip()
elif command:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6093 - in trunk/gnue-forms/src/uidrivers: gtk2 wx,
reinhard <=