This commit is contained in:
Hylke Bons 2012-01-25 21:21:44 +00:00
parent a66a373c5b
commit 82989fbd2a

View file

@ -174,15 +174,12 @@ namespace SparkleShare {
TreeIter iter; TreeIter iter;
this.combo_box.GetActiveIter (out 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); TreePath path = this.combo_box.Model.GetPath (iter);
if (path.Indices [0] == 0) { if (path.Indices [0] == 0);
Console.WriteLine (">>> if statement");
Controller.SelectedFolder = null; Controller.SelectedFolder = null;
} else { else
Console.WriteLine (">>> else statement: " + path.Indices [0]);
Controller.SelectedFolder = selection; Controller.SelectedFolder = selection;
}
}; };
this.layout_horizontal.BorderWidth = 9; this.layout_horizontal.BorderWidth = 9;