From: Jaka K. <lyn...@us...> - 2012-08-22 21:09:45
|
gemrb: Infinity Engine emulator The branch master has been updated via 283466a222cdd3327f63f967f4e4c9018c0d218c (commit) Summary of changes: gemrb/GUIScripts/GUICommon.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) from 2b0087c334dea3acec4a67e54aff0ac4227ebddc (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=283466a222cdd3327f63f967f4e4c9018c0d218c commit 283466a222cdd3327f63f967f4e4c9018c0d218c Author: Jaka Kranjc <lyn...@us...> Date: Wed Aug 22 23:05:13 2012 +0200 turns out all the games align stack counts to the bottom diff --git a/gemrb/GUIScripts/GUICommon.py b/gemrb/GUIScripts/GUICommon.py index 837c3d2..0912377 100644 --- a/gemrb/GUIScripts/GUICommon.py +++ b/gemrb/GUIScripts/GUICommon.py @@ -296,11 +296,7 @@ def UpdateInventorySlot (pc, Button, Slot, Type, Equipped=False): Button.SetBorder (1, 2,2,2,2, 32,32,255,0, 0,0) Button.SetBorder (2, 0,0,0,0, 255,128,128,64, 0,1) Button.SetText ("") - Button.SetFlags (IE_GUI_BUTTON_ALIGN_RIGHT | IE_GUI_BUTTON_PICTURE, OP_OR) - if GameIsIWD1(): - Button.SetFlags (IE_GUI_BUTTON_ALIGN_BOTTOM, OP_OR) - else: - Button.SetFlags (IE_GUI_BUTTON_ALIGN_TOP, OP_OR) + Button.SetFlags (IE_GUI_BUTTON_ALIGN_RIGHT | IE_GUI_BUTTON_ALIGN_BOTTOM | IE_GUI_BUTTON_PICTURE, OP_OR) if Slot == None: Button.SetFlags (IE_GUI_BUTTON_PICTURE, OP_NAND) ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |