Browse Source

Fixed indeterminate progress bar in search dialog.

InsertCtorDialog: select readonly fields by default.
SVN addin: remove "Checkout" and "Export" options as those aren't really useful and confusing to users (no other SVN commands are in Tools menu).

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@5622 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
pull/1/head
Daniel Grunwald 16 years ago
parent
commit
24b25bf923
  1. 5
      src/AddIns/Misc/SearchAndReplace/Project/Gui/SearchAndReplacePanel.cs
  2. 2
      src/AddIns/Misc/SharpRefactoring/Project/Src/Gui/InsertCtorDialog.xaml.cs
  3. 3
      src/AddIns/Misc/SubversionAddIn/Project/ICSharpCode.Svn.addin

5
src/AddIns/Misc/SearchAndReplace/Project/Gui/SearchAndReplacePanel.cs

@ -118,6 +118,7 @@ namespace SearchAndReplace
} else { } else {
using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true)) using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true))
{ {
monitor.Progress = double.NaN; // progress not implemented, use indeterminate progress
SearchReplaceManager.FindNext(monitor); SearchReplaceManager.FindNext(monitor);
} }
} }
@ -134,6 +135,7 @@ namespace SearchAndReplace
} else { } else {
using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true)) using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true))
{ {
monitor.Progress = double.NaN; // progress not implemented, use indeterminate progress
SearchInFilesManager.FindAll(monitor); SearchInFilesManager.FindAll(monitor);
} }
} }
@ -149,6 +151,7 @@ namespace SearchAndReplace
} else { } else {
using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true)) using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true))
{ {
monitor.Progress = double.NaN; // progress not implemented, use indeterminate progress
SearchReplaceManager.MarkAll(monitor); SearchReplaceManager.MarkAll(monitor);
} }
} }
@ -164,6 +167,7 @@ namespace SearchAndReplace
} else { } else {
using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true)) using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true))
{ {
monitor.Progress = double.NaN; // progress not implemented, use indeterminate progress
SearchReplaceManager.ReplaceAll(monitor); SearchReplaceManager.ReplaceAll(monitor);
} }
} }
@ -179,6 +183,7 @@ namespace SearchAndReplace
} else { } else {
using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true)) using (AsynchronousWaitDialog monitor = AsynchronousWaitDialog.ShowWaitDialog("Search", true))
{ {
monitor.Progress = double.NaN; // progress not implemented, use indeterminate progress
SearchReplaceManager.Replace(monitor); SearchReplaceManager.Replace(monitor);
} }
} }

2
src/AddIns/Misc/SharpRefactoring/Project/Src/Gui/InsertCtorDialog.xaml.cs

@ -41,7 +41,7 @@ namespace SharpRefactoring.Gui
int i = 0; int i = 0;
foreach (IField f in fields) { foreach (IField f in fields) {
yield return new CtorParamWrapper(f) { Index = i }; yield return new CtorParamWrapper(f) { Index = i, IsSelected = f.IsReadonly };
i++; i++;
} }
} }

3
src/AddIns/Misc/SubversionAddIn/Project/ICSharpCode.Svn.addin

@ -184,6 +184,8 @@
class = "ICSharpCode.Svn.Gui.SubversionOptionsPanel"/> class = "ICSharpCode.Svn.Gui.SubversionOptionsPanel"/>
</Path> </Path>
<!--
These options aren't really useful and just add to the confusion in our menu system as other SVN commands aren't available in Tools>SVN.
<Path name = "/SharpDevelop/Workbench/MainMenu/Tools"> <Path name = "/SharpDevelop/Workbench/MainMenu/Tools">
<MenuItem id = "SvnExport" <MenuItem id = "SvnExport"
label = "Subversion" label = "Subversion"
@ -199,4 +201,5 @@
class = "ICSharpCode.Svn.Commands.CheckoutCommand"/> class = "ICSharpCode.Svn.Commands.CheckoutCommand"/>
</MenuItem> </MenuItem>
</Path> </Path>
-->
</AddIn> </AddIn>

Loading…
Cancel
Save