Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Schampijer <simon@laptop.org>2012-09-20 07:56:02 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-09-20 12:06:09 (GMT)
commit4d661c3fa5a6790a92c7b15efac422960ff77b63 (patch)
treed6e80cc54e600f8af9dca49c83992cd1886047d0
parent3c34d616fec2ae4831870848e265eb9e849287f2 (diff)
Journal: fix editing of title in listview
gtk_tree_view_set_cursor_on_cell expects as well the cell renderer to be passed as argument [1]. [1] http://developer.gnome.org/gtk3/3.4/GtkTreeView.html#gtk-tree-view-set-cursor-on-cell Signed-off-by: Simon Schampijer <simon@laptop.org> Acked-by: Manuel QuiƱones <manuq@laptop.org>
-rw-r--r--src/jarabe/journal/listview.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jarabe/journal/listview.py b/src/jarabe/journal/listview.py
index 369f364..46c3440 100644
--- a/src/jarabe/journal/listview.py
+++ b/src/jarabe/journal/listview.py
@@ -534,7 +534,8 @@ class ListView(BaseListView):
metadata = model.get(row[ListModel.COLUMN_UID])
self.cell_title.props.editable = model.is_editable(metadata)
- tree_view.set_cursor_on_cell(path, column, start_editing=True)
+ tree_view.set_cursor_on_cell(path, column, self.cell_title,
+ start_editing=True)
def __detail_cell_clicked_cb(self, cell, path):
row = self.tree_view.get_model()[path]