Author: mkrueger
Date: 2007-05-25 07:26:08 -0400 (Fri, 25 May 2007)
New Revision: 77939
Added:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/FolderNodeBuilder.cs
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.FeatureSelectorDialog.cs
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.cs
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
Log:
Worked on project browser.
Modified: branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
===================================================================
--- branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
2007-05-25 11:03:46 UTC (rev 77938)
+++ branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/Makefile.am
2007-05-25 11:26:08 UTC (rev 77939)
@@ -38,6 +38,7 @@
gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.cs \
gtk-gui/MonoDevelop.Ide.Gui.Dialogs.OpenFileInSolutionDialog.cs \
gtk-gui/MonoDevelop.Ide.Gui.Dialogs.RenameItemDialog.cs \
+
gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs \
MonoDevelop.Ide.CodeTemplates/CodeTemplate.cs \
MonoDevelop.Ide.CodeTemplates/CodeTemplateGroup.cs \
MonoDevelop.Ide.CodeTemplates/CodeTemplateLoader.cs \
@@ -153,6 +154,7 @@
MonoDevelop.Ide.Gui.Pads.ProjectPad/SystemFile.cs \
MonoDevelop.Ide.Gui.Pads.ProjectPad/SystemFileNodeBuilder.cs \
MonoDevelop.Ide.Gui.Pads.ProjectPad/UnknownEntryNodeBuilder.cs \
+ MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs \
MonoDevelop.Ide.Gui.Pads.SolutionPad/FileNode.cs \
MonoDevelop.Ide.Gui.Pads.SolutionPad/FileNodeBuilder.cs \
MonoDevelop.Ide.Gui.Pads.SolutionPad/FolderNode.cs \
Added:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs
===================================================================
---
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs
2007-05-25 11:03:46 UTC (rev 77938)
+++
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs
2007-05-25 11:26:08 UTC (rev 77939)
@@ -0,0 +1,47 @@
+//
+// AddNewFilesToProjectDialog.cs
+//
+// Author:
+// Mike Krüger <[EMAIL PROTECTED]>
+//
+// Copyright (C) 2007 Novell, Inc (http://www.novell.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+
+using MonoDevelop.Components;
+using MonoDevelop.Core;
+
+namespace MonoDevelop.Ide.Gui.Pads.SolutionViewPad
+{
+ public partial class AddNewFilesToProjectDialog : Gtk.Dialog
+ {
+ IconView iconView;
+
+ public AddNewFilesToProjectDialog()
+ {
+ this.Build();
+ iconView = new IconView ();
+ scrolledwindowIcon.Add (iconView);
+ }
+ }
+}
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/FolderNodeBuilder.cs
===================================================================
---
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/FolderNodeBuilder.cs
2007-05-25 11:03:46 UTC (rev 77938)
+++
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.SolutionPad/FolderNodeBuilder.cs
2007-05-25 11:26:08 UTC (rev 77939)
@@ -34,6 +34,7 @@
using MonoDevelop.Core;
using MonoDevelop.Ide.Commands;
using MonoDevelop.Ide.Gui;
+using MonoDevelop.Ide.Gui.Dialogs;
using MonoDevelop.Core.Gui;
using MonoDevelop.Components.Commands;
using MonoDevelop.Ide.Gui.Search;
@@ -51,6 +52,14 @@
get { return typeof(FolderNode); }
}
+ public override Type CommandHandlerType {
+ get { return typeof(FolderNodeCommandHandler); }
+ }
+
+ public override string ContextMenuAddinPath {
+ get { return
"/SharpDevelop/Views/ProjectBrowser/ContextMenu/DefaultDirectoryNode"; }
+ }
+
public override string GetNodeName (ITreeNavigator thisNode,
object dataObject)
{
FolderNode folderNode = dataObject as FolderNode;
@@ -140,5 +149,27 @@
return Directory.GetFiles(folderNode.Path).Length > 0
|| Directory.GetDirectories(folderNode.Path).Length > 0;
}
}
+
+ public class FolderNodeCommandHandler: NodeCommandHandler
+ {
+ [CommandHandler (ProjectCommands.AddNewFiles)]
+ public void AddNewFileToProject()
+ {
+ FolderNode folderNode = CurrentNode.DataItem as
FolderNode;
+ if (folderNode == null)
+ return;
+ using (AddNewFilesToProjectDialog dialog = new
AddNewFilesToProjectDialog ()) {
+ dialog.Run ();
+ }
+/* using (NewFileDialog nfd = new NewFileDialog (null,
folderNode.Project.Project.BasePath)) {
+ nfd.Run ();
+
+ }*/
+ ProjectService.SaveProject (folderNode.Project.Project);
+
+ CurrentNode.Expanded = true;
+ }
+
+ }
}
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
===================================================================
--- branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
2007-05-25 11:03:46 UTC (rev 77938)
+++ branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.mdp
2007-05-25 11:26:08 UTC (rev 77939)
@@ -335,6 +335,8 @@
<File
name="./MonoDevelop.Ide.Gui.Pads.SolutionPad/SystemFileNodeBuilder.cs"
subtype="Code" buildaction="Compile" />
<File name="./MonoDevelop.Ide.Gui.Pads.SolutionPad/SystemFolderNode.cs"
subtype="Code" buildaction="Compile" />
<File
name="./MonoDevelop.Ide.Gui.Pads.SolutionPad/SystemFolderNodeBuilder.cs"
subtype="Code" buildaction="Compile" />
+ <File
name="./MonoDevelop.Ide.Gui.Pads.SolutionPad/AddNewFilesToProjectDialog.cs"
subtype="Code" buildaction="Compile" />
+ <File
name="./gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs"
subtype="Code" buildaction="Compile" />
</Contents>
<References>
<ProjectReference type="Gac" localcopy="False" refto="gecko-sharp,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=ccf7d78a55e9f021" />
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.FeatureSelectorDialog.cs
===================================================================
---
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.FeatureSelectorDialog.cs
2007-05-25 11:03:46 UTC (rev 77938)
+++
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.FeatureSelectorDialog.cs
2007-05-25 11:26:08 UTC (rev 77939)
@@ -54,6 +54,7 @@
this.featureList = new
MonoDevelop.Ide.Gui.Dialogs.CombineEntryFeatureSelector();
this.featureList.Events = ((Gdk.EventMask)(256));
this.featureList.Name = "featureList";
+ this.featureList.BorderWidth = ((uint)(0));
this.vbox5.Add(this.featureList);
Gtk.Box.BoxChild w3 =
((Gtk.Box.BoxChild)(this.vbox5[this.featureList]));
w3.Position = 1;
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.cs
===================================================================
---
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.cs
2007-05-25 11:03:46 UTC (rev 77938)
+++
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewProjectDialog.cs
2007-05-25 11:26:08 UTC (rev 77939)
@@ -358,6 +358,7 @@
this.featureList = new
MonoDevelop.Ide.Gui.Dialogs.CombineEntryFeatureSelector();
this.featureList.Events = ((Gdk.EventMask)(256));
this.featureList.Name = "featureList";
+ this.featureList.BorderWidth = ((uint)(0));
this.vbox5.Add(this.featureList);
Gtk.Box.BoxChild w28 =
((Gtk.Box.BoxChild)(this.vbox5[this.featureList]));
w28.Position = 1;
Added:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs
===================================================================
---
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs
2007-05-25 11:03:46 UTC (rev 77938)
+++
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.cs
2007-05-25 11:26:08 UTC (rev 77939)
@@ -0,0 +1,167 @@
+//
------------------------------------------------------------------------------
+// <autogenerated>
+// This code was generated by a tool.
+// Mono Runtime Version: 2.0.50727.42
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+// </autogenerated>
+//
------------------------------------------------------------------------------
+
+namespace MonoDevelop.Ide.Gui.Pads.SolutionViewPad {
+
+
+ public partial class AddNewFilesToProjectDialog {
+
+ private Gtk.VBox vbox2;
+
+ private Gtk.HBox hbox1;
+
+ private Gtk.TreeView treeviewCatalog;
+
+ private Gtk.ScrolledWindow scrolledwindowIcon;
+
+ private Gtk.Frame frame1;
+
+ private Gtk.Alignment GtkAlignment2;
+
+ private Gtk.Label labelInfo;
+
+ private Gtk.HBox hbox2;
+
+ private Gtk.Label label1;
+
+ private Gtk.TextView textview1;
+
+ private Gtk.Button buttonCancel;
+
+ private Gtk.Button buttonOk;
+
+ protected virtual void Build() {
+ Stetic.Gui.Initialize();
+ // Widget
MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog
+ this.Name =
"MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog";
+ this.Title = Mono.Unix.Catalog.GetString("Add new File");
+ this.TypeHint = ((Gdk.WindowTypeHint)(1));
+ this.WindowPosition = ((Gtk.WindowPosition)(4));
+ this.Modal = true;
+ this.HasSeparator = false;
+ // Internal child
MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.VBox
+ Gtk.VBox w1 = this.VBox;
+ w1.Name = "dialog1_VBox";
+ w1.BorderWidth = ((uint)(2));
+ // Container child dialog1_VBox.Gtk.Box+BoxChild
+ this.vbox2 = new Gtk.VBox();
+ this.vbox2.Name = "vbox2";
+ this.vbox2.Spacing = 6;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.hbox1 = new Gtk.HBox();
+ this.hbox1.Name = "hbox1";
+ this.hbox1.Spacing = 6;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.treeviewCatalog = new Gtk.TreeView();
+ this.treeviewCatalog.CanFocus = true;
+ this.treeviewCatalog.Name = "treeviewCatalog";
+ this.hbox1.Add(this.treeviewCatalog);
+ Gtk.Box.BoxChild w2 =
((Gtk.Box.BoxChild)(this.hbox1[this.treeviewCatalog]));
+ w2.Position = 0;
+ // Container child hbox1.Gtk.Box+BoxChild
+ this.scrolledwindowIcon = new Gtk.ScrolledWindow();
+ this.scrolledwindowIcon.CanFocus = true;
+ this.scrolledwindowIcon.Name = "scrolledwindowIcon";
+ this.scrolledwindowIcon.VscrollbarPolicy = ((Gtk.PolicyType)(1));
+ this.scrolledwindowIcon.HscrollbarPolicy = ((Gtk.PolicyType)(1));
+ this.scrolledwindowIcon.ShadowType = ((Gtk.ShadowType)(1));
+ this.hbox1.Add(this.scrolledwindowIcon);
+ Gtk.Box.BoxChild w3 =
((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindowIcon]));
+ w3.Position = 1;
+ this.vbox2.Add(this.hbox1);
+ Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
+ w4.Position = 0;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.frame1 = new Gtk.Frame();
+ this.frame1.Name = "frame1";
+ this.frame1.LabelXalign = 0F;
+ // Container child frame1.Gtk.Container+ContainerChild
+ this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
+ this.GtkAlignment2.Name = "GtkAlignment2";
+ this.GtkAlignment2.LeftPadding = ((uint)(12));
+ // Container child GtkAlignment2.Gtk.Container+ContainerChild
+ this.labelInfo = new Gtk.Label();
+ this.labelInfo.Name = "labelInfo";
+ this.labelInfo.LabelProp = "";
+ this.GtkAlignment2.Add(this.labelInfo);
+ this.frame1.Add(this.GtkAlignment2);
+ this.vbox2.Add(this.frame1);
+ Gtk.Box.BoxChild w7 =
((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
+ w7.Position = 1;
+ w7.Expand = false;
+ w7.Fill = false;
+ // Container child vbox2.Gtk.Box+BoxChild
+ this.hbox2 = new Gtk.HBox();
+ this.hbox2.Name = "hbox2";
+ this.hbox2.Spacing = 6;
+ // Container child hbox2.Gtk.Box+BoxChild
+ this.label1 = new Gtk.Label();
+ this.label1.Name = "label1";
+ this.label1.LabelProp = Mono.Unix.Catalog.GetString("Name:");
+ this.hbox2.Add(this.label1);
+ Gtk.Box.BoxChild w8 =
((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
+ w8.Position = 0;
+ w8.Expand = false;
+ w8.Fill = false;
+ // Container child hbox2.Gtk.Box+BoxChild
+ this.textview1 = new Gtk.TextView();
+ this.textview1.CanFocus = true;
+ this.textview1.Name = "textview1";
+ this.hbox2.Add(this.textview1);
+ Gtk.Box.BoxChild w9 =
((Gtk.Box.BoxChild)(this.hbox2[this.textview1]));
+ w9.Position = 1;
+ this.vbox2.Add(this.hbox2);
+ Gtk.Box.BoxChild w10 =
((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
+ w10.Position = 2;
+ w10.Expand = false;
+ w10.Fill = false;
+ w1.Add(this.vbox2);
+ Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
+ w11.Position = 0;
+ // Internal child
MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog.ActionArea
+ Gtk.HButtonBox w12 = this.ActionArea;
+ w12.Name = "dialog1_ActionArea";
+ w12.Spacing = 6;
+ w12.BorderWidth = ((uint)(5));
+ w12.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
+ // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
+ this.buttonCancel = new Gtk.Button();
+ this.buttonCancel.CanDefault = true;
+ this.buttonCancel.CanFocus = true;
+ this.buttonCancel.Name = "buttonCancel";
+ this.buttonCancel.UseStock = true;
+ this.buttonCancel.UseUnderline = true;
+ this.buttonCancel.Label = "gtk-close";
+ this.AddActionWidget(this.buttonCancel, -7);
+ Gtk.ButtonBox.ButtonBoxChild w13 =
((Gtk.ButtonBox.ButtonBoxChild)(w12[this.buttonCancel]));
+ w13.Expand = false;
+ w13.Fill = false;
+ // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
+ this.buttonOk = new Gtk.Button();
+ this.buttonOk.CanDefault = true;
+ this.buttonOk.CanFocus = true;
+ this.buttonOk.Name = "buttonOk";
+ this.buttonOk.UseStock = true;
+ this.buttonOk.UseUnderline = true;
+ this.buttonOk.Label = "gtk-new";
+ this.AddActionWidget(this.buttonOk, 0);
+ Gtk.ButtonBox.ButtonBoxChild w14 =
((Gtk.ButtonBox.ButtonBoxChild)(w12[this.buttonOk]));
+ w14.Position = 1;
+ w14.Expand = false;
+ w14.Fill = false;
+ if ((this.Child != null)) {
+ this.Child.ShowAll();
+ }
+ this.DefaultWidth = 470;
+ this.DefaultHeight = 328;
+ this.Show();
+ }
+ }
+}
Modified:
branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
===================================================================
--- branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
2007-05-25 11:03:46 UTC (rev 77938)
+++ branches/mkrueger/monodevelop/Core/src/MonoDevelop.Ide/gtk-gui/gui.stetic
2007-05-25 11:26:08 UTC (rev 77939)
@@ -927,6 +927,7 @@
<widget
class="MonoDevelop.Ide.Gui.Dialogs.CombineEntryFeatureSelector"
id="featureList">
<property name="MemberName" />
<property name="Events">ButtonPressMask</property>
+ <property name="BorderWidth">0</property>
</widget>
<packing>
<property name="Position">1</property>
@@ -1028,6 +1029,7 @@
<widget
class="MonoDevelop.Ide.Gui.Dialogs.CombineEntryFeatureSelector"
id="featureList">
<property name="MemberName" />
<property name="Events">ButtonPressMask</property>
+ <property name="BorderWidth">0</property>
</widget>
<packing>
<property name="Position">1</property>
@@ -1195,4 +1197,175 @@
</widget>
</child>
</widget>
+ <widget class="Gtk.Dialog"
id="MonoDevelop.Ide.Gui.Pads.SolutionViewPad.AddNewFilesToProjectDialog"
design-size="470 328">
+ <property name="MemberName" />
+ <property name="Title" translatable="yes">Add new File</property>
+ <property name="TypeHint">Dialog</property>
+ <property name="Modal">True</property>
+ <property name="Buttons">2</property>
+ <property name="HelpButton">False</property>
+ <child internal-child="VBox">
+ <widget class="Gtk.VBox" id="dialog1_VBox">
+ <property name="MemberName" />
+ <property name="BorderWidth">2</property>
+ <child>
+ <widget class="Gtk.VBox" id="vbox2">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.HBox" id="hbox1">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.TreeView" id="treeviewCatalog">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.ScrolledWindow" id="scrolledwindowIcon">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="VscrollbarPolicy">Automatic</property>
+ <property name="HscrollbarPolicy">Automatic</property>
+ <property name="ShadowType">In</property>
+ <child>
+ <widget class="Gtk.Viewport" id="GtkViewport">
+ <property name="MemberName" />
+ <property name="ShadowType">None</property>
+ <child>
+ <placeholder />
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Frame" id="frame1">
+ <property name="MemberName" />
+ <property name="LabelXalign">0</property>
+ <child>
+ <widget class="Gtk.Alignment" id="GtkAlignment2">
+ <property name="MemberName" />
+ <property name="Xalign">0</property>
+ <property name="Yalign">0</property>
+ <property name="LeftPadding">12</property>
+ <child>
+ <widget class="Gtk.Label" id="labelInfo">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes" />
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.HBox" id="hbox2">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <child>
+ <widget class="Gtk.Label" id="label1">
+ <property name="MemberName" />
+ <property name="LabelProp"
translatable="yes">Name:</property>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.TextView" id="textview1">
+ <property name="MemberName" />
+ <property name="CanFocus">True</property>
+ <property name="Text" translatable="yes" />
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">2</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="Position">0</property>
+ <property name="AutoSize">True</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ <child internal-child="ActionArea">
+ <widget class="Gtk.HButtonBox" id="dialog1_ActionArea">
+ <property name="MemberName" />
+ <property name="Spacing">6</property>
+ <property name="BorderWidth">5</property>
+ <property name="Size">2</property>
+ <property name="LayoutStyle">End</property>
+ <child>
+ <widget class="Gtk.Button" id="buttonCancel">
+ <property name="MemberName" />
+ <property name="CanDefault">True</property>
+ <property name="CanFocus">True</property>
+ <property name="UseStock">True</property>
+ <property name="Type">StockItem</property>
+ <property name="StockId">gtk-close</property>
+ <property name="IsDialogButton">True</property>
+ <property name="ResponseId">-7</property>
+ <property name="label">gtk-close</property>
+ </widget>
+ <packing>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="Gtk.Button" id="buttonOk">
+ <property name="MemberName" />
+ <property name="CanDefault">True</property>
+ <property name="CanFocus">True</property>
+ <property name="UseStock">True</property>
+ <property name="Type">StockItem</property>
+ <property name="StockId">gtk-new</property>
+ <property name="IsDialogButton">True</property>
+ <property name="ResponseId">0</property>
+ <property name="label">gtk-new</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
</stetic-interface>
\ No newline at end of file
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches