Revision c79ea8b858fadec3c624069b09acc2d3841d9d2c
sadrul at pidgin.im
sadrul at pidgin.im
Sun Mar 25 23:59:42 EDT 2007
o -----------------------------------------------------------------
|\ Revision: c79ea8b858fadec3c624069b09acc2d3841d9d2c
| | Ancestor: af97194f292b3a82f2a36fc3094f579a3dfc2841
| | Ancestor: dd6621a28760010abfc3063bed6158b6fd6e73df
| | Author: sadrul at pidgin.im
| | Date: 2007-03-26T03:58:42
| | Branch: im.pidgin.pidgin
| |
| | Modified files:
| | finch/libgnt/gntfilesel.c finch/libgnt/gntfilesel.h
| | pidgin/pixmaps/Makefile.am
| |
| | ChangeLog:
| |
| | merge of 'af97194f292b3a82f2a36fc3094f579a3dfc2841'
| | and 'dd6621a28760010abfc3063bed6158b6fd6e73df'
| |
| | ============================================================
| | --- finch/libgnt/gntfilesel.c c7efb481d2495dfbbf09e74d06bae247dcfd914c
| | +++ finch/libgnt/gntfilesel.c 56f6b22fc0b1f4298e52eb68f8d4785f3f069a04
| | @@ -492,3 +492,27 @@ GList *gnt_file_sel_get_selected_multi_f
| | 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;
| | +}
| | +
| | +
| | ============================================================
| | --- finch/libgnt/gntfilesel.h f98947e5d0bd0bbb2c1a36818486446e3e7a58f5
| | +++ finch/libgnt/gntfilesel.h 70cd6214d27e11388af7dd3a258fa3293d8b863d
| | @@ -76,3 +76,4 @@ G_END_DECLS
| | G_END_DECLS
| |
| | #endif /* GNT_FILE_SEL_H */
| | +
| | ============================================================
| | --- pidgin/pixmaps/Makefile.am a5ab5db80ca5012d4046547a3a8eeb988e2a1731
| | +++ pidgin/pixmaps/Makefile.am 1e4e0cae0693dfb5e08e83246715210e41ee3356
| | @@ -63,3 +63,7 @@ distpixmap_DATA = pidgin.png pidgin.svg
| |
| | distpixmapdir = $(datadir)/pixmaps
| | distpixmap_DATA = pidgin.png pidgin.svg
| | +
| | +
| | +
| | +
| | ============================================================
| | --- finch/libgnt/gntfilesel.c f65c2401a6046c8b82056681ffd7d0d9ddb1ace2
| | +++ finch/libgnt/gntfilesel.c 56f6b22fc0b1f4298e52eb68f8d4785f3f069a04
| | @@ -492,4 +492,27 @@ GList *gnt_file_sel_get_selected_multi_f
| | 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;
| | +}
| | +
| | +
| | ============================================================
| | --- pidgin/pixmaps/Makefile.am 9ffd9554de2200be6cceeb9e20f2b582aac706c1
| | +++ pidgin/pixmaps/Makefile.am 1e4e0cae0693dfb5e08e83246715210e41ee3356
| | @@ -66,3 +66,4 @@ distpixmap_DATA = pidgin.png pidgin.svg
| |
| |
| |
| | +
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from c79ea8b858fadec3c624069b09acc2d3841d9d2c
More information about the Commits
mailing list