From 54030de19da41ee4b54bedec38dc518240e9b245 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Wed, 25 Jan 2012 20:33:30 +0000 Subject: [PATCH] fix compile error --- SparkleShare/SparkleEventLog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SparkleShare/SparkleEventLog.cs b/SparkleShare/SparkleEventLog.cs index 1db9c39b..eb37516d 100755 --- a/SparkleShare/SparkleEventLog.cs +++ b/SparkleShare/SparkleEventLog.cs @@ -173,7 +173,7 @@ namespace SparkleShare { this.combo_box.Changed += delegate { TreeIter iter; this.combo_box.GetActiveIter (out iter); -// string selection = (string) this.combo_box.Model.GetValue (iter, 0); + string selection = (string) this.combo_box.Model.GetValue (iter, 0); TreePath path = this.combo_box.Model.GetPath (iter); if (path.Indices [0] == 0) { @@ -181,7 +181,7 @@ namespace SparkleShare { Controller.SelectedFolder = null; } else { Console.WriteLine (">>> else statement: " + path.Indices [0]); - Controller.SelectedFolder = path.Indices [0].ToString (); + Controller.SelectedFolder = selection; } };