diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-02-25 18:26:09 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2010-02-25 18:26:09 +0000 |
commit | 4fe5fa27a0186c9edab2ffc8ec38c21ce2416f37 (patch) | |
tree | 3b4f9464abb92c908e9eee0f8c0bd9c4c1fd2e41 /src/vcard-manager.h | |
parent | 8aad28fecf3717ec06941a5d4ea7a4deb4e0cc75 (diff) |
SetAliases: When connected to GTalk, set the FN instead of the NICKNAME
Google's servers won't let us change fields other than N, FN and PHOTO,
so this is the best we can do.
This requires the test in vcard/redundant-set.py to be made more
realistic.
Diffstat (limited to 'src/vcard-manager.h')
-rw-r--r-- | src/vcard-manager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vcard-manager.h b/src/vcard-manager.h index 75db5e9be..b824b0621 100644 --- a/src/vcard-manager.h +++ b/src/vcard-manager.h @@ -157,6 +157,10 @@ void gabble_vcard_manager_edit_info_free (GabbleVCardManagerEditInfo *info); gboolean gabble_vcard_manager_can_use_vcard_field (GabbleVCardManager *self, const gchar *field_name); +GabbleVCardManagerEditRequest *gabble_vcard_manager_edit_alias ( + GabbleVCardManager *self, guint timeout, GabbleVCardManagerEditCb callback, + gpointer user_data, GObject *object, const gchar *new_alias); + /* For unit tests only */ void gabble_vcard_manager_set_suspend_reply_timeout (guint timeout); void gabble_vcard_manager_set_default_request_timeout (guint timeout); |