statusicon: use welcome text until done loading
This commit is contained in:
parent
8b02a628a9
commit
35735df164
|
@ -72,10 +72,8 @@ namespace SparkleShare {
|
||||||
this.status_icon.Pixbuf = this.animation_frames [0];
|
this.status_icon.Pixbuf = this.animation_frames [0];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (Controller.Folders.Length == 0)
|
this.state_text = _("Welcome to SparkleShare!");
|
||||||
this.state_text = _("Welcome to SparkleShare!");
|
|
||||||
else
|
|
||||||
this.state_text = _("Files up to date") + Controller.FolderSize;
|
|
||||||
|
|
||||||
CreateMenu ();
|
CreateMenu ();
|
||||||
|
|
||||||
|
|
|
@ -82,10 +82,8 @@ namespace SparkleShare {
|
||||||
StatusItem = NSStatusBar.SystemStatusBar.CreateStatusItem (28);
|
StatusItem = NSStatusBar.SystemStatusBar.CreateStatusItem (28);
|
||||||
StatusItem.HighlightMode = true;
|
StatusItem.HighlightMode = true;
|
||||||
|
|
||||||
if (Controller.Folders.Length == 0)
|
StateText = _("Welcome to SparkleShare!");
|
||||||
StateText = _("Welcome to SparkleShare!");
|
|
||||||
else
|
|
||||||
StateText = _("Files up to date") + Controller.FolderSize;
|
|
||||||
|
|
||||||
CreateMenu ();
|
CreateMenu ();
|
||||||
|
|
||||||
|
|
|
@ -59,10 +59,8 @@ namespace SparkleShare {
|
||||||
this.notify_icon.Icon = AnimationFrames [0];
|
this.notify_icon.Icon = AnimationFrames [0];
|
||||||
this.notify_icon.HeaderText = "SparkleShare";
|
this.notify_icon.HeaderText = "SparkleShare";
|
||||||
|
|
||||||
if (Controller.Folders.Length == 0)
|
StateText = _("Welcome to SparkleShare!");
|
||||||
StateText = _("Welcome to SparkleShare!");
|
|
||||||
else
|
|
||||||
this.notify_icon.Text = StateText = _("Files up to date") + Controller.FolderSize;
|
|
||||||
|
|
||||||
CreateMenu ();
|
CreateMenu ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue