After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 160101 - Sheets list is always sorted according to English name
Sheets list is always sorted according to English name
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: win32
0.94
Other All
: Normal normal
: 0.95
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-01 14:41 UTC by Lars Clausen
Modified: 2006-01-02 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A screenshot showing the sheets list wrongly sorted (15.50 KB, image/png)
2004-12-01 14:44 UTC, Lars Clausen
Details

Description Lars Clausen 2004-12-01 14:41:34 UTC
1) Start dia with another language than English (Danish in my case).
2) Click on the Sheets menu.
3) Notice the sorting is not alphabetical, but rather follows the English order.

This does not happen under Linux, neither in 0.94 or CVS head.
Comment 1 Lars Clausen 2004-12-01 14:44:43 UTC
Created attachment 34359 [details]
A screenshot showing the sheets list wrongly sorted
Comment 2 Alan Horkan 2005-05-07 16:39:41 UTC
If you set your $LANGUAGE to fr_FR at the end of the list of sheets is
Electricite (accents on both E's) 

Not windows specific and definately a problem.  
Comment 3 Hans Breuer 2006-01-02 17:49:33 UTC
2006-01-02  Hans Breuer  <hans@breuer.org>

	* lib/sheet.c(dia_sheet_sort_callback) : sort sheets according to 
	their localized name (with g_utf8_collate). Thus not relying on the 
	capabilities of the C libraries strcmp(). Fixes bug #160101.