[mistelix] Fixes issue #584476
- From: Jordi Mas <jmas src gnome org>
- To: svn-commits-list gnome org
- Subject: [mistelix] Fixes issue #584476
- Date: Tue, 2 Jun 2009 15:33:24 -0400 (EDT)
commit 329f2eed98c1f3a922ee112ca87d7a317e5edcfd
Author: Jordi Mas <jmas softcatala org>
Date: Tue Jun 2 21:33:18 2009 +0200
Fixes issue #584476
---
src/widgets/SlideShowImageView.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/widgets/SlideShowImageView.cs b/src/widgets/SlideShowImageView.cs
index f12c368..ad788e5 100644
--- a/src/widgets/SlideShowImageView.cs
+++ b/src/widgets/SlideShowImageView.cs
@@ -642,11 +642,13 @@ namespace Mistelix.Widgets
switch (sort_type) {
case ImageSortType.FileName_Ascending:
- case ImageSortType.FileName_Descending:
return String.Compare (file_a.Name, file_b.Name);
+ case ImageSortType.FileName_Descending:
+ return String.Compare (file_b.Name, file_a.Name);
case ImageSortType.Date_Ascending:
- case ImageSortType.Date_Descending:
return DateTime.Compare (file_a.CreationTime, file_b.CreationTime);
+ case ImageSortType.Date_Descending:
+ return DateTime.Compare (file_b.CreationTime, file_a.CreationTime);
default:
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]