Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/thumbsview.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/journal/thumbsview.py')
-rw-r--r--src/jarabe/journal/thumbsview.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/jarabe/journal/thumbsview.py b/src/jarabe/journal/thumbsview.py
index 4dca8df..920bf2c 100644
--- a/src/jarabe/journal/thumbsview.py
+++ b/src/jarabe/journal/thumbsview.py
@@ -21,14 +21,19 @@ import hippo
from jarabe.journal.browse.lazymodel import Source
from jarabe.journal.browse.tableview import TableView, TableCell
+from jarabe.journal.browse.source import *
class ThumbsCell(TableCell, hippo.CanvasBox):
def __init__(self):
TableCell.__init__(self)
hippo.CanvasBox.__init__(self, orientation=hippo.ORIENTATION_VERTICAL)
- label = hippo.CanvasWidget(widget=gtk.Button('!!!'))
- self.append(label)
+ self.label = hippo.CanvasText(
+ size_mode=hippo.CANVAS_SIZE_ELLIPSIZE_END)
+ self.append(self.label)
+
+ def fillin(self):
+ self.label.props.text = self.row[FIELD_TITLE] or ''
class ThumbsView(TableView):
__gsignals__ = {