[banshee/podcast-ng] [podcast-ng] Preparing to write migrations
- From: Michael C. Urbanski <murbanski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/podcast-ng] [podcast-ng] Preparing to write migrations
- Date: Sun, 9 Jan 2011 08:20:55 +0000 (UTC)
commit ea659e1917a457fc745f790ebcea98b977748d15
Author: Mike Urbanski <michael c urbanski gmail com>
Date: Sun Jan 9 02:20:27 2011 -0600
[podcast-ng] Preparing to write migrations
.../Banshee.Paas.Data/DownloadPreference.cs | 4 ++--
.../Banshee.Paas.Gui/DownloadPreferenceComboBox.cs | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Data/DownloadPreference.cs b/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Data/DownloadPreference.cs
index af157d1..a5b7c6e 100644
--- a/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Data/DownloadPreference.cs
+++ b/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Data/DownloadPreference.cs
@@ -28,8 +28,8 @@ namespace Banshee.Paas.Data
{
public enum DownloadPreference : int
{
- All = 0,
- One = 1,
+ One = 0,
+ All = 1,
None = 2
}
}
\ No newline at end of file
diff --git a/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Gui/DownloadPreferenceComboBox.cs b/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Gui/DownloadPreferenceComboBox.cs
index fe9b146..8a406a1 100644
--- a/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Gui/DownloadPreferenceComboBox.cs
+++ b/src/Extensions/Banshee.Paas/Banshee.Paas/Banshee.Paas.Gui/DownloadPreferenceComboBox.cs
@@ -35,8 +35,8 @@ namespace Banshee.Paas.Gui
public class DownloadPreferenceComboBox : Gtk.ComboBox
{
private static readonly string [] combo_text_entries = {
- Catalog.GetString ("Download all episodes"),
Catalog.GetString ("Download the most recent episode"),
+ Catalog.GetString ("Download all episodes"),
Catalog.GetString ("Let me decide which episodes to download")
};
@@ -47,11 +47,11 @@ namespace Banshee.Paas.Gui
public DownloadPreferenceComboBox (DownloadPreference download_pref) : base (combo_text_entries)
{
- if ((int) download_pref >= (int) DownloadPreference.All &&
- (int) download_pref <= (int) DownloadPreference.None) {
- Active = (int) download_pref;
+ if (download_pref == DownloadPreference.All ||
+ download_pref == DownloadPreference.None) {
+ Active = (int)download_pref;
} else {
- Active = (int) DownloadPreference.One;
+ Active = (int)DownloadPreference.One;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]