about: tweak padding
This commit is contained in:
parent
2a837276ea
commit
001f63203c
|
@ -28,7 +28,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
public class SparkleAbout : Window {
|
public class SparkleAbout : Window {
|
||||||
|
|
||||||
private Label Version;
|
private Label version;
|
||||||
|
|
||||||
|
|
||||||
// Short alias for the translations
|
// Short alias for the translations
|
||||||
|
@ -51,15 +51,15 @@ namespace SparkleShare {
|
||||||
|
|
||||||
SparkleShare.Controller.NewVersionAvailable += delegate (string new_version) {
|
SparkleShare.Controller.NewVersionAvailable += delegate (string new_version) {
|
||||||
Application.Invoke (delegate {
|
Application.Invoke (delegate {
|
||||||
Version.Markup = "<small><span fgcolor='#f57900'>A newer version (" + new_version + ") is available!</span></small>";
|
this.version.Markup = "<small><span fgcolor='#f57900'>A newer version (" + new_version + ") is available!</span></small>";
|
||||||
Version.ShowAll ();
|
this.version.ShowAll ();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
SparkleShare.Controller.VersionUpToDate += delegate {
|
SparkleShare.Controller.VersionUpToDate += delegate {
|
||||||
Application.Invoke (delegate {
|
Application.Invoke (delegate {
|
||||||
Version.Markup = "<small><span fgcolor='#4e9a06'>You are running the latest version.</span></small>";
|
this.version.Markup = "<small><span fgcolor='#4e9a06'>You are running the latest version.</span></small>";
|
||||||
Version.ShowAll ();
|
this.version.ShowAll ();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ namespace SparkleShare {
|
||||||
|
|
||||||
box.Add (header);
|
box.Add (header);
|
||||||
|
|
||||||
Version = new Label () {
|
this.version = new Label () {
|
||||||
Markup = "<small>Checking for updates...</small>",
|
Markup = "<small>Checking for updates...</small>",
|
||||||
Xalign = 0,
|
Xalign = 0,
|
||||||
Xpad = 18,
|
Xpad = 18,
|
||||||
|
@ -94,7 +94,7 @@ namespace SparkleShare {
|
||||||
Label license = new Label () {
|
Label license = new Label () {
|
||||||
Xalign = 0,
|
Xalign = 0,
|
||||||
Xpad = 18,
|
Xpad = 18,
|
||||||
Ypad = 22,
|
Ypad = 0,
|
||||||
LineWrap = true,
|
LineWrap = true,
|
||||||
Wrap = true,
|
Wrap = true,
|
||||||
LineWrapMode = Pango.WrapMode.Word,
|
LineWrapMode = Pango.WrapMode.Word,
|
||||||
|
@ -144,8 +144,9 @@ namespace SparkleShare {
|
||||||
button_bar.Add (credits_button);
|
button_bar.Add (credits_button);
|
||||||
|
|
||||||
vbox.PackStart (box, true, true, 0);
|
vbox.PackStart (box, true, true, 0);
|
||||||
vbox.PackStart (Version, false, false, 0);
|
vbox.PackStart (this.version, false, false, 0);
|
||||||
vbox.PackStart (license, true, true, 0);
|
vbox.PackStart (license, true, true, 0);
|
||||||
|
vbox.PackStart (new Label (""), true, true, 0);
|
||||||
vbox.PackStart (button_bar, false, false, 0);
|
vbox.PackStart (button_bar, false, false, 0);
|
||||||
|
|
||||||
Add (vbox);
|
Add (vbox);
|
||||||
|
|
Loading…
Reference in a new issue