[totem] Fix row height in the Jamendo plugin
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix row height in the Jamendo plugin
- Date: Sun, 14 Nov 2010 14:01:57 +0000 (UTC)
commit 2880c4ee64db2785cdbd184abead6e1b3fab1dab
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Nov 14 14:00:50 2010 +0000
Fix row height in the Jamendo plugin
This is done by changing from wrapping album titles to ellipsising them
instead.
src/plugins/jamendo/jamendo.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/jamendo/jamendo.py b/src/plugins/jamendo/jamendo.py
index 4d0b23d..0baa449 100644
--- a/src/plugins/jamendo/jamendo.py
+++ b/src/plugins/jamendo/jamendo.py
@@ -207,8 +207,7 @@ class JamendoPlugin(gobject.GObject, Peas.Activatable, PeasGtk.Configurable):
# build description column
cell = Gtk.CellRendererText()
- cell.set_property('wrap-mode', Pango.WrapMode.WORD)
- cell.set_property('wrap-width', 30)
+ cell.set_property('ellipsize', Pango.EllipsizeMode.END)
col = Gtk.TreeViewColumn(cell_renderer=cell, markup=2)
col.set_expand(True)
w.append_column(col)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]