[geary: 1/2] Use display_name in Libmessagingmenu indicator



commit 8c9533bc9e14f003852c8a63be32936d4c2a000e
Author: Christian Kellner <christian kellner me>
Date:   Tue Feb 26 15:56:00 2019 +0100

    Use display_name in Libmessagingmenu indicator
    
    Instead of using the 'nickname' property of AccountInformation,
    which was removed with commit 1bccd51a "Clean up AccountInformation
    and ServiceInformation APIs" use AccountInformation.display_name.

 src/client/notification/libmessagingmenu.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/client/notification/libmessagingmenu.vala b/src/client/notification/libmessagingmenu.vala
index 6640b8a1..a2605513 100644
--- a/src/client/notification/libmessagingmenu.vala
+++ b/src/client/notification/libmessagingmenu.vala
@@ -72,7 +72,7 @@ public class Libmessagingmenu : NewMessagesIndicator {
             app.set_source_count(source_id, count);
         else
             app.append_source_with_count(source_id, null,
-                _("%s — New Messages").printf(folder.account.information.nickname), count);
+                _("%s — New Messages").printf(folder.account.information.display_name), count);
         
         app.draw_attention(source_id);
     }


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