From 848b1ccde1e80cc3ab1190fc698ff4de5bd7f0e8 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 23 Jun 2011 00:55:01 +0100 Subject: [PATCH] event log: select All Folders when updating chooser --- SparkleShare/Mac/SparkleEventLog.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SparkleShare/Mac/SparkleEventLog.cs b/SparkleShare/Mac/SparkleEventLog.cs index c10c2a8e..f439e14d 100644 --- a/SparkleShare/Mac/SparkleEventLog.cs +++ b/SparkleShare/Mac/SparkleEventLog.cs @@ -108,9 +108,10 @@ namespace SparkleShare { this.popup_button.AddItem ("All Folders"); this.popup_button.Menu.AddItem (NSMenuItem.SeparatorItem); this.popup_button.AddItems (SparkleShare.Controller.Folders.ToArray ()); + this.popup_button.SelectItem (0); this.popup_button.Activated += delegate { - if (popup_button.IndexOfSelectedItem == 0) + if (this.popup_button.IndexOfSelectedItem == 0) this.selected_log = null; else this.selected_log = this.popup_button.SelectedItem.Title;