/pidgin/main: 250cf53c45ad: Don't store default group name

Tomasz Wasilczyk twasilczyk at pidgin.im
Wed May 7 07:15:25 EDT 2014


Changeset: 250cf53c45adf3cfeba0200a77872104c20af525
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-07 13:15 +0200
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/250cf53c45ad

Description:

Don't store default group name

diffstat:

 libpurple/blist.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (13 lines):

diff --git a/libpurple/blist.c b/libpurple/blist.c
--- a/libpurple/blist.c
+++ b/libpurple/blist.c
@@ -279,7 +279,8 @@ group_to_xmlnode(PurpleBlistNode *gnode)
 	group = (PurpleGroup *)gnode;
 
 	node = xmlnode_new("group");
-	xmlnode_set_attrib(node, "name", group->name);
+	if (g_strcmp0(group->name, _("Buddies")) != 0)
+		xmlnode_set_attrib(node, "name", group->name);
 
 	/* Write settings */
 	g_hash_table_foreach(group->node.settings, value_to_xmlnode, node);



More information about the Commits mailing list