Mercurial > pidgin
diff finch/libgnt/gntfilesel.c @ 15927:846a00760176
use file select dialog
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 26 Mar 2007 04:06:15 +0000 |
parents | 9ac4e6b097d3 |
children | 0f1ab43db297 |
line wrap: on
line diff
--- a/finch/libgnt/gntfilesel.c Mon Mar 26 03:58:42 2007 +0000 +++ b/finch/libgnt/gntfilesel.c Mon Mar 26 04:06:15 2007 +0000 @@ -492,27 +492,3 @@ 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; -} - -