From ac5c6bb28360f3d1e7f7d2aabd8d64f22584503e Mon Sep 17 00:00:00 2001 From: Chyla Zbigniew Date: Fri, 31 Aug 2001 21:42:21 +0000 Subject: s/_/U_/ * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): s/_/U_/ * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_compare): Use g_utf8_collate. * gui/widgets/e-minicard.c (e_minicard_compare): Ditto. * printing/e-contact-print.c (card_compare): Ditto. svn path=/trunk/; revision=12542 --- addressbook/gui/widgets/e-addressbook-reflow-adapter.c | 3 ++- addressbook/gui/widgets/e-minicard.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c index 97ceb36a1f..b4092605ed 100644 --- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.c @@ -13,6 +13,7 @@ #include #include #include +#include #include "e-contact-save-as.h" #include "addressbook/printing/e-contact-print.h" #include "addressbook/printing/e-contact-print-envelope.h" @@ -366,7 +367,7 @@ addressbook_compare (EReflowModel *erm, int n1, int n2) file_as1 = card1->file_as; file_as2 = card2->file_as; if (file_as1 && file_as2) - return strcasecmp(file_as1, file_as2); + return g_utf8_collate(file_as1, file_as2); if (file_as1) return -1; if (file_as2) diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c index 083791986f..d5d2b84bdf 100644 --- a/addressbook/gui/widgets/e-minicard.c +++ b/addressbook/gui/widgets/e-minicard.c @@ -32,6 +32,7 @@ #include #include #include +#include #include "addressbook/backend/ebook/e-book.h" #include "e-addressbook-util.h" #include "e-minicard.h" @@ -911,7 +912,7 @@ e_minicard_compare (EMinicard *minicard1, EMinicard *minicard2) "file_as", &file_as2, NULL); if (file_as1 && file_as2) - return strcasecmp(file_as1, file_as2); + return g_utf8_collate(file_as1, file_as2); if (file_as1) return -1; if (file_as2) -- cgit