Ellipses defaulted to end of long activity titles;fixes 1429

This commit is contained in:
Goutam
2014-12-17 03:39:50 +04:00
committed by Gonzalo Odiard
parent cef1ad7590
commit b5cae5fb56
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ class PaletteMenuItem(Gtk.EventBox):
self.label = Gtk.Label(text_label)
if text_maxlen > 0:
self.label.set_max_width_chars(text_maxlen)
self.label.set_ellipsize(Pango.EllipsizeMode.MIDDLE)
self.label.set_ellipsize(style.ELLIPSIZE_MODE_DEFAULT)
align.add(self.label)
self._hbox.pack_start(align, expand=True, fill=True,
padding=style.DEFAULT_PADDING)