[gnome-online-accounts/gnome-3-16] telepathy: Use the 'simple' variant of the UI when creating an account



commit 9584771c7f9b23e9992e07ac030c13c5ff818fe6
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Mar 26 16:55:13 2015 +0100

    telepathy: Use the 'simple' variant of the UI when creating an account
    
    The non-simple UI variant is not well-tested when it comes to creating
    new accounts, because empathy uses it only for editing the connection
    parameters once the account has been created. eg., the URI scheme
    association is not set if the account supports SASL and has a password,
    which is probably true for most accounts. This means that the state of
    the "Use this account to call landlines and mobile phones" checkbox is
    not stored for SIP accounts.
    
    Let's mimic empathy and avoid this pitfalls.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744165

 src/goabackend/goatelepathyprovider.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goatelepathyprovider.c b/src/goabackend/goatelepathyprovider.c
index d142c75..e1d6fd8 100644
--- a/src/goabackend/goatelepathyprovider.c
+++ b/src/goabackend/goatelepathyprovider.c
@@ -1,6 +1,6 @@
 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /*
- * Copyright (C) 2012, 2013 Red Hat, Inc.
+ * Copyright (C) 2012, 2013, 2015 Red Hat, Inc.
  * Copyright (C) 2013 Intel Corporation
  *
  * This library is free software; you can redistribute it and/or
@@ -436,7 +436,7 @@ add_account (GoaProvider  *provider,
   wait_for_account_settings_ready (settings, data.loop);
 
   account_widget = tpaw_account_widget_new_for_protocol (settings,
-      dialog, FALSE);
+      dialog, TRUE);
   gtk_box_pack_start (GTK_BOX (vbox), GTK_WIDGET (account_widget), FALSE, FALSE, 0);
   gtk_widget_show (GTK_WIDGET (account_widget));
   g_signal_connect (account_widget, "account-created",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]