setup: More verbose download status messages
This commit is contained in:
parent
34e02c786b
commit
27e94ed8cb
|
@ -368,8 +368,8 @@ namespace SparkleShare {
|
||||||
Enabled = false
|
Enabled = false
|
||||||
};
|
};
|
||||||
|
|
||||||
ProgressLabel = new SparkleLabel ("", NSTextAlignment.Right);
|
ProgressLabel = new SparkleLabel ("Preparing to fetch files…", NSTextAlignment.Right);
|
||||||
ProgressLabel.Frame = new RectangleF (Frame.Width - 40 - 75, 185, 75, 25);
|
ProgressLabel.Frame = new RectangleF (Frame.Width - 40 - 250, 185, 250, 25);
|
||||||
|
|
||||||
|
|
||||||
Controller.UpdateProgressBarEvent += delegate (double percentage, string speed) {
|
Controller.UpdateProgressBarEvent += delegate (double percentage, string speed) {
|
||||||
|
|
|
@ -416,7 +416,7 @@ namespace SparkleShare {
|
||||||
if (speed == 0.0)
|
if (speed == 0.0)
|
||||||
UpdateProgressBarEvent (ProgressBarPercentage, "");
|
UpdateProgressBarEvent (ProgressBarPercentage, "");
|
||||||
else
|
else
|
||||||
UpdateProgressBarEvent (ProgressBarPercentage, speed.ToSize () + "/s");
|
UpdateProgressBarEvent (ProgressBarPercentage, "Fetching files… " + speed.ToSize () + "/s");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -456,7 +456,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
TextBlock progress_label = new TextBlock () {
|
TextBlock progress_label = new TextBlock () {
|
||||||
Width = 414,
|
Width = 414,
|
||||||
Text = "Starting...",
|
Text = "Preparing to fetch files…",
|
||||||
TextAlignment = TextAlignment.Right
|
TextAlignment = TextAlignment.Right
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue