[Monodevelop-patches-list] r885 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/Dialogs Main/Base/Gui/Dialogs

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Fri Feb 13 18:42:06 EST 2004


Author: jluke
Date: 2004-02-13 18:42:06 -0500 (Fri, 13 Feb 2004)
New Revision: 885

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/GotoLineNumberDialog.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
Log:
set .TransientFor properties, so Fullscreen works right


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/GotoLineNumberDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/GotoLineNumberDialog.cs	2004-02-13 22:18:49 UTC (rev 884)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/GotoLineNumberDialog.cs	2004-02-13 23:42:06 UTC (rev 885)
@@ -10,7 +10,6 @@
 using System.Resources;
 
 using ICSharpCode.Core.Properties;
-
 using ICSharpCode.Core.Services;
 
 using Gtk;
@@ -32,6 +31,7 @@
 		
 		public void Run ()
 		{
+			GotoLineDialog.TransientFor = (Gtk.Window) WorkbenchSingleton.Workbench;
 			GotoLineDialog.ShowAll ();
 			IsVisible = true;
 			GotoLineDialog.Run ();

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs	2004-02-13 22:18:49 UTC (rev 884)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/ViewGPLDialog.cs	2004-02-13 23:42:06 UTC (rev 885)
@@ -31,6 +31,7 @@
 				Glade.XML gplDialog = new Glade.XML (null, "Base.glade", "GPLDialog", null);
 				gplDialog.Autoconnect (this);
 				GPLDialog.DefaultResponse = (int) ResponseType.Close;
+				GPLDialog.TransientFor = (Gtk.Window) WorkbenchSingleton.Workbench;
  				StreamReader streamReader = new StreamReader (filename);
  				view.Buffer.Text = streamReader.ReadToEnd ();
 			}




More information about the Monodevelop-patches-list mailing list