Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/journal/listview.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/jarabe/journal/listview.py')
-rw-r--r--src/jarabe/journal/listview.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index 85686c5..2e67527 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -239,6 +239,11 @@ class BaseListView(Gtk.Bin):
def __buddies_set_data_cb(self, column, cell, tree_model,
tree_iter, data):
+ buddy = tree_model.do_get_value(tree_iter, cell._model_column_index)
+ if buddy is None:
+ cell.props.visible = False
+ return
+
progress = tree_model[tree_iter][ListModel.COLUMN_PROGRESS]
cell.props.visible = progress >= 100