[banshee] [Banshee.Moblin] Disable quitting, hide the main UI
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [Banshee.Moblin] Disable quitting, hide the main UI
- Date: Thu, 15 Oct 2009 03:38:18 +0000 (UTC)
commit b408d59b0ee38287c3724550368ea3fd7fc2a90d
Author: Aaron Bockover <abockover novell com>
Date: Wed Oct 14 23:41:55 2009 -0400
[Banshee.Moblin] Disable quitting, hide the main UI
.../Banshee.Moblin/Banshee.Moblin/MoblinService.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
index fba5f71..cf869ac 100644
--- a/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
+++ b/src/Extensions/Banshee.Moblin/Banshee.Moblin/MoblinService.cs
@@ -83,6 +83,11 @@ namespace Banshee.Moblin
private void Initialize ()
{
+ Application.ShutdownRequested += () => {
+ elements_service.PrimaryWindow.Hide ();
+ return false;
+ };
+
if (MoblinPanel.Instance != null) {
var container = MoblinPanel.Instance.ParentContainer;
foreach (var child in container.Children) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]