statusicon: Rename some labels
This commit is contained in:
parent
bfdb72194c
commit
0ea3ca075b
|
@ -143,7 +143,7 @@ namespace SparkleShare {
|
||||||
SparkleMenuItem item = new SparkleMenuItem (project.Name);
|
SparkleMenuItem item = new SparkleMenuItem (project.Name);
|
||||||
|
|
||||||
Gdk.Pixbuf folder_icon;
|
Gdk.Pixbuf folder_icon;
|
||||||
folder_icon = IconTheme.Default.LoadIcon ("folder", 16, IconLookupFlags.GenericFallback);
|
folder_icon = UserInterfaceHelpers.GetIcon ("folders", 16);
|
||||||
|
|
||||||
item.Submenu = new Menu ();
|
item.Submenu = new Menu ();
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ namespace SparkleShare {
|
||||||
if (Controller.Projects [i].HasError) {
|
if (Controller.Projects [i].HasError) {
|
||||||
folder_icon = IconTheme.Default.LoadIcon ("dialog-warning", 16, IconLookupFlags.GenericFallback);
|
folder_icon = IconTheme.Default.LoadIcon ("dialog-warning", 16, IconLookupFlags.GenericFallback);
|
||||||
|
|
||||||
MenuItem try_again_item = new MenuItem ("Try Again");
|
MenuItem try_again_item = new MenuItem ("Retry Sync");
|
||||||
try_again_item.Activated += Controller.TryAgainDelegate (project.Name);
|
try_again_item.Activated += Controller.TryAgainDelegate (project.Name);
|
||||||
(item.Submenu as Menu).Add (try_again_item);
|
(item.Submenu as Menu).Add (try_again_item);
|
||||||
|
|
||||||
|
@ -206,12 +206,12 @@ namespace SparkleShare {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
this.recent_events_item = new MenuItem ("Recent Changes…");
|
this.recent_events_item = new MenuItem ("History…");
|
||||||
this.recent_events_item.Sensitive = Controller.RecentEventsItemEnabled;
|
this.recent_events_item.Sensitive = Controller.RecentEventsItemEnabled;
|
||||||
this.quit_item = new MenuItem ("Quit") { Sensitive = Controller.QuitItemEnabled };
|
this.quit_item = new MenuItem ("Quit") { Sensitive = Controller.QuitItemEnabled };
|
||||||
MenuItem add_item = new MenuItem ("Sync Remote Project…");
|
MenuItem add_item = new MenuItem ("Sync Remote Project…");
|
||||||
|
|
||||||
MenuItem link_code_item = new MenuItem ("Client ID");
|
MenuItem link_code_item = new MenuItem ("Computer ID");
|
||||||
|
|
||||||
if (Controller.LinkCodeItemEnabled) {
|
if (Controller.LinkCodeItemEnabled) {
|
||||||
link_code_item.Submenu = new Menu ();
|
link_code_item.Submenu = new Menu ();
|
||||||
|
@ -265,6 +265,7 @@ namespace SparkleShare {
|
||||||
(folder_item.Submenu as Menu).Add (new SeparatorMenuItem ());
|
(folder_item.Submenu as Menu).Add (new SeparatorMenuItem ());
|
||||||
(folder_item.Submenu as Menu).Add (about_item);
|
(folder_item.Submenu as Menu).Add (about_item);
|
||||||
|
|
||||||
|
this.menu.Add (new SeparatorMenuItem ());
|
||||||
this.menu.Add (add_item);
|
this.menu.Add (add_item);
|
||||||
this.menu.Add (new SeparatorMenuItem ());
|
this.menu.Add (new SeparatorMenuItem ());
|
||||||
this.menu.Add (this.quit_item);
|
this.menu.Add (this.quit_item);
|
||||||
|
|
|
@ -201,7 +201,7 @@ namespace SparkleShare {
|
||||||
item.Image = this.caution_image;
|
item.Image = this.caution_image;
|
||||||
|
|
||||||
this.try_again_menu_items [i] = new NSMenuItem ();
|
this.try_again_menu_items [i] = new NSMenuItem ();
|
||||||
this.try_again_menu_items [i].Title = "Try Again";
|
this.try_again_menu_items [i].Title = "Retry Sync";
|
||||||
this.try_again_menu_items [i].Activated += Controller.TryAgainDelegate (project.Name);
|
this.try_again_menu_items [i].Activated += Controller.TryAgainDelegate (project.Name);
|
||||||
|
|
||||||
item.Submenu.AddItem (this.try_again_menu_items [i]);
|
item.Submenu.AddItem (this.try_again_menu_items [i]);
|
||||||
|
|
|
@ -284,7 +284,7 @@ namespace SparkleShare {
|
||||||
};
|
};
|
||||||
|
|
||||||
SparkleMenuItem try_again_item = new SparkleMenuItem {
|
SparkleMenuItem try_again_item = new SparkleMenuItem {
|
||||||
Header = "Try Again"
|
Header = "Retry Sync"
|
||||||
};
|
};
|
||||||
try_again_item.Click += (sender, e) => Controller.TryAgainDelegate(project.Name)(sender, e);
|
try_again_item.Click += (sender, e) => Controller.TryAgainDelegate(project.Name)(sender, e);
|
||||||
subfolder_item.Items.Add(try_again_item);
|
subfolder_item.Items.Add(try_again_item);
|
||||||
|
|
Loading…
Reference in a new issue