[gnome-contacts/new-design] Add field_set to DataFieldRow
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/new-design] Add field_set to DataFieldRow
- Date: Thu, 15 Dec 2011 09:37:50 +0000 (UTC)
commit 7022988e2deecf129d2fa5776ddf9ff2fcaf14e1
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 13 12:40:13 2011 +0100
Add field_set to DataFieldRow
src/contacts-contact-pane.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 1416a1c..3907753 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -586,9 +586,11 @@ public abstract class Contacts.FieldSet : Grid {
}
public abstract class Contacts.DataFieldRow : FieldRow {
+ public FieldSet field_set;
public DataFieldRow (FieldSet field_set) {
base (field_set.sheet.pane.row_group);
+ this.field_set = field_set;
}
public abstract void update ();
@@ -724,13 +726,11 @@ class Contacts.PhoneFieldSet : FieldSet {
class Contacts.ChatFieldRow : DataFieldRow {
string protocol;
ImFieldDetails details;
- FieldSet field_set;
Label text_label;
public ChatFieldRow (FieldSet field_set, string protocol, ImFieldDetails details) {
base (field_set);
- this.field_set = field_set;
this.protocol = protocol;
this.details = details;
text_label = this.pack_text ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]