Fix some whitespace

This commit is contained in:
Hylke Bons 2010-10-22 09:44:16 +01:00
parent 99d45f8749
commit e0183ca779
2 changed files with 11 additions and 5 deletions

View file

@ -300,6 +300,7 @@ namespace SparkleShare {
}
// Makes the menu visible
private void ShowMenu (object o, EventArgs args)
{
@ -336,19 +337,25 @@ namespace SparkleShare {
if (SparkleShare.Controller.Repositories.Count == 0) {
StateText = _("No folders yet");
Pixbuf = AnimationFrames [0];
Application.Invoke (delegate {
Pixbuf = AnimationFrames [0];
});
} else {
if (error) {
StateText = _("Not everything is synced");
Pixbuf = SparkleUIHelpers.GetIcon ("sparkleshare-syncing-error", 24);
Application.Invoke (delegate {
Pixbuf = SparkleUIHelpers.GetIcon ("sparkleshare-syncing-error", 24);
});
} else {
StateText = _("Up to date") + " (" + SparkleShare.Controller.FolderSize + ")";
Pixbuf = AnimationFrames [0];
Application.Invoke (delegate {
Pixbuf = AnimationFrames [0];
});
}

View file

@ -24,8 +24,7 @@ using System.Text;
namespace SparkleShare {
public static class SparkleUIHelpers
{
public static class SparkleUIHelpers {
// Creates an MD5 hash of input
public static string GetMD5 (string s)