[longomatch] Closes Bug 594161 - Can't edit categories name in the treeview
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [longomatch] Closes Bug 594161 - Can't edit categories name in the treeview
- Date: Fri, 4 Sep 2009 17:30:56 +0000 (UTC)
commit 11531aa71d6775e9f13466a44df106863ba5751b
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Sep 4 19:23:02 2009 +0200
Closes Bug 594161 - Can't edit categories name in the treeview
LongoMatch/Gui/TimeNodesTreeView.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch/Gui/TimeNodesTreeView.cs b/LongoMatch/Gui/TimeNodesTreeView.cs
index 95e8e7b..bed2c05 100644
--- a/LongoMatch/Gui/TimeNodesTreeView.cs
+++ b/LongoMatch/Gui/TimeNodesTreeView.cs
@@ -269,7 +269,7 @@ namespace LongoMatch.Gui.Component
TimeNode tNode = (TimeNode)this.Model.GetValue (iter, 0);
if (tNode is MediaTimeNode && TimeNodeSelected != null)
- this.TimeNodeSelected((MediaTimeNode)tNode);
+ this.TimeNodeSelected((MediaTimeNode)tNode);
}
protected override bool OnButtonPressEvent (EventButton evnt)
@@ -288,6 +288,10 @@ namespace LongoMatch.Gui.Component
selectedTimeNode = (TimeNode)this.Model.GetValue (selectedIter, 0);
if (selectedTimeNode is MediaTimeNode )
menu.Popup();
+ else{
+ nameCell.Editable = true;
+ this.SetCursor(path, nameColumn, true);
+ }
}
}
return returnValue;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]