[gnome-contacts] Make card button a fixed size
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Make card button a fixed size
- Date: Tue, 20 Dec 2011 15:56:59 +0000 (UTC)
commit 337fe5ecdb1a43418d47d65552f1f8a092ba90ef
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 20 16:44:01 2011 +0100
Make card button a fixed size
src/contacts-contact-pane.vala | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index ba26ca5..dc9c2cb 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1609,14 +1609,15 @@ public class Contacts.ContactPane : ScrolledWindow {
card_grid.attach (merged_presence, 1, 1, 1, 1);
var box = new Box (Orientation.HORIZONTAL, 0);
+ box.set_halign (Align.START);
box.get_style_context ().add_class ("linked");
var image = new Image.from_icon_name ("mail-unread-symbolic", IconSize.MENU);
var b = new Button ();
b.add (image);
- b.set_hexpand (true);
box.pack_start (b, true, true, 0);
email_button = b;
+ email_button.set_size_request (86, 32);
email_button.clicked.connect (send_email);
image = new Image.from_icon_name ("user-available-symbolic", IconSize.MENU);
@@ -1624,6 +1625,7 @@ public class Contacts.ContactPane : ScrolledWindow {
b.add (image);
box.pack_start (b, true, true, 0);
chat_button = b;
+ chat_button.set_size_request (86, 32);
chat_button.clicked.connect (start_chat);
image = new Image.from_icon_name ("call-start-symbolic", IconSize.MENU);
@@ -1631,6 +1633,7 @@ public class Contacts.ContactPane : ScrolledWindow {
b.add (image);
box.pack_start (b, true, true, 0);
call_button = b;
+ call_button.set_size_request (86, 32);
call_button.clicked.connect (start_call);
card_grid.attach (box, 1, 2, 1, 1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]