[gnome-boxes] wizard: Make buttons vertically centered



commit 95fc33b9714508e23ea02669549888e96570dcb1
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Mon Sep 2 20:54:19 2013 +0300

    wizard: Make buttons vertically centered
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707296

 src/wizard.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 87628a6..1b3935d 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -670,6 +670,7 @@ private class Boxes.Wizard: Boxes.UI {
 
         toolbar_sizegroup = new Gtk.SizeGroup (Gtk.SizeGroupMode.HORIZONTAL);
         cancel_button = new Gtk.Button.with_mnemonic (_("_Cancel"));
+        cancel_button.valign = Gtk.Align.CENTER;
         cancel_button.get_style_context ().add_class ("text-button");
         toolbar.pack_start (cancel_button);
         cancel_button.clicked.connect (() => {
@@ -681,6 +682,7 @@ private class Boxes.Wizard: Boxes.UI {
         toolbar_sizegroup.add_widget (cancel_button);
 
         back_button = new Gtk.Button.with_mnemonic (_("_Back"));
+        back_button.valign = Gtk.Align.CENTER;
         back_button.get_style_context ().add_class ("text-button");
         toolbar.pack_end (back_button);
         back_button.clicked.connect (() => {
@@ -689,6 +691,7 @@ private class Boxes.Wizard: Boxes.UI {
         toolbar_sizegroup.add_widget (back_button);
 
         continue_button = new Gtk.Button.with_mnemonic (_("C_ontinue"));
+        continue_button.valign = Gtk.Align.CENTER;
         continue_button.get_style_context ().add_class ("text-button");
         continue_button.get_style_context ().add_class ("boxes-continue");
         toolbar.pack_end (continue_button);
@@ -698,6 +701,7 @@ private class Boxes.Wizard: Boxes.UI {
         toolbar_sizegroup.add_widget (continue_button);
 
         create_button = new Gtk.Button.with_mnemonic (_("C_reate"));
+        create_button.valign = Gtk.Align.CENTER;
         create_button.get_style_context ().add_class ("text-button");
         create_button.get_style_context ().add_class ("boxes-continue");
         toolbar.pack_end (create_button);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]