[Monodevelop-patches-list] r1021 - in trunk/MonoDevelop: data/resources/glade src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Feb 24 17:54:45 EST 2004


Author: pedroas
Date: 2004-02-24 17:54:45 -0500 (Tue, 24 Feb 2004)
New Revision: 1021

Modified:
   trunk/MonoDevelop/data/resources/glade/texteditoraddin.glade
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
Log:
Select the text on the find and replace dialog load to be user-friendly


Modified: trunk/MonoDevelop/data/resources/glade/texteditoraddin.glade
===================================================================
--- trunk/MonoDevelop/data/resources/glade/texteditoraddin.glade	2004-02-24 21:50:03 UTC (rev 1020)
+++ trunk/MonoDevelop/data/resources/glade/texteditoraddin.glade	2004-02-24 22:54:45 UTC (rev 1021)
@@ -401,7 +401,7 @@
 		  <property name="enable_arrows_always">False</property>
 
 		  <child internal-child="entry">
-		    <widget class="GtkEntry" id="combo-entry1">
+		    <widget class="GtkEntry" id="combo_entry1">
 		      <property name="visible">True</property>
 		      <property name="can_focus">True</property>
 		      <property name="editable">True</property>
@@ -1847,7 +1847,7 @@
 		  <property name="enable_arrows_always">False</property>
 
 		  <child internal-child="entry">
-		    <widget class="GtkEntry" id="combo-entry1">
+		    <widget class="GtkEntry" id="combo_entry1">
 		      <property name="visible">True</property>
 		      <property name="can_focus">True</property>
 		      <property name="editable">True</property>

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs	2004-02-24 21:50:03 UTC (rev 1020)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs	2004-02-24 22:54:45 UTC (rev 1021)
@@ -57,6 +57,7 @@
 		[Glade.Widget] Gtk.OptionMenu searchLocationComboBox;
 		[Glade.Widget] Gtk.Label label1;
 		[Glade.Widget] Gtk.Label label2;
+		[Glade.Widget] Gtk.Entry combo_entry1;
 		[Glade.Widget] Gtk.Label searchLocationLabel;
 		[Glade.Widget] Gtk.Dialog FindDialogWidget;
 		[Glade.Widget] Gtk.Dialog ReplaceDialogWidget;
@@ -207,6 +208,7 @@
 				ReplaceDialogPointer.Title = resourceService.GetString("Dialog.NewProject.SearchReplace.FindDialogName");
 				markAllButton.Clicked    += new EventHandler(MarkAllEvent);
 			}
+			combo_entry1.SelectRegion(0, 999);
 			
 				//ControlDictionary["replacePatternComboBox"].Visible = false;
 				//ControlDictionary["replaceAllButton"].Visible       = false;




More information about the Monodevelop-patches-list mailing list