~ubuntu-branches/ubuntu/natty/empathy/natty

« back to all changes in this revision

Viewing changes to libempathy-gtk/empathy-contact-widget.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell, Omer Akram
  • Date: 2011-01-06 14:32:31 UTC
  • Revision ID: james.westby@ubuntu.com-20110106143231-ol0gyfqi7h1ch8kv
Tags: 2.32.2-0ubuntu3
* debian/patches/00git_folks_api.patch:
  - Update to latest folks API

[ Omer Akram ]
* debian/patches/enable_pidgin_imported_contacts.patch:
  - Enable pidgin imported accounts by default. (LP: #622215)
* debian/patches/reword_subscription_dailog_to_be_less_technical.patch:
  - Reword subscription request dialog to be less technical. (LP: #670197)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1284
1284
          FolksPersona *persona = empathy_contact_get_persona (
1285
1285
              information->contact);
1286
1286
 
1287
 
          if (persona != NULL && FOLKS_IS_FAVOURITE (persona))
 
1287
          if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
1288
1288
            {
1289
 
              gboolean is_favourite = folks_favourite_get_is_favourite (
1290
 
                  FOLKS_FAVOURITE (persona));
 
1289
              gboolean is_favourite = folks_favouritable_get_is_favourite (
 
1290
                  FOLKS_FAVOURITABLE (persona));
1291
1291
              contact_widget_favourites_changed_cb (information->manager,
1292
1292
                  information->contact, is_favourite, information);
1293
1293
            }
1418
1418
{
1419
1419
  FolksPersona *persona = empathy_contact_get_persona (information->contact);
1420
1420
 
1421
 
  if (persona != NULL && FOLKS_IS_FAVOURITE (persona))
 
1421
  if (persona != NULL && FOLKS_IS_FAVOURITABLE (persona))
1422
1422
    {
1423
1423
      gboolean active = gtk_toggle_button_get_active (button);
1424
 
      folks_favourite_set_is_favourite (FOLKS_FAVOURITE (persona), active);
 
1424
      folks_favouritable_set_is_favourite (FOLKS_FAVOURITABLE (persona), active);
1425
1425
    }
1426
1426
}
1427
1427