[gnome-contacts/gnome-3-10] Contacts.SetupWindow: make the buttons as center vertically



commit 8602f57e2bdd25e76a18e344befc10f5fd276958
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Thu Sep 26 21:37:35 2013 +0300

    Contacts.SetupWindow: make the buttons as center vertically
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708858
    
    Signed-off-by: Yosef Or Boczko <yoseforb gmail com>

 src/contacts-setup-window.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-setup-window.vala b/src/contacts-setup-window.vala
index c477bad..980145a 100644
--- a/src/contacts-setup-window.vala
+++ b/src/contacts-setup-window.vala
@@ -39,6 +39,7 @@ public class Contacts.SetupWindow : Gtk.Window {
     set_titlebar (titlebar);
 
     var cancel_button = new Button.with_label (_("Cancel"));
+    cancel_button.valign = Gtk.Align.CENTER;
     cancel_button.get_child ().margin = 3;
     cancel_button.get_child ().margin_left = 6;
     cancel_button.get_child ().margin_right = 6;
@@ -52,6 +53,7 @@ public class Contacts.SetupWindow : Gtk.Window {
     cancel_button.grab_focus ();
 
     done_button = new Button.with_label (_("Done"));
+    done_button.valign = Gtk.Align.CENTER;
     done_button.get_child ().margin = 3;
     done_button.get_child ().margin_left = 6;
     done_button.get_child ().margin_right = 6;


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