[banshee] [AppleDevice] Remove unused AppleDeviceSource methods
- From: Alex Launi <alexlauni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [AppleDevice] Remove unused AppleDeviceSource methods
- Date: Thu, 19 Aug 2010 23:07:59 +0000 (UTC)
commit bb7e5c488f8cd0e1e4eec65eb945e11bb3fb7981
Author: Alex Launi <alex launi gmail com>
Date: Thu Aug 19 19:07:00 2010 -0400
[AppleDevice] Remove unused AppleDeviceSource methods
src/Core/Banshee.Core/Resources/translators.xml | 1 +
.../Banshee.Dap.AppleDevice/AppleDeviceSource.cs | 23 --------------------
2 files changed, 1 insertions(+), 23 deletions(-)
---
diff --git a/src/Core/Banshee.Core/Resources/translators.xml b/src/Core/Banshee.Core/Resources/translators.xml
index f57a4ff..250ffc8 100644
--- a/src/Core/Banshee.Core/Resources/translators.xml
+++ b/src/Core/Banshee.Core/Resources/translators.xml
@@ -154,6 +154,7 @@
<language code="pt_BR" name="Brazilian Portuguese">
<person>Amanda Magalhães</person>
<person>Carlos Eduardo Moreira dos Santos</person>
+ <person>Carlos José Pereira</person>
<person>Daniel Abreu</person>
<person>Daniel S. Koda</person>
<person>Enrico Nicoletto</person>
diff --git a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
index 59a6d8b..72ac515 100644
--- a/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
+++ b/src/Dap/Banshee.Dap.AppleDevice/Banshee.Dap.AppleDevice/AppleDeviceSource.cs
@@ -148,23 +148,6 @@ namespace Banshee.Dap.AppleDevice
OnTracksAdded ();
}
- private int CountMusicFiles ()
- {
- return 0;
-// try {
-// int file_count = 0;
-//
-// DirectoryInfo m_dir = new DirectoryInfo (Path.Combine (ipod_device.ControlPath, "Music"));
-// foreach (DirectoryInfo f_dir in m_dir.GetDirectories ()) {
-// file_count += f_dir.GetFiles().Length;
-// }
-//
-// return file_count;
-// } catch {
-// return 0;
-// }
- }
-
private void LoadFromDevice (bool refresh)
{
tracks_map.Clear ();
@@ -215,12 +198,6 @@ namespace Banshee.Dap.AppleDevice
}*/
}
- private void OnRebuildDatabaseRefresh (object o, EventArgs args)
- {
- ServiceManager.SourceManager.SetActiveSource (MusicGroupSource);
- base.LoadDeviceContents ();
- }
-
// private void DestroyUnsupportedView ()
// {
// if (unsupported_view != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]