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



commit 12ad1fb9bc820fc58353d00e36a8df710c752caa
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 96faa2c..8ee5db2 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
@@ -460,7 +460,7 @@ add_account (GoaProvider  *provider,
   g_list_free (children);
 
   account_widget = tpaw_account_widget_new_for_protocol (settings,
-      GTK_BOX (action_area), FALSE);
+      GTK_BOX (action_area), 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]