summaryrefslogtreecommitdiff
path: root/src/contacts-link-dialog.vala
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2012-01-19 11:39:43 +0100
committerAlexander Larsson <alexl@redhat.com>2012-01-19 11:42:48 +0100
commita7e5a797950cec1acfde369a2bd4a09d73f94bac (patch)
treee068ddc1fd6f2af6c59c44b3056bea679b199b58 /src/contacts-link-dialog.vala
parent4bd1c99e09521d6204c9e2baa25ecc5155a08860 (diff)
downloadgnome-contacts-a7e5a797950cec1acfde369a2bd4a09d73f94bac.tar.gz
Rename the always visible contacts as "Main" rather than "primary"
This is because we want to separate these contacts from the primary store, as some primary store contacts may be non-main, for instance the non-"My contacts" contacts in google.
Diffstat (limited to 'src/contacts-link-dialog.vala')
-rw-r--r--src/contacts-link-dialog.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/contacts-link-dialog.vala b/src/contacts-link-dialog.vala
index 6cc20db..c0fe479 100644
--- a/src/contacts-link-dialog.vala
+++ b/src/contacts-link-dialog.vala
@@ -110,10 +110,10 @@ public class Contacts.LinkDialog : Dialog {
view = new View (contact.store);
view.hide_contact (contact);
- if (contact.is_primary)
- view.set_show_subset (View.Subset.NON_PRIMARY);
+ if (contact.is_main)
+ view.set_show_subset (View.Subset.OTHER);
else
- view.set_show_subset (View.Subset.PRIMARY);
+ view.set_show_subset (View.Subset.MAIN);
var matches = contact.store.aggregator.get_potential_matches (contact.individual, MatchResult.HIGH);
foreach (var ind in matches.keys) {