[banshee] [BansheeDialog] add a default constructor
- From: Aaron Bockover <abock src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [banshee] [BansheeDialog] add a default constructor
- Date: Sun, 7 Feb 2010 21:36:04 +0000 (UTC)
commit 872f5eb4090e07b884565d6388b4785a73138951
Author: Aaron Bockover <abockover novell com>
Date: Sun Feb 7 16:35:08 2010 -0500
[BansheeDialog] add a default constructor
.../Banshee.Gui.Dialogs/BansheeDialog.cs | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs
index 1aca296..97e055c 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/BansheeDialog.cs
@@ -41,13 +41,17 @@ namespace Banshee.Gui.Dialogs
get { return accel_group; }
}
+ public BansheeDialog () : this (null, null)
+ {
+ }
+
public BansheeDialog (string title) : this (title, null)
{
}
public BansheeDialog (string title, Window parent) : base ()
{
- Title = title;
+ Title = title ?? String.Empty;
BorderWidth = 12;
Visible = false;
HasSeparator = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]