~ubuntu-branches/ubuntu/lucid/monodevelop/lucid

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.AssemblyBrowser/gtk-gui/MonoDevelop.AssemblyBrowser.AssemblyBrowserWidget.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-01-10 14:25:59 UTC
  • mfrom: (1.2.5 upstream) (1.3.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100110142559-sorji5exvk9tyknr
Tags: 2.2+dfsg-2
* debian/rules/remove_support_for_non_debian_functionality.patch:
  + Also fix monodevelop-core-addins.pc to remove links to the
    addins we remove in Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
namespace MonoDevelop.AssemblyBrowser {
12
12
    
13
 
    
14
13
    internal partial class AssemblyBrowserWidget {
15
14
        
16
15
        private Gtk.UIManager UIManager;
21
20
        
22
21
        private Gtk.VBox vbox1;
23
22
        
 
23
        private Gtk.HPaned hpaned1;
 
24
        
 
25
        private Gtk.VBox vbox2;
 
26
        
24
27
        private Gtk.Toolbar toolbar1;
25
28
        
26
 
        private Gtk.HPaned hpaned1;
27
 
        
28
29
        private Gtk.ScrolledWindow scrolledwindow2;
29
30
        
30
31
        private Gtk.Notebook notebook1;
78
79
            this.vbox1.Name = "vbox1";
79
80
            this.vbox1.Spacing = 6;
80
81
            // Container child vbox1.Gtk.Box+BoxChild
 
82
            this.hpaned1 = new Gtk.HPaned();
 
83
            this.hpaned1.CanFocus = true;
 
84
            this.hpaned1.Name = "hpaned1";
 
85
            this.hpaned1.Position = 185;
 
86
            // Container child hpaned1.Gtk.Paned+PanedChild
 
87
            this.vbox2 = new Gtk.VBox();
 
88
            this.vbox2.Name = "vbox2";
 
89
            this.vbox2.Spacing = 6;
 
90
            // Container child vbox2.Gtk.Box+BoxChild
81
91
            this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='NavigateBackwardAction' action='NavigateBackwardAction'/><toolitem name='NavigateForwardAction' action='NavigateForwardAction'/></toolbar></ui>");
82
92
            this.toolbar1 = ((Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
83
93
            this.toolbar1.Name = "toolbar1";
84
94
            this.toolbar1.ShowArrow = false;
85
95
            this.toolbar1.ToolbarStyle = ((Gtk.ToolbarStyle)(0));
86
96
            this.toolbar1.IconSize = ((Gtk.IconSize)(1));
87
 
            this.vbox1.Add(this.toolbar1);
88
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
 
97
            this.vbox2.Add(this.toolbar1);
 
98
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
89
99
            w3.Position = 0;
90
100
            w3.Expand = false;
91
101
            w3.Fill = false;
92
 
            // Container child vbox1.Gtk.Box+BoxChild
93
 
            this.hpaned1 = new Gtk.HPaned();
94
 
            this.hpaned1.CanFocus = true;
95
 
            this.hpaned1.Name = "hpaned1";
96
 
            this.hpaned1.Position = 185;
97
 
            // Container child hpaned1.Gtk.Paned+PanedChild
 
102
            // Container child vbox2.Gtk.Box+BoxChild
98
103
            this.scrolledwindow2 = new Gtk.ScrolledWindow();
99
104
            this.scrolledwindow2.CanFocus = true;
100
105
            this.scrolledwindow2.Name = "scrolledwindow2";
101
106
            this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
102
 
            this.hpaned1.Add(this.scrolledwindow2);
103
 
            Gtk.Paned.PanedChild w4 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow2]));
104
 
            w4.Resize = false;
 
107
            this.vbox2.Add(this.scrolledwindow2);
 
108
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow2]));
 
109
            w4.Position = 1;
 
110
            this.hpaned1.Add(this.vbox2);
 
111
            Gtk.Paned.PanedChild w5 = ((Gtk.Paned.PanedChild)(this.hpaned1[this.vbox2]));
 
112
            w5.Resize = false;
105
113
            // Container child hpaned1.Gtk.Paned+PanedChild
106
114
            this.notebook1 = new Gtk.Notebook();
107
115
            this.notebook1.CanFocus = true;
112
120
            this.documentationScrolledWindow.Name = "documentationScrolledWindow";
113
121
            this.documentationScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
114
122
            // Container child documentationScrolledWindow.Gtk.Container+ContainerChild
115
 
            Gtk.Viewport w5 = new Gtk.Viewport();
116
 
            w5.ShadowType = ((Gtk.ShadowType)(0));
 
123
            Gtk.Viewport w6 = new Gtk.Viewport();
 
124
            w6.ShadowType = ((Gtk.ShadowType)(0));
117
125
            // Container child GtkViewport.Gtk.Container+ContainerChild
118
126
            this.documentationLabel = new Gtk.Label();
119
127
            this.documentationLabel.Name = "documentationLabel";
123
131
            this.documentationLabel.Yalign = 0F;
124
132
            this.documentationLabel.UseMarkup = true;
125
133
            this.documentationLabel.Selectable = true;
126
 
            w5.Add(this.documentationLabel);
127
 
            this.documentationScrolledWindow.Add(w5);
 
134
            w6.Add(this.documentationLabel);
 
135
            this.documentationScrolledWindow.Add(w6);
128
136
            this.notebook1.Add(this.documentationScrolledWindow);
129
137
            // Container child notebook1.Gtk.Notebook+NotebookChild
130
138
            this.vboxInspect = new Gtk.VBox();
139
147
            this.label1.Name = "label1";
140
148
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Language:");
141
149
            this.hbox2.Add(this.label1);
142
 
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
143
 
            w9.Position = 0;
144
 
            w9.Expand = false;
145
 
            w9.Fill = false;
 
150
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
 
151
            w10.Position = 0;
 
152
            w10.Expand = false;
 
153
            w10.Fill = false;
146
154
            // Container child hbox2.Gtk.Box+BoxChild
147
155
            this.languageCombobox = Gtk.ComboBox.NewText();
148
156
            this.languageCombobox.Name = "languageCombobox";
149
157
            this.hbox2.Add(this.languageCombobox);
150
 
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox2[this.languageCombobox]));
151
 
            w10.Position = 1;
 
158
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox2[this.languageCombobox]));
 
159
            w11.Position = 1;
152
160
            this.vboxInspect.Add(this.hbox2);
153
 
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vboxInspect[this.hbox2]));
154
 
            w11.Position = 0;
155
 
            w11.Expand = false;
156
 
            w11.Fill = false;
 
161
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vboxInspect[this.hbox2]));
 
162
            w12.Position = 0;
 
163
            w12.Expand = false;
 
164
            w12.Fill = false;
157
165
            // Container child vboxInspect.Gtk.Box+BoxChild
158
166
            this.scrolledwindow3 = new Gtk.ScrolledWindow();
159
167
            this.scrolledwindow3.CanFocus = true;
160
168
            this.scrolledwindow3.Name = "scrolledwindow3";
161
169
            this.scrolledwindow3.ShadowType = ((Gtk.ShadowType)(1));
162
170
            this.vboxInspect.Add(this.scrolledwindow3);
163
 
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vboxInspect[this.scrolledwindow3]));
164
 
            w12.Position = 1;
 
171
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vboxInspect[this.scrolledwindow3]));
 
172
            w13.Position = 1;
165
173
            this.notebook1.Add(this.vboxInspect);
166
 
            Gtk.Notebook.NotebookChild w13 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxInspect]));
167
 
            w13.Position = 1;
 
174
            Gtk.Notebook.NotebookChild w14 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.vboxInspect]));
 
175
            w14.Position = 1;
168
176
            // Container child notebook1.Gtk.Notebook+NotebookChild
169
177
            this.searchWidget = new Gtk.VBox();
170
178
            this.searchWidget.Name = "searchWidget";
179
187
            this.label4.LabelProp = Mono.Unix.Catalog.GetString("_Search:");
180
188
            this.label4.UseUnderline = true;
181
189
            this.hbox1.Add(this.label4);
182
 
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox1[this.label4]));
183
 
            w14.Position = 0;
184
 
            w14.Expand = false;
185
 
            w14.Fill = false;
 
190
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox1[this.label4]));
 
191
            w15.Position = 0;
 
192
            w15.Expand = false;
 
193
            w15.Fill = false;
186
194
            // Container child hbox1.Gtk.Box+BoxChild
187
195
            this.searchEntry = new Gtk.Entry();
188
196
            this.searchEntry.CanFocus = true;
190
198
            this.searchEntry.IsEditable = true;
191
199
            this.searchEntry.InvisibleChar = '●';
192
200
            this.hbox1.Add(this.searchEntry);
193
 
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox1[this.searchEntry]));
194
 
            w15.Position = 1;
 
201
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.searchEntry]));
 
202
            w16.Position = 1;
195
203
            // Container child hbox1.Gtk.Box+BoxChild
196
204
            this.label5 = new Gtk.Label();
197
205
            this.label5.Name = "label5";
198
206
            this.label5.LabelProp = Mono.Unix.Catalog.GetString("_in:");
199
207
            this.label5.UseUnderline = true;
200
208
            this.hbox1.Add(this.label5);
201
 
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.label5]));
202
 
            w16.Position = 2;
203
 
            w16.Expand = false;
204
 
            w16.Fill = false;
 
209
            Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox1[this.label5]));
 
210
            w17.Position = 2;
 
211
            w17.Expand = false;
 
212
            w17.Fill = false;
205
213
            // Container child hbox1.Gtk.Box+BoxChild
206
214
            this.searchInCombobox = Gtk.ComboBox.NewText();
207
215
            this.searchInCombobox.Name = "searchInCombobox";
208
216
            this.hbox1.Add(this.searchInCombobox);
209
 
            Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox1[this.searchInCombobox]));
210
 
            w17.Position = 3;
211
 
            w17.Expand = false;
212
 
            w17.Fill = false;
213
 
            this.searchWidget.Add(this.hbox1);
214
 
            Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.searchWidget[this.hbox1]));
215
 
            w18.Position = 0;
 
217
            Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox1[this.searchInCombobox]));
 
218
            w18.Position = 3;
216
219
            w18.Expand = false;
217
220
            w18.Fill = false;
 
221
            this.searchWidget.Add(this.hbox1);
 
222
            Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.searchWidget[this.hbox1]));
 
223
            w19.Position = 0;
 
224
            w19.Expand = false;
 
225
            w19.Fill = false;
218
226
            // Container child searchWidget.Gtk.Box+BoxChild
219
227
            this.scrolledwindow1 = new Gtk.ScrolledWindow();
220
228
            this.scrolledwindow1.CanFocus = true;
226
234
            this.searchTreeview.Name = "searchTreeview";
227
235
            this.scrolledwindow1.Add(this.searchTreeview);
228
236
            this.searchWidget.Add(this.scrolledwindow1);
229
 
            Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.searchWidget[this.scrolledwindow1]));
230
 
            w20.Position = 1;
 
237
            Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.searchWidget[this.scrolledwindow1]));
 
238
            w21.Position = 1;
231
239
            this.notebook1.Add(this.searchWidget);
232
 
            Gtk.Notebook.NotebookChild w21 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.searchWidget]));
233
 
            w21.Position = 2;
 
240
            Gtk.Notebook.NotebookChild w22 = ((Gtk.Notebook.NotebookChild)(this.notebook1[this.searchWidget]));
 
241
            w22.Position = 2;
234
242
            this.hpaned1.Add(this.notebook1);
235
243
            this.vbox1.Add(this.hpaned1);
236
 
            Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
237
 
            w23.Position = 1;
 
244
            Gtk.Box.BoxChild w24 = ((Gtk.Box.BoxChild)(this.vbox1[this.hpaned1]));
 
245
            w24.Position = 0;
238
246
            this.Add(this.vbox1);
239
247
            if ((this.Child != null)) {
240
248
                this.Child.ShowAll();