|
|
|
@ -28,7 +28,6 @@ from gi.repository import GLib
|
|
|
|
|
from gi.repository import Gtk
|
|
|
|
|
from gi.repository import Gdk
|
|
|
|
|
from gi.repository import GObject
|
|
|
|
|
from gi.repository import Pango
|
|
|
|
|
|
|
|
|
|
from sugar3.graphics import animator
|
|
|
|
|
from sugar3.graphics import style
|
|
|
|
@ -285,7 +284,8 @@ class Palette(PaletteWindow):
|
|
|
|
|
self._secondary_label.set_max_width_chars(
|
|
|
|
|
style.MENU_WIDTH_CHARS)
|
|
|
|
|
self._secondary_label.set_line_wrap(True)
|
|
|
|
|
self._secondary_label.set_ellipsize(style.ELLIPSIZE_MODE_DEFAULT)
|
|
|
|
|
self._secondary_label.set_ellipsize(
|
|
|
|
|
style.ELLIPSIZE_MODE_DEFAULT)
|
|
|
|
|
self._secondary_label.set_lines(NO_OF_LINES)
|
|
|
|
|
self._secondary_label.set_justify(Gtk.Justification.FILL)
|
|
|
|
|
else:
|
|
|
|
|