Fix ellipsizing on suggestion buttons

This commit is contained in:
Michael Webster 2013-03-08 08:13:30 -05:00
parent 5e69fefe8e
commit 3e2cf840eb

View File

@ -187,12 +187,12 @@ class SuggestionButton ( Gtk.Button ):
self.image.show() self.image.show()
HBox1.pack_start( self.image, False, False, 5 ) HBox1.pack_start( self.image, False, False, 5 )
self.label = Gtk.Label() self.label = Gtk.Label()
#self.label.set_ellipsize( Pango.EllipsizeMode.END ) self.label.set_ellipsize( Pango.EllipsizeMode.END )
self.label.set_alignment( 0.0, 1.0 ) self.label.set_alignment( 0.0, 1.0 )
self.label.show() self.label.show()
labelBox.pack_start( self.label, False, False, 0 ) labelBox.pack_start( self.label, True, True, 2 )
labelBox.show() labelBox.show()
HBox1.pack_start( labelBox, False, False, 0 ) HBox1.pack_start( labelBox, True, True, 2 )
HBox1.show() HBox1.show()
Align1.add( HBox1 ) Align1.add( HBox1 )
Align1.show() Align1.show()