Author: lluis
Date: 2007-11-19 18:41:34 -0500 (Mon, 19 Nov 2007)
New Revision: 89948
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs
trunk/monodevelop/Extras/MonoDevelop.GtkCore/gui.glade
Log:
* gui.glade, MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs: Removed
Gnome.FileEntry.
Modified: trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-11-19
23:22:28 UTC (rev 89947)
+++ trunk/monodevelop/Extras/MonoDevelop.GtkCore/ChangeLog 2007-11-19
23:41:34 UTC (rev 89948)
@@ -1,3 +1,8 @@
+2007-11-20 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * gui.glade, MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs: Removed
+ Gnome.FileEntry.
+
2007-11-09 Michael Hutchinson <[EMAIL PROTECTED]>
* MonoDevelop.GtkCore.GuiBuilder/GuiBuilderService.cs,
Modified:
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs
===================================================================
---
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs
2007-11-19 23:22:28 UTC (rev 89947)
+++
trunk/monodevelop/Extras/MonoDevelop.GtkCore/MonoDevelop.GtkCore.Dialogs/BindDesignDialog.cs
2007-11-19 23:41:34 UTC (rev 89948)
@@ -32,6 +32,7 @@
using Glade;
using Gtk;
using MonoDevelop.Core;
+using MonoDevelop.Components;
namespace MonoDevelop.GtkCore.Dialogs
{
@@ -45,9 +46,11 @@
[Glade.Widget] protected Gtk.RadioButton radioSelect;
[Glade.Widget] protected Gtk.RadioButton radioCreate;
[Glade.Widget] protected Gtk.Table tableNewClass;
- [Glade.Widget] protected Gnome.FileEntry fileEntry;
[Glade.Widget] protected Gtk.Button okButton;
+ [Glade.Widget] protected Gtk.EventBox fileEntryBox;
+ FolderEntry fileEntry;
+
ListStore store;
static string lastNamespace = "";
@@ -57,6 +60,10 @@
glade.Autoconnect (this);
labelMessage.Text = GettextCatalog.GetString ("The
widget design {0} is not currently bound to a class.", id);
+ fileEntry = new FolderEntry ();
+ fileEntryBox.Add (fileEntry);
+ fileEntry.ShowAll ();
+
if (validClasses.Count > 0) {
store = new ListStore (typeof (string));
@@ -73,7 +80,7 @@
radioCreate.Active = true;
}
- fileEntry.Filename = baseFolder;
+ fileEntry.Path = baseFolder;
// Initialize the class name using the widget name
int i = id.IndexOf ('.');
@@ -142,7 +149,7 @@
}
public string Folder {
- get { return fileEntry.Filename; }
+ get { return fileEntry.Path; }
}
protected void OnSelectToggled (object ob, EventArgs args)
Modified: trunk/monodevelop/Extras/MonoDevelop.GtkCore/gui.glade
===================================================================
--- trunk/monodevelop/Extras/MonoDevelop.GtkCore/gui.glade 2007-11-19
23:22:28 UTC (rev 89947)
+++ trunk/monodevelop/Extras/MonoDevelop.GtkCore/gui.glade 2007-11-19
23:41:34 UTC (rev 89948)
@@ -1008,39 +1008,6 @@
</child>
<child>
- <widget class="GnomeFileEntry" id="fileEntry">
- <property name="visible">True</property>
- <property name="max_saved">10</property>
- <property name="directory_entry">True</property>
- <property name="modal">False</property>
- <property name="use_filechooser">True</property>
- <property
name="filechooser_action">GTK_FILE_CHOOSER_ACTION_OPEN</property>
-
- <child internal-child="entry">
- <widget class="GtkEntry" id="combo-entry1">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="editable">True</property>
- <property name="visibility">True</property>
- <property name="max_length">0</property>
- <property name="text" translatable="yes"></property>
- <property name="has_frame">True</property>
- <property name="invisible_char">*</property>
- <property name="activates_default">False</property>
- <signal name="changed" handler="OnEntryChanged"
last_modification_time="Mon, 27 Feb 2006 18:53:39 GMT"/>
- </widget>
- </child>
- </widget>
- <packing>
- <property name="left_attach">2</property>
- <property name="right_attach">3</property>
- <property name="top_attach">2</property>
- <property name="bottom_attach">3</property>
- <property name="y_options"></property>
- </packing>
- </child>
-
- <child>
<widget class="GtkEntry" id="entryNamespace">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -1061,6 +1028,26 @@
<property name="y_options"></property>
</packing>
</child>
+
+ <child>
+ <widget class="GtkEventBox" id="fileEntryBox">
+ <property name="visible">True</property>
+ <property name="visible_window">True</property>
+ <property name="above_child">False</property>
+
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="right_attach">3</property>
+ <property name="top_attach">2</property>
+ <property name="bottom_attach">3</property>
+ <property name="x_options">fill</property>
+ <property name="y_options">fill</property>
+ </packing>
+ </child>
</widget>
<packing>
<property name="padding">0</property>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches