[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r6284 - trunk/gnue-forms/src
From: |
johannes |
Subject: |
r6284 - trunk/gnue-forms/src |
Date: |
Tue, 14 Sep 2004 14:02:25 -0500 (CDT) |
Author: johannes
Date: 2004-09-14 14:02:24 -0500 (Tue, 14 Sep 2004)
New Revision: 6284
Modified:
trunk/gnue-forms/src/GFInstance.py
Log:
Create uiinstance only if an UI module is available
Modified: trunk/gnue-forms/src/GFInstance.py
===================================================================
--- trunk/gnue-forms/src/GFInstance.py 2004-09-14 18:37:53 UTC (rev 6283)
+++ trunk/gnue-forms/src/GFInstance.py 2004-09-14 19:02:24 UTC (rev 6284)
@@ -154,8 +154,9 @@
GFKeyMapper.KeyMapper.loadUserKeyMap (mapping)
- # Construct an instance of the UI driver
- self._uiinstance = self._uimodule.GFUserInterface (self.eventController,
+ # Construct an instance of the UI driver if an UI module is available
+ if self._uimodule is not None:
+ self._uiinstance = self._uimodule.GFUserInterface (self.eventController,
disableSplash = self._disableSplash,
parentContainer = self._parentContainer)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r6284 - trunk/gnue-forms/src,
johannes <=