[longomatch] Remove unused code
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Remove unused code
- Date: Wed, 29 Sep 2010 20:45:56 +0000 (UTC)
commit d23608c8c3c2bd890c88dd7fb29167379b005454
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 21 16:58:48 2010 +0200
Remove unused code
LongoMatch/Gui/TreeView/ListTreeViewBase.cs | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch/Gui/TreeView/ListTreeViewBase.cs b/LongoMatch/Gui/TreeView/ListTreeViewBase.cs
index 23b2f5c..58c86a8 100644
--- a/LongoMatch/Gui/TreeView/ListTreeViewBase.cs
+++ b/LongoMatch/Gui/TreeView/ListTreeViewBase.cs
@@ -347,14 +347,9 @@ namespace LongoMatch.Gui.Component
protected virtual void OnEdit(object obj, EventArgs args) {
TreePath[] paths = Selection.GetSelectedRows();
- object o = GetValueFromPath(paths[0]);
editing = true;
nameCell.Editable = true;
- if (o is Player)
- nameCell.Markup = (o as Player).Name;
- else
- nameCell.Markup = (o as TimeNode).Name;
SetCursor(paths[0], nameColumn, true);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]