Fixed orientation of the menu label (emorrp1's fix was good but incomplete)
This commit is contained in:
parent
37760f5de7
commit
555d5b30c5
@ -633,13 +633,13 @@ class MenuWin( object ):
|
|||||||
# if we have a vertical panel
|
# if we have a vertical panel
|
||||||
elif self.applet.get_orient() == gnomeapplet.ORIENT_LEFT:
|
elif self.applet.get_orient() == gnomeapplet.ORIENT_LEFT:
|
||||||
self.button_box = gtk.VBox()
|
self.button_box = gtk.VBox()
|
||||||
self.systemlabel.set_angle( 90 )
|
self.systemlabel.set_angle( 270 )
|
||||||
self.button_box.pack_start( self.systemlabel )
|
self.button_box.pack_start( self.systemlabel )
|
||||||
self.button_box.pack_start( self.button_icon )
|
self.button_box.pack_start( self.button_icon )
|
||||||
self.button_icon.set_padding( 5, 0 )
|
self.button_icon.set_padding( 5, 0 )
|
||||||
elif self.applet.get_orient() == gnomeapplet.ORIENT_RIGHT:
|
elif self.applet.get_orient() == gnomeapplet.ORIENT_RIGHT:
|
||||||
self.button_box = gtk.VBox()
|
self.button_box = gtk.VBox()
|
||||||
self.systemlabel.set_angle( 270 )
|
self.systemlabel.set_angle( 90 )
|
||||||
self.button_box.pack_start( self.button_icon )
|
self.button_box.pack_start( self.button_icon )
|
||||||
self.button_box.pack_start( self.systemlabel )
|
self.button_box.pack_start( self.systemlabel )
|
||||||
self.button_icon.set_padding( 0, 5 )
|
self.button_icon.set_padding( 0, 5 )
|
||||||
|
Loading…
Reference in New Issue
Block a user