Changeset 5131
- Timestamp:
- 07/28/09 11:55:49 (4 years ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
share/pixmaps/umit/splash.png (modified) (previous)
-
umit/gui/Splash.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/umit/gui/Splash.py
r4295 r5131 23 23 import gtk 24 24 import gobject 25 25 from higwidgets.higboxes import hig_box_space_holder 26 26 from umit.core.Version import VERSION 27 27 … … 45 45 46 46 self.version.set_use_markup(True) 47 self.version.set_markup("<span size=' 22000' weight='heavy'>\47 self.version.set_markup("<span size='19000' weight='heavy'>\ 48 48 %s</span>" % VERSION) 49 50 self.hor = gtk.HBox() 51 self.hor.pack_end(self.version, True, False) 52 self.hor.pack_end(hig_box_space_holder(), True, False) 49 53 50 54 # These constants are derived from the dimensions of the open space in 51 55 # the splash graphic. We attempt to center the version number. 52 56 self.verbox.set_size_request(152, 56) 53 self.verbox.pack_start(self. version, True, False)57 self.verbox.pack_start(self.hor, True, False) 54 58 55 59 fixed = gtk.Fixed() 56 fixed.put(self.verbox, width - 152, height - 56)60 fixed.put(self.verbox, width - 152, height - (height-26)) 57 61 self.add(fixed) 58 62
