[banshee] Rename icon "media-cdrom" to "media-optical" because media-cdrom is depreciated since 2006.



commit 29bad07904792661017a496d1e7449eebc426475
Author: Olivier Dufour <olivier duff gmail com>
Date:   Wed Aug 17 19:45:38 2011 +0200

    Rename icon "media-cdrom" to "media-optical" because media-cdrom is depreciated since 2006.

 .../Banshee.AudioCd/AudioCdService.cs              |    2 +-
 .../Banshee.AudioCd/AudioCdSource.cs               |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
index d8eb5cc..af27237 100644
--- a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
+++ b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdService.cs
@@ -230,7 +230,7 @@ namespace Banshee.AudioCd
 
             service.InstallWidgetAdapters += OnPreferencesServiceInstallWidgetAdapters;
 
-            pref_page = new Banshee.Preferences.SourcePage ("audio-cd", Catalog.GetString ("Audio CDs"), "media-cdrom", 400);
+            pref_page = new Banshee.Preferences.SourcePage ("audio-cd", Catalog.GetString ("Audio CDs"), "media-optical", 400);
 
             pref_section = pref_page.Add (new Section ("audio-cd", Catalog.GetString ("Audio CD Importing"), 20));
             pref_section.ShowLabel = false;
diff --git a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs
index 5b99ba8..21b7908 100644
--- a/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs
+++ b/src/Extensions/Banshee.AudioCd/Banshee.AudioCd/AudioCdSource.cs
@@ -411,7 +411,7 @@ namespace Banshee.AudioCd
 
         private void SetupGui ()
         {
-            Properties.SetStringList ("Icon.Name", "media-cdrom", "gnome-dev-cdrom-audio", "source-cd-audio");
+            Properties.SetStringList ("Icon.Name", "media-optical", "gnome-dev-cdrom-audio", "source-cd-audio");
             Properties.SetString ("SourcePreferencesActionLabel", Catalog.GetString ("Audio CD Preferences"));
             Properties.SetString ("UnmapSourceActionLabel", Catalog.GetString ("Eject Disc"));
             Properties.SetString ("UnmapSourceActionIconName", "media-eject");
@@ -445,7 +445,7 @@ namespace Banshee.AudioCd
 
             Gtk.Action duplicate_action = uia_service.GlobalActions["DuplicateDiscAction"];
             if (duplicate_action != null) {
-                duplicate_action.IconName = "media-cdrom";
+                duplicate_action.IconName = "media-optical";
                 duplicate_action.Visible = AudioCdDuplicator.Supported;
             }
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]