changeset 17444:98f27c7f0ef5

We also need to reverse the last protocol's smiley list instead of only lists that have another protocol after them in the theme file
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 02 Jun 2007 19:05:28 +0000
parents fe5a89474e6d
children 010e8f32a0af 2a6fb7c6d030 4403cecc7cd6
files pidgin/gtkthemes.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkthemes.c	Sat Jun 02 18:46:34 2007 +0000
+++ b/pidgin/gtkthemes.c	Sat Jun 02 19:05:28 2007 +0000
@@ -210,6 +210,10 @@
 		}
 	}
 
+	/* Reverse the Smiley list since it was built in reverse order for efficiency reasons */
+	if (list != NULL)
+		list->smileys = g_slist_reverse(list->smileys);
+
 	g_free(dirname);
 	fclose(f);