changeset 15929:9ac4e6b097d3

merge of 'af97194f292b3a82f2a36fc3094f579a3dfc2841' and 'dd6621a28760010abfc3063bed6158b6fd6e73df'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 26 Mar 2007 03:58:42 +0000
parents 5f9b7e2652f0 (current diff) 5b065c7ff5cd (diff)
children 846a00760176
files finch/libgnt/gntfilesel.c finch/libgnt/gntfilesel.h pidgin/pixmaps/Makefile.am
diffstat 3 files changed, 30 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntfilesel.c	Mon Mar 26 02:48:09 2007 +0000
+++ b/finch/libgnt/gntfilesel.c	Mon Mar 26 03:58:42 2007 +0000
@@ -492,3 +492,27 @@
 	return list;
 }
 
+void gnt_file_sel_set_multi_select(GntFileSel *sel, gboolean set)
+{
+	sel->multiselect = set;
+}
+
+GList *gnt_file_sel_get_selected_multi_files(GntFileSel *sel)
+{
+	GList *list = NULL, *iter;
+	char *str = gnt_file_sel_get_selected_file(sel);
+
+	for (iter = sel->tags; iter; iter = iter->next) {
+		list = g_list_prepend(list, g_strdup(iter->data));
+		if (g_utf8_collate(str, iter->data)) {
+			g_free(str);
+			str = NULL;
+		}
+	}
+	if (str)
+		list = g_list_prepend(list, str);
+	list = g_list_reverse(list);
+	return list;
+}
+
+
--- a/finch/libgnt/gntfilesel.h	Mon Mar 26 02:48:09 2007 +0000
+++ b/finch/libgnt/gntfilesel.h	Mon Mar 26 03:58:42 2007 +0000
@@ -76,3 +76,4 @@
 G_END_DECLS
 
 #endif /* GNT_FILE_SEL_H */
+
--- a/pidgin/pixmaps/Makefile.am	Mon Mar 26 02:48:09 2007 +0000
+++ b/pidgin/pixmaps/Makefile.am	Mon Mar 26 03:58:42 2007 +0000
@@ -62,4 +62,8 @@
 
 
 distpixmapdir = $(datadir)/pixmaps
-distpixmap_DATA = pidgin.png pidgin.svg
\ No newline at end of file
+distpixmap_DATA = pidgin.png pidgin.svg
+
+
+
+