[gnome-boxes] Only center WizardSource horizontaly
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Only center WizardSource horizontaly
- Date: Thu, 3 Nov 2011 00:14:15 +0000 (UTC)
commit 33de02a00830b17173d81902cd4e492f32717ced
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Thu Nov 3 01:13:48 2011 +0100
Only center WizardSource horizontaly
src/wizard.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 6ac7399..2f08443 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -95,6 +95,7 @@ private class Boxes.Wizard: Boxes.UI {
next_button.sensitive = false;
});
wizard_source.url_entry.changed.connect (() => {
+ // FIXME: add uri checker
next_button.sensitive = wizard_source.uri.len () != 0;
});
}
@@ -281,9 +282,9 @@ private class Boxes.Wizard: Boxes.UI {
label.wrap = true;
label.set_halign (Gtk.Align.START);
vbox.pack_start (label, false, false);
- wizard_source.widget.valign = Gtk.Align.CENTER;
+ vbox.pack_start (wizard_source.widget, false, false);
+ wizard_source.widget.hexpand = true;
wizard_source.widget.halign = Gtk.Align.CENTER;
- vbox.pack_start (wizard_source.widget, true, true);
vbox.show_all ();
/* Preparation */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]