diff options
author | Miguel de Icaza <miguel@gnome.org> | 2008-12-18 09:07:52 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2008-12-18 09:07:52 +0300 |
commit | 3457301221a08c4e8d9c3f724860155fbbf42d6f (patch) | |
tree | 9c21c6bc031d4a6a1bb40b6acca4cbfa38a825ac | |
parent | 7bd7f8ff58cedbd91acdb3462112e6b37085f89b (diff) |
Backportmono-2-2-rc1
svn path=/branches/mono-2-2/mono-tools/; revision=121765
-rw-r--r-- | gsharp/gtk-gui/Mono.CSharp.Gui.MainWindow.cs | 22 | ||||
-rw-r--r-- | gsharp/gtk-gui/gui.stetic | 30 |
2 files changed, 26 insertions, 26 deletions
diff --git a/gsharp/gtk-gui/Mono.CSharp.Gui.MainWindow.cs b/gsharp/gtk-gui/Mono.CSharp.Gui.MainWindow.cs index 0ba73ab7..451cf66a 100644 --- a/gsharp/gtk-gui/Mono.CSharp.Gui.MainWindow.cs +++ b/gsharp/gtk-gui/Mono.CSharp.Gui.MainWindow.cs @@ -47,10 +47,10 @@ namespace Mono.CSharp.Gui { private Gtk.Label label1; - private Gtk.EventBox standalone_container; - private Gtk.Notebook shellnotebook; + private Gtk.EventBox standalone_container; + private Gtk.ScrolledWindow sw; private Gtk.Label label3; @@ -139,9 +139,6 @@ namespace Mono.CSharp.Gui { this.notebook1.SetTabLabel(this.hpaned, this.label1); this.label1.ShowAll(); // Container child notebook1.Gtk.Notebook+NotebookChild - this.standalone_container = new Gtk.EventBox(); - this.standalone_container.Name = "standalone_container"; - // Container child standalone_container.Gtk.Container+ContainerChild this.shellnotebook = new Gtk.Notebook(); this.shellnotebook.CanFocus = true; this.shellnotebook.Name = "shellnotebook"; @@ -149,26 +146,29 @@ namespace Mono.CSharp.Gui { this.shellnotebook.ShowTabs = false; this.shellnotebook.Scrollable = true; // Container child shellnotebook.Gtk.Notebook+NotebookChild + this.standalone_container = new Gtk.EventBox(); + this.standalone_container.Name = "standalone_container"; + // Container child standalone_container.Gtk.Container+ContainerChild this.sw = new Gtk.ScrolledWindow(); this.sw.CanFocus = true; this.sw.Name = "sw"; this.sw.ShadowType = ((Gtk.ShadowType)(1)); - this.shellnotebook.Add(this.sw); + this.standalone_container.Add(this.sw); + this.shellnotebook.Add(this.standalone_container); // Notebook tab this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("C#"); - this.shellnotebook.SetTabLabel(this.sw, this.label3); + this.shellnotebook.SetTabLabel(this.standalone_container, this.label3); this.label3.ShowAll(); - this.standalone_container.Add(this.shellnotebook); - this.notebook1.Add(this.standalone_container); - Gtk.Notebook.NotebookChild w8 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.standalone_container])); + this.notebook1.Add(this.shellnotebook); + Gtk.Notebook.NotebookChild w8 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.shellnotebook])); w8.Position = 1; // Notebook tab this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("page2"); - this.notebook1.SetTabLabel(this.standalone_container, this.label2); + this.notebook1.SetTabLabel(this.shellnotebook, this.label2); this.label2.ShowAll(); this.vbox1.Add(this.notebook1); Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.notebook1])); diff --git a/gsharp/gtk-gui/gui.stetic b/gsharp/gtk-gui/gui.stetic index 7286db29..b1f19dd8 100644 --- a/gsharp/gtk-gui/gui.stetic +++ b/gsharp/gtk-gui/gui.stetic @@ -140,15 +140,15 @@ </packing> </child> <child> - <widget class="Gtk.EventBox" id="standalone_container"> + <widget class="Gtk.Notebook" id="shellnotebook"> <property name="MemberName" /> + <property name="CanFocus">True</property> + <property name="CurrentPage">0</property> + <property name="ShowTabs">False</property> + <property name="Scrollable">True</property> <child> - <widget class="Gtk.Notebook" id="shellnotebook"> + <widget class="Gtk.EventBox" id="standalone_container"> <property name="MemberName" /> - <property name="CanFocus">True</property> - <property name="CurrentPage">0</property> - <property name="ShowTabs">False</property> - <property name="Scrollable">True</property> <child> <widget class="Gtk.ScrolledWindow" id="sw"> <property name="MemberName" /> @@ -165,17 +165,17 @@ </child> </widget> </child> - <child> - <widget class="Gtk.Label" id="label3"> - <property name="MemberName" /> - <property name="LabelProp" translatable="yes">C#</property> - </widget> - <packing> - <property name="type">tab</property> - </packing> - </child> </widget> </child> + <child> + <widget class="Gtk.Label" id="label3"> + <property name="MemberName" /> + <property name="LabelProp" translatable="yes">C#</property> + </widget> + <packing> + <property name="type">tab</property> + </packing> + </child> </widget> <packing> <property name="Position">1</property> |