File: Debrand-the-interface-to-Netbook.patch

package info (click to toggle)
banshee 2.6.2-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 47,208 kB
  • sloc: xml: 163,694; cs: 137,409; sh: 11,650; ansic: 4,790; makefile: 2,922; python: 38
file content (70 lines) | stat: -rw-r--r-- 3,259 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
From: Didier Roche <didrocks@ubuntu.com>
Date: Mon, 5 Jul 2010 13:06:51 +0200
Subject: Debrand the interface to "Netbook"

Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=623588
---
 src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs   | 12 ++++++------
 src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs
index eaad0a3..6fad319 100644
--- a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs
+++ b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoPanel.cs
@@ -48,7 +48,7 @@ namespace Banshee.MeeGo
         public MeeGoPanel ()
         {
             if (Instance != null) {
-                throw new InvalidOperationException ("Only one MeeGoPanel instance should exist");
+                throw new InvalidOperationException ("Only one Netbook Panel (MeegoPanel) instance should exist");
             }
 
             Instance = this;
@@ -56,7 +56,7 @@ namespace Banshee.MeeGo
             var timer = Log.DebugTimerStart ();
 
             try {
-                Log.Debug ("Attempting to create MeeGo toolbar panel");
+                Log.Debug ("Attempting to create Netbook toolbar panel");
                 embedded_panel = new PanelGtk ("banshee", Catalog.GetString ("media"),
                     null, "media-button", true);
                 embedded_panel.ShowBeginEvent += (o, e) => {
@@ -70,12 +70,12 @@ namespace Banshee.MeeGo
                 }
             } catch (Exception e) {
                 if (!(e is DllNotFoundException)) {
-                    Log.Exception ("Could not bind to MeeGo panel", e);
+                    Log.Exception ("Could not bind to Netbook panel", e);
                 }
-                window_panel = new Gtk.Window ("MeeGo Media Panel");
+                window_panel = new Gtk.Window ("Netbook Media Panel");
             }
 
-            Log.DebugTimerPrint (timer, "MeeGo panel created: {0}");
+            Log.DebugTimerPrint (timer, "Netbook panel created: {0}");
         }
 
         public void Dispose ()
@@ -87,7 +87,7 @@ namespace Banshee.MeeGo
             var timer = Log.DebugTimerStart ();
             Contents = new MediaPanelContents ();
             Contents.ShowAll ();
-            Log.DebugTimerPrint (timer, "MeeGo panel contents created: {0}");
+            Log.DebugTimerPrint (timer, "Netbook panel contents created: {0}");
 
             if (embedded_panel != null) {
                 embedded_panel.SetChild (Contents);
diff --git a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
index ffac0f1..4d0ad52 100644
--- a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
+++ b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
@@ -100,7 +100,7 @@ namespace Banshee.MeeGo
             panel = MeeGoPanel.Instance ?? new MeeGoPanel ();
 
             if (panel == null) {
-                Log.Warning ("MeeGo extension initialized without a panel");
+                Log.Warning ("Netbook extension initialized without a panel");
                 return;
             }