~ubuntu-branches/ubuntu/quantal/banshee/quantal

« back to all changes in this revision

Viewing changes to debian/patches/02_only-show-netbook-panel-on-request.patch

  • Committer: Package Import Robot
  • Author(s): Chow Loong Jin
  • Date: 2012-01-23 23:16:49 UTC
  • mfrom: (6.3.22 experimental)
  • Revision ID: package-import@ubuntu.com-20120123231649-safm1f8eycltcgsf
Tags: 2.3.4.ds-1ubuntu1
* Merge from Debian Experimental, remaining changes:
  + Enable and recommend SoundMenu and Disable NotificationArea by default
  + Disable boo and karma extensions
  + Enable and suggest u1ms
  + Move desktop file for Meego UI to /usr/share/une/applications
  + Change the url for the Amazon store redirector
  + [08dea2c] Revert "Fix invalid cast causing ftbfs with libgpod"
* [b617fe0] Convert Ubuntu-specific patches to gbp-pq patches
* Also fixes Launchpad bugs:
  - Fixes race condition while starting (LP: #766303)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From 81958438f88a673a4521f7f47862373bbca0eb9c Mon Sep 17 00:00:00 2001
2
 
From: Didier Roche <didrocks@ubuntu.com>
3
 
Date: Mon, 5 Jul 2010 13:12:49 +0200
4
 
Subject: [PATCH 2/4] Only show panel on --client=MeeGo and don't show when banshee is called
5
 
Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=623588
6
 
 
7
 
---
8
 
 .../Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs    |    4 +++-
9
 
 1 files changed, 3 insertions(+), 1 deletions(-)
10
 
 
11
 
diff --git a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
12
 
index 4d0ad52..bb7b31a 100644
13
 
--- a/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
14
 
+++ b/src/Extensions/Banshee.MeeGo/Banshee.MeeGo/MeeGoService.cs
15
 
@@ -97,11 +97,13 @@ namespace Banshee.MeeGo
16
 
             // assume we're probably not really running in a MeeGo environment,
17
 
             // so we just create the panel here (which is likely to just be
18
 
             // a separate top-level window for testing).
19
 
-            panel = MeeGoPanel.Instance ?? new MeeGoPanel ();
20
 
+            panel = MeeGoPanel.Instance;
21
 
 
22
 
             if (panel == null) {
23
 
                 Log.Warning ("Netbook extension initialized without a panel");
24
 
                 return;
25
 
+            } else {
26
 
+                elements_service.PrimaryWindow.Hide ();
27
 
             }
28
 
 
29
 
             panel.BuildContents ();
30
 
1.7.1
31