Changeset 5131

Show
Ignore:
Timestamp:
07/28/09 11:55:49 (4 years ago)
Author:
luis
Message:

Changing Splash

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/umit/gui/Splash.py

    r4295 r5131  
    2323import gtk 
    2424import gobject 
    25  
     25from higwidgets.higboxes import hig_box_space_holder 
    2626from umit.core.Version import VERSION 
    2727 
     
    4545 
    4646        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'>\ 
    4848%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) 
    4953 
    5054        # These constants are derived from the dimensions of the open space in 
    5155        # the splash graphic. We attempt to center the version number. 
    5256        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) 
    5458 
    5559        fixed = gtk.Fixed() 
    56         fixed.put(self.verbox, width - 152, height - 56) 
     60        fixed.put(self.verbox, width - 152, height - (height-26)) 
    5761        self.add(fixed) 
    5862