[gnome-contacts] Add junctions to buttons to get the right look



commit 27d6577fb32d2cc6a985f0133badafd74f06296b
Author: Alexander Larsson <alexl redhat com>
Date:   Thu May 26 12:49:07 2011 +0200

    Add junctions to buttons to get the right look

 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 b8249df..e5e98c7 100644
--- a/src/contacts-app.vala
+++ b/src/contacts-app.vala
@@ -471,8 +471,10 @@ public class Contacts.App : Window {
     right_grid.attach (bbox, 0, 2, 1, 1);
 
     var button = new Button.with_label(_("Notes"));
+    button.get_style_context ().set_junction_sides (JunctionSides.RIGHT);
     bbox.pack_start (button, false, false, 0);
     button = new Button.with_label(_("Edit"));
+    button.get_style_context ().set_junction_sides (JunctionSides.LEFT);
     bbox.pack_start (button, false, false, 0);
 
     MenuButton menu_button = new MenuButton (_("More"));



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