[gnome-contacts] Contacts.App: make the buttons as center vertically



commit b6ba02d2faf0106654ea1cff78e97e8e9cb53270
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Thu Sep 26 21:20:02 2013 +0300

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

 src/contacts-app.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-app.vala b/src/contacts-app.vala
index c5a43bc..c6a6063 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -115,6 +115,7 @@ public class Contacts.App : Gtk.Application {
     var header = new HeaderBar ();
     header.set_title (_("Primary Contacts Account"));
     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;
@@ -124,6 +125,7 @@ public class Contacts.App : Gtk.Application {
     header.pack_start (cancel_button);
 
     var done_button = new Button.with_label (_("Done"));
+    done_button.valign = Gtk.Align.CENTER;
     done_button.get_style_context ().add_class ("suggested-action");
     done_button.get_child ().margin = 3;
     done_button.get_child ().margin_left = 6;


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