banshee r4779 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs
- From: blorentz svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4779 - in trunk/banshee: . src/Core/Banshee.ThickClient/Banshee.Gui src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs
- Date: Wed, 5 Nov 2008 20:07:57 +0000 (UTC)
Author: blorentz
Date: Wed Nov 5 20:07:56 2008
New Revision: 4779
URL: http://svn.gnome.org/viewvc/banshee?rev=4779&view=rev
Log:
2008-11-05 Bertrand Lorentz <bertrand lorentz gmail com>
* src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs:
* src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs: Patch
from Maxim Ermilov to make the about dialog not modal (BGO #558050).
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs
trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/AboutDialog.cs Wed Nov 5 20:07:56 2008
@@ -42,6 +42,11 @@
{
public class AboutDialog : Gtk.AboutDialog
{
+ private void OnResponse(object obj, ResponseArgs args)
+ {
+ Destroy ();
+ }
+
public AboutDialog() : base()
{
// build authors page
@@ -103,6 +108,7 @@
License = ProductInformation.License;
WrapLicense = true;
+ Response += OnResponse;
}
}
}
Modified: trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs
==============================================================================
--- trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs (original)
+++ trunk/banshee/src/Core/Banshee.ThickClient/Banshee.Gui/GlobalActions.cs Wed Nov 5 20:07:56 2008
@@ -251,8 +251,7 @@
private void OnAbout (object o, EventArgs args)
{
Banshee.Gui.Dialogs.AboutDialog dialog = new Banshee.Gui.Dialogs.AboutDialog ();
- dialog.Run ();
- dialog.Destroy ();
+ dialog.Show ();
}
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]