I have made the following changes intended for :
  CE:MW:Shared / telepathy-accounts-signon

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/8164

Thank You,
John Brooks

[This message was auto-generated]

---

Request # 8164:

Messages from BOSS:

State: review at 2013-02-21T05:05:23 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:special:branches:CE:MW:Shared / telepathy-accounts-signon -> 
CE:MW:Shared / telepathy-accounts-signon
  
changes files:
--------------
--- telepathy-accounts-signon.changes
+++ telepathy-accounts-signon.changes
@@ -0,0 +1,3 @@
+* Wed Feb 20 2013 John Brooks <[email protected]> - 0.0.4
+- Return provider name as DisplayName instead of account name
+

old:
----
  telepathy-accounts-signon-0.0.3.tar.bz2

new:
----
  telepathy-accounts-signon-0.0.4.tar.bz2

spec files:
-----------
--- telepathy-accounts-signon.spec
+++ telepathy-accounts-signon.spec
@@ -1,5 +1,5 @@
 Name: telepathy-accounts-signon
-Version: 0.0.3
+Version: 0.0.4
 Release: 1
 Summary: Telepathy providers for libaccounts/libsignon
 Group: System/Libraries

other changes:
--------------

++++++ telepathy-accounts-signon-0.0.3.tar.bz2 -> 
telepathy-accounts-signon-0.0.4.tar.bz2
--- mcp-account-manager-uoa/mcp-account-manager-uoa.c
+++ mcp-account-manager-uoa/mcp-account-manager-uoa.c
@@ -26,6 +26,7 @@
 #include <libaccounts-glib/ag-manager.h>
 #include <libaccounts-glib/ag-service.h>
 #include <libaccounts-glib/ag-auth-data.h>
+#include <libaccounts-glib/ag-provider.h>
 
 #include <libsignon-glib/signon-identity.h>
 
@@ -649,8 +650,10 @@
 
   if (key == NULL || !tp_strdiff (key, "DisplayName"))
     {
+      AgProvider *provider = ag_manager_get_provider (self->priv->manager, 
ag_account_get_provider_name (account));
       mcp_account_manager_set_value (am, account_name, "DisplayName",
-          ag_account_get_display_name (account));
+          ag_provider_get_display_name (provider));
+      ag_provider_unref(provider);
       handled = TRUE;
     }
 



Reply via email to