[gnome-contacts] Make add button wider



commit 221fb1f52fcaac9b0474ec9abc9db5f133925220
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jun 28 10:44:02 2011 +0200

    Make add button wider

 src/contacts-list-pane.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-list-pane.vala b/src/contacts-list-pane.vala
index 29c8558..0c3a3c4 100644
--- a/src/contacts-list-pane.vala
+++ b/src/contacts-list-pane.vala
@@ -198,6 +198,9 @@ public class Contacts.ListPane : Frame {
     add_button.set_icon_name ("list-add-symbolic");
     add_button.get_style_context ().add_class (STYLE_CLASS_RAISED);
     add_button.is_important = false;
+    // We make the button slightly wider to look better since it
+    // becomes taller when added to the toolbar
+    add_button.set_size_request (34, -1);
     toolbar.add (add_button);
     add_button.clicked.connect ( (button) => {
 	create_new ();



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