[gnome-contacts] Keep a reference to the card_grid row
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] Keep a reference to the card_grid row
- Date: Mon, 19 Dec 2011 13:52:14 +0000 (UTC)
commit c05691ad111807011228bf96ce6d1cf851166729
Author: Alexander Larsson <alexl redhat com>
Date: Mon Dec 19 11:27:45 2011 +0100
Keep a reference to the card_grid row
src/contacts-contact-pane.vala | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index a2627c0..19bd3e7 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -1433,6 +1433,7 @@ public class Contacts.PersonaSheet : Grid {
public class Contacts.ContactPane : ScrolledWindow {
private Store contacts_store;
private Grid top_grid;
+ private FieldRow card_row;
private Grid card_grid;
private Grid personas_grid;
public RowGroup row_group;
@@ -1901,11 +1902,11 @@ public class Contacts.ContactPane : ScrolledWindow {
this.get_child().get_style_context ().add_class ("contact-pane");
- var top_row = new FieldRow (row_group);
- top_grid.add (top_row);
+ card_row = new FieldRow (row_group);
+ top_grid.add (card_row);
card_grid = new Grid ();
card_grid.set_vexpand (false);
- top_row.pack (card_grid);
+ card_row.pack (card_grid);
personas_grid = new Grid ();
personas_grid.set_orientation (Orientation.VERTICAL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]