"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gui/__init__.py" between
relax-4.1.3.src.tar.bz2 and relax-5.0.0.src.tar.bz2

About: relax allows the study of molecular dynamics through the analysis of experimental NMR data. Organic molecules, proteins, RNA, DNA, sugars, and other biomolecules are all supported.

__init__.py  (relax-4.1.3.src.tar.bz2):__init__.py  (relax-5.0.0.src.tar.bz2)
skipping to change at line 36 skipping to change at line 36
""" """
# Deps. # Deps.
import dep_check import dep_check
# Python module imports. # Python module imports.
import sys import sys
from time import sleep from time import sleep
if dep_check.wx_module: if dep_check.wx_module:
import wx import wx
if not dep_check.wx_classic:
import wx.adv
# relax module imports. # relax module imports.
from graphics import IMAGE_PATH from graphics import IMAGE_PATH
from gui.uf_objects import Uf_storage; uf_store = Uf_storage() from gui.uf_objects import Uf_storage; uf_store = Uf_storage()
from lib.errors import RelaxError from lib.errors import RelaxError
import pipe_control import pipe_control
from status import Status; status = Status() from status import Status; status = Status()
__all__ = ['about', __all__ = ['about',
'base_classes', 'base_classes',
skipping to change at line 125 skipping to change at line 127
def show_splash(self): def show_splash(self):
"""Build and show the splash screen.""" """Build and show the splash screen."""
# The image. # The image.
bmp = wx.Bitmap(IMAGE_PATH+'relaxGUI_splash.png', wx.BITMAP_TYPE_ANY) bmp = wx.Bitmap(IMAGE_PATH+'relaxGUI_splash.png', wx.BITMAP_TYPE_ANY)
# The timeout (ms). # The timeout (ms).
timeout = 2500 timeout = 2500
# The splash screen. # The splash screen.
screen = wx.SplashScreen(bmp, wx.SPLASH_CENTRE_ON_PARENT | wx.SPLASH_TIM if dep_check.wx_classic:
EOUT, timeout, None, -1) screen = wx.SplashScreen(bmp, wx.SPLASH_CENTRE_ON_PARENT | wx.SPLASH
_TIMEOUT, timeout, None, -1)
else:
screen = wx.adv.SplashScreen(bmp, wx.adv.SPLASH_CENTRE_ON_PARENT | w
x.adv.SPLASH_TIMEOUT, timeout, None, -1)
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)