[gnome-boxes] Sort media in ascending order, not descending
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Sort media in ascending order, not descending
- Date: Tue, 10 Jul 2012 04:13:06 +0000 (UTC)
commit 747e3c83e6d147f3d6fe92b001c5431deaddc8a1
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Jul 10 04:14:18 2012 +0300
Sort media in ascending order, not descending
src/media-manager.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/media-manager.vala b/src/media-manager.vala
index 55ad1fe..b5e4e34 100644
--- a/src/media-manager.vala
+++ b/src/media-manager.vala
@@ -84,7 +84,7 @@ private class Boxes.MediaManager : Object {
}
private static int compare_media (InstallerMedia media_a, InstallerMedia media_b) {
- return strcmp (media_b.label, media_a.label);
+ return strcmp (media_a.label, media_b.label);
}
private async InstallerMedia create_installer_media_from_iso_info (string path,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]