[Monodevelop-patches-list] r974 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/Gui/Dialogs Main/Base/Services/File
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Sat Feb 21 12:46:37 EST 2004
Author: tberman
Date: 2004-02-21 12:46:37 -0500 (Sat, 21 Feb 2004)
New Revision: 974
Modified:
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
trunk/MonoDevelop/src/Main/Base/Services/File/DefaultFileService.cs
Log:
fixing fullscreen issues wrt find and fixing bug about finding in untitled files
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs 2004-02-21 15:43:48 UTC (rev 973)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs 2004-02-21 17:46:37 UTC (rev 974)
@@ -118,6 +118,7 @@
markAllButton.UseUnderline = true;
markAllButton.Label = stringParserService.Parse ("${res:Dialog.NewProject.SearchReplace.MarkAllButton}");
}
+ ReplaceDialogPointer.TransientFor = (Gtk.Window)WorkbenchSingleton.Workbench;
}
public ReplaceDialog(bool replaceMode)
Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-02-21 15:43:48 UTC (rev 973)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs 2004-02-21 17:46:37 UTC (rev 974)
@@ -123,6 +123,7 @@
{
ReplaceDialogPointer = this.FindInFilesDialogWidget;
}
+ ReplaceDialogPointer.TransientFor = (Gtk.Window)WorkbenchSingleton.Workbench;
}
protected void OnClosed()
Modified: trunk/MonoDevelop/src/Main/Base/Services/File/DefaultFileService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/File/DefaultFileService.cs 2004-02-21 15:43:48 UTC (rev 973)
+++ trunk/MonoDevelop/src/Main/Base/Services/File/DefaultFileService.cs 2004-02-21 17:46:37 UTC (rev 974)
@@ -73,14 +73,15 @@
// test, if file fileName exists
if (!fileName.StartsWith("http://")) {
// test, if an untitled file should be opened
- if (!Path.IsPathRooted(fileName)) {
+ //if (!Path.IsPathRooted(fileName)) {
foreach (IViewContent content in WorkbenchSingleton.Workbench.ViewContentCollection) {
if (content.IsUntitled && content.UntitledName == fileName) {
content.WorkbenchWindow.SelectWindow();
return;
}
}
- } else if (!fileUtilityService.TestFileExists(fileName)) {
+ //} else
+ if (!fileUtilityService.TestFileExists(fileName)) {
return;
}
}
More information about the Monodevelop-patches-list
mailing list