~ubuntu-branches/ubuntu/precise/empathy/precise-proposed-201205180810

« back to all changes in this revision

Viewing changes to libempathy/empathy-auth-factory.c

  • Committer: Bazaar Package Importer
  • Author(s): Brian Curtis, Brian Curtis, Ken VanDine
  • Date: 2011-06-01 10:35:24 UTC
  • mfrom: (1.1.70 upstream) (6.3.44 experimental)
  • Revision ID: james.westby@ubuntu.com-20110601103524-wx3wgp71394730jt
Tags: 3.1.1-1ubuntu1
[ Brian Curtis ]
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Drop geoclue/mapping build-depends (they are in Universe)
  - Add Vcz-Bzr link
  - Add Suggests on telepathy-idle
  - Bump telepathy-butterfly, telepathy-haze to recommends
  - Don't recommend the freedesktop sound theme we have an ubuntu one
  - Add build depend for libunity-dev
* debian/rules:
  - Use autoreconf.mk
  - Disable map and location
* debian/empathy.install:
  - Install message indicator configuration
* debian/indicators/empathy:
  - Message indicator configuration
* debian/patches/01_lpi.patch:
  - Add Launchpad integration
* debian/patches/10_use_notify_osd_icons.patch:
  - Use the notify-osd image for new messages
* debian/patches/34_start_raised_execpt_in_session.patch
  - If not started with the session, we should always raise
* debian/patches/36_chat_window_default_size.patch:
  - Make the default chat window size larger
* debian/patches/37_facebook_default.patch:
  - Make facebook the default chat account type
* debian/patches/38_lp_569289.patch
  - Set freenode as default IRC network for new IRC accounts 
* debian/patches/41_unity_launcher_progress.patch
  - Display file transfer progress in the unity launcher

[ Ken VanDine ]
* debian/control
  - build depend on libgcr-3-dev instead of libgcr-dev
  - dropped build depends for libindicate, we will use telepathy-indicator
  - Depend on dconf-gsettings-backend | gsettings-backend
  - Added a Recommends for telepathy-indicator
* +debian/empathy.gsettings-override
  - Added an override for notifications-focus
* debian/patches/series
  - commented out 23_idomessagedialog_for_voip_and_ft.patch, until ido has 
    been ported to gtk3

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
{
97
97
  EmpathyServerTLSHandler *handler;
98
98
  GError *error = NULL;
99
 
  EmpathyAuthFactoryPriv *priv;
100
99
  HandlerContextData *data = user_data;
101
100
 
102
 
  priv = GET_PRIV (data->self);
103
101
  handler = empathy_server_tls_handler_new_finish (res, &error);
104
102
 
105
103
  if (error != NULL)
374
372
{
375
373
  ObserveChannelsData *data = user_data;
376
374
 
377
 
  if (empathy_keyring_get_password_finish (TP_ACCOUNT (source), result, NULL) == NULL)
 
375
  if (empathy_keyring_get_account_password_finish (TP_ACCOUNT (source), result, NULL) == NULL)
378
376
    {
379
377
      /* We don't actually mind if this fails, just let the approver
380
378
       * go ahead and take the channel. */
433
431
  data->account = g_object_ref (account);
434
432
  data->channel = g_object_ref (channel);
435
433
 
436
 
  empathy_keyring_get_password_async (account, get_password_cb, data);
 
434
  empathy_keyring_get_account_password_async (account, get_password_cb, data);
437
435
 
438
436
  tp_observe_channels_context_delay (context);
439
437
}
476
474
{
477
475
  EmpathyAuthFactory *self = EMPATHY_AUTH_FACTORY (obj);
478
476
  TpBaseClient *client = TP_BASE_CLIENT (self);
479
 
  GError *error = NULL;
480
477
 
481
478
  /* chain up to TpBaseClient first */
482
479
  G_OBJECT_CLASS (empathy_auth_factory_parent_class)->constructed (obj);
483
480
 
484
 
  if (error != NULL)
485
 
    {
486
 
      g_critical ("Failed to get TpDBusDaemon: %s", error->message);
487
 
      g_error_free (error);
488
 
      return;
489
 
    }
490
 
 
491
481
  tp_base_client_set_handler_bypass_approval (client, FALSE);
492
482
 
493
483
  /* Handle ServerTLSConnection and ServerAuthentication channels */