From: Willem J. P. <wjp...@us...> - 2010-03-28 20:51:43
|
gemrb: Infinity Engine emulator The branch master has been updated via 42a41a2ab661a5479874994948c1f16f5582f708 (commit) Summary of changes: gemrb/GUIScripts/bg1/GUIMG.py | 2 +- gemrb/GUIScripts/bg1/GUIPR.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) from a9cf02ed47c55e4e8ed6e39f64edcd916cbdb12d (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=42a41a2ab661a5479874994948c1f16f5582f708 commit 42a41a2ab661a5479874994948c1f16f5582f708 Author: Willem Jan Palenstijn <wjp...@us...> Date: Sun Mar 28 22:50:30 2010 +0200 Grey out mage/priest windows properly diff --git a/gemrb/GUIScripts/bg1/GUIMG.py b/gemrb/GUIScripts/bg1/GUIMG.py index 2e33803..05aded4 100644 --- a/gemrb/GUIScripts/bg1/GUIMG.py +++ b/gemrb/GUIScripts/bg1/GUIMG.py @@ -104,7 +104,7 @@ def OpenMageWindow (): UpdateMageWindow () OptionsWindow.SetVisible (1) - Window.SetVisible (1) + Window.SetVisible (3) GUICommonWindows.PortraitWindow.SetVisible (1) return diff --git a/gemrb/GUIScripts/bg1/GUIPR.py b/gemrb/GUIScripts/bg1/GUIPR.py index a6b1678..521ab74 100644 --- a/gemrb/GUIScripts/bg1/GUIPR.py +++ b/gemrb/GUIScripts/bg1/GUIPR.py @@ -101,7 +101,7 @@ def OpenPriestWindow (): UpdatePriestWindow () OptionsWindow.SetVisible (1) - Window.SetVisible (1) + Window.SetVisible (3) GUICommonWindows.PortraitWindow.SetVisible (1) return @@ -177,10 +177,10 @@ def UpdatePriestWindow (): Button.SetTooltip ('') Button.EnableBorder (0, 0) - #if (ClassSkillsTable.GetValue (GemRB.GetPlayerStat( GemRB.GameGetSelectedPCSingle(), IE_CLASS), 1)=="*"): - # Window.SetVisible (2) - #else: - Window.SetVisible (1) + if (ClassSkillsTable.GetValue (GemRB.GetPlayerStat( GemRB.GameGetSelectedPCSingle(), IE_CLASS), 1)=="*"): + Window.SetVisible (2) + else: + Window.SetVisible (1) return def PriestPrevLevelPress (): ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |