From 79229081eb47f35190107323f3ec7cd5e3ba7c6a Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Sun, 4 Nov 2012 15:44:24 +0000 Subject: [PATCH] statusicon: swap menu items --- SparkleShare/Linux/SparkleStatusIcon.cs | 22 ++++++++++++---------- SparkleShare/Mac/SparkleStatusIcon.cs | 2 +- SparkleShare/Windows/SparkleStatusIcon.cs | 2 +- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/SparkleShare/Linux/SparkleStatusIcon.cs b/SparkleShare/Linux/SparkleStatusIcon.cs index 2c720778..010b57d5 100644 --- a/SparkleShare/Linux/SparkleStatusIcon.cs +++ b/SparkleShare/Linux/SparkleStatusIcon.cs @@ -234,6 +234,18 @@ namespace SparkleShare { this.menu.Add (new SeparatorMenuItem ()); + + this.recent_events_item = new MenuItem ("Recent Changes…"); + + this.recent_events_item.Sensitive = Controller.RecentEventsItemEnabled; + + this.recent_events_item.Activated += delegate { + Controller.RecentEventsClicked (); + }; + + this.menu.Add (this.recent_events_item); + + MenuItem sync_item = new MenuItem ("Add Hosted Project…"); sync_item.Activated += delegate { @@ -241,16 +253,6 @@ namespace SparkleShare { }; this.menu.Add (sync_item); - - this.recent_events_item = new MenuItem ("Recent Changes…"); - - this.recent_events_item.Sensitive = Controller.RecentEventsItemEnabled; - - this.recent_events_item.Activated += delegate { - Controller.RecentEventsClicked (); - }; - - this.menu.Add (this.recent_events_item); this.menu.Add (new SeparatorMenuItem ()); diff --git a/SparkleShare/Mac/SparkleStatusIcon.cs b/SparkleShare/Mac/SparkleStatusIcon.cs index 06e59b9c..5c1000d2 100755 --- a/SparkleShare/Mac/SparkleStatusIcon.cs +++ b/SparkleShare/Mac/SparkleStatusIcon.cs @@ -315,8 +315,8 @@ namespace SparkleShare { } this.menu.AddItem (NSMenuItem.SeparatorItem); - this.menu.AddItem (this.add_item); this.menu.AddItem (this.recent_events_item); + this.menu.AddItem (this.add_item); this.menu.AddItem (NSMenuItem.SeparatorItem); this.menu.AddItem (this.about_item); this.menu.AddItem (NSMenuItem.SeparatorItem); diff --git a/SparkleShare/Windows/SparkleStatusIcon.cs b/SparkleShare/Windows/SparkleStatusIcon.cs index 2d66b9b4..f4cfb7e0 100644 --- a/SparkleShare/Windows/SparkleStatusIcon.cs +++ b/SparkleShare/Windows/SparkleStatusIcon.cs @@ -288,8 +288,8 @@ namespace SparkleShare { } this.context_menu.Items.Add (new Separator ()); + this.context_menu.Items.Add (this.log_item); this.context_menu.Items.Add (add_item); - this.context_menu.Items.Add (this.log_item); this.context_menu.Items.Add (new Separator ()); this.context_menu.Items.Add (notify_item); this.context_menu.Items.Add (new Separator ());