From: Jaka K. <lyn...@us...> - 2011-04-22 16:18:12
|
gemrb: Infinity Engine emulator The branch master has been updated via f134ae4807b5172fc3547ace7a96849b174cbc64 (commit) Summary of changes: gemrb/GUIScripts/InventoryCommon.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) from d0c4003ea44d49ec179d08ec61a2c2a49fb45aa2 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=f134ae4807b5172fc3547ace7a96849b174cbc64 commit f134ae4807b5172fc3547ace7a96849b174cbc64 Author: Jaka Kranjc <lyn...@us...> Date: Fri Apr 22 18:16:44 2011 +0200 InventoryCommon: made the Done button in the item description react also the default button diff --git a/gemrb/GUIScripts/InventoryCommon.py b/gemrb/GUIScripts/InventoryCommon.py index 9c78074..d1b84fc 100644 --- a/gemrb/GUIScripts/InventoryCommon.py +++ b/gemrb/GUIScripts/InventoryCommon.py @@ -263,7 +263,7 @@ def DisplayItem (itemresref, type): Button = Window.GetControl (4) Button.SetText (strrefs[0]) Button.SetEvent (IE_GUI_BUTTON_ON_PRESS, CloseItemInfoWindow) - Button.SetFlags (IE_GUI_BUTTON_CANCEL, OP_OR) + Button.SetFlags (IE_GUI_BUTTON_CANCEL|IE_GUI_BUTTON_DEFAULT, OP_OR) #textarea Text = Window.GetControl (5) ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |