summaryrefslogtreecommitdiff
path: root/portato/gui/windows/splash.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-09-02 13:01:17 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-09-02 13:01:17 +0200
commitafa1de13f0576ace6dcbb0176490fd20922950cd (patch)
tree056a5fd646f53dfa83f2fe231ec0943747b15ffc /portato/gui/windows/splash.py
parent02d96210d9102f0cdec95b4e0f595cbd8fdd1e10 (diff)
downloadportato-afa1de13f0576ace6dcbb0176490fd20922950cd.tar.gz
portato-afa1de13f0576ace6dcbb0176490fd20922950cd.tar.bz2
portato-afa1de13f0576ace6dcbb0176490fd20922950cd.zip
Switch from tabs to 4 spaces
Diffstat (limited to 'portato/gui/windows/splash.py')
-rw-r--r--portato/gui/windows/splash.py60
1 files changed, 30 insertions, 30 deletions
diff --git a/portato/gui/windows/splash.py b/portato/gui/windows/splash.py
index df19a9b..c27f74f 100644
--- a/portato/gui/windows/splash.py
+++ b/portato/gui/windows/splash.py
@@ -18,33 +18,33 @@ from .basic import Window
from ...constants import VERSION, APP_ICON
class SplashScreen (Window):
-
- def __init__ (self, startStr = ""):
- Window.__init__(self)
-
- self.image = self.tree.get_widget("image")
- self.genLabel = self.tree.get_widget("generalLabel")
- self.descrLabel = self.tree.get_widget("descrLabel")
-
- self.image.set_from_file(APP_ICON)
- self.genLabel.set_label("<b><big>Portato %s ...</big></b>" % VERSION)
-
- self.set_descr(startStr)
-
- def set_descr (self, string):
- self.descrLabel.set_label(_("... is starting up: %s") % string)
- self.do_iteration()
-
- def do_iteration (self):
- while gtk.events_pending():
- gtk.main_iteration()
-
- def show (self):
- self.window.show_all()
- self.do_iteration()
-
- def hide (self):
- self.window.hide()
- self.do_iteration()
-
- __call__ = set_descr
+
+ def __init__ (self, startStr = ""):
+ Window.__init__(self)
+
+ self.image = self.tree.get_widget("image")
+ self.genLabel = self.tree.get_widget("generalLabel")
+ self.descrLabel = self.tree.get_widget("descrLabel")
+
+ self.image.set_from_file(APP_ICON)
+ self.genLabel.set_label("<b><big>Portato %s ...</big></b>" % VERSION)
+
+ self.set_descr(startStr)
+
+ def set_descr (self, string):
+ self.descrLabel.set_label(_("... is starting up: %s") % string)
+ self.do_iteration()
+
+ def do_iteration (self):
+ while gtk.events_pending():
+ gtk.main_iteration()
+
+ def show (self):
+ self.window.show_all()
+ self.do_iteration()
+
+ def hide (self):
+ self.window.hide()
+ self.do_iteration()
+
+ __call__ = set_descr