~ubuntu-branches/ubuntu/karmic/gtwitter/karmic

« back to all changes in this revision

Viewing changes to gtwitter/gtk-gui/gtwitter.MainWindow.cs

  • Committer: Bazaar Package Importer
  • Author(s): Michael Janssen
  • Date: 2007-08-09 17:14:13 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20070809171413-28ppa0f2oxmr6qyt
Tags: upstream-1.0~beta
Import upstream version 1.0~beta

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    
14
14
    public partial class MainWindow {
15
15
        
 
16
        private Gtk.Action Source;
 
17
        
 
18
        private Gtk.RadioAction Friends;
 
19
        
 
20
        private Gtk.RadioAction Public;
 
21
        
 
22
        private Gtk.RadioAction Direct;
 
23
        
 
24
        private Gtk.ToggleAction TweetView;
 
25
        
16
26
        private Gtk.ScrolledWindow scrolledwindow1;
17
27
        
18
28
        private Gtk.VBox vbox1;
25
35
        
26
36
        private Gtk.HBox hbox1;
27
37
        
 
38
        private Gtk.VBox vbox3;
 
39
        
 
40
        private Gtk.EventBox UserImageEventbox;
 
41
        
28
42
        private Gtk.Image UserImage;
29
43
        
 
44
        private Gtk.Notebook TopNotebook;
 
45
        
30
46
        private Gtk.VBox vbox2;
31
47
        
32
48
        private Gtk.HBox hbox3;
35
51
        
36
52
        private Gtk.Label UserName;
37
53
        
 
54
        private Gtk.EventBox UserNEventbox;
 
55
        
38
56
        private Gtk.Label UserNLabel;
39
57
        
40
 
        private Gtk.Label UserText;
 
58
        private Gtk.Label label1;
 
59
        
 
60
        private Gtk.Table table1;
 
61
        
 
62
        private Gtk.Label DescriptionLabel;
 
63
        
 
64
        private Gtk.Label label2;
 
65
        
 
66
        private Gtk.Label label3;
 
67
        
 
68
        private Gtk.Label label4;
 
69
        
 
70
        private Gtk.Label label5;
 
71
        
 
72
        private Gtk.Label label6;
 
73
        
 
74
        private Gtk.Label LocationLabel;
 
75
        
 
76
        private Gtk.Label NameLabel;
 
77
        
 
78
        private Gtk.Label ScreenNameLabel;
 
79
        
 
80
        private Gtk.Label label7;
41
81
        
42
82
        private Gtk.Alignment alignment1;
43
83
        
53
93
        
54
94
        private Gtk.Button PreferencesButton;
55
95
        
56
 
        private Gtk.Entry PostEntry;
57
 
        
58
96
        private Gtk.Button QuitButton;
59
97
        
 
98
        private Gtk.Button AboutButton;
 
99
        
60
100
        private Gtk.Statusbar Statusbar1;
61
101
        
 
102
        private Gtk.MenuBar menubar1;
 
103
        
62
104
        private Gtk.Label StatusLabel;
63
105
        
64
106
        protected virtual void Build() {
65
107
            Stetic.Gui.Initialize();
66
108
            // Widget gtwitter.MainWindow
 
109
            Gtk.UIManager w1 = new Gtk.UIManager();
 
110
            Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
 
111
            this.Source = new Gtk.Action("Source", Mono.Unix.Catalog.GetString("Source"), Mono.Unix.Catalog.GetString("Change source"), null);
 
112
            this.Source.IsImportant = true;
 
113
            this.Source.ShortLabel = Mono.Unix.Catalog.GetString("Source");
 
114
            w2.Add(this.Source, null);
 
115
            this.Friends = new Gtk.RadioAction("Friends", Mono.Unix.Catalog.GetString("Friends"), null, null, 0);
 
116
            this.Friends.Group = new GLib.SList(System.IntPtr.Zero);
 
117
            this.Friends.IsImportant = true;
 
118
            this.Friends.ShortLabel = Mono.Unix.Catalog.GetString("Friends");
 
119
            w2.Add(this.Friends, null);
 
120
            this.Public = new Gtk.RadioAction("Public", Mono.Unix.Catalog.GetString("Public"), null, null, 0);
 
121
            this.Public.Group = this.Friends.Group;
 
122
            this.Public.ShortLabel = Mono.Unix.Catalog.GetString("Public");
 
123
            w2.Add(this.Public, null);
 
124
            this.Direct = new Gtk.RadioAction("Direct", Mono.Unix.Catalog.GetString("Direct"), null, null, 0);
 
125
            this.Direct.Group = this.Friends.Group;
 
126
            this.Direct.Sensitive = false;
 
127
            this.Direct.ShortLabel = Mono.Unix.Catalog.GetString("Direct");
 
128
            w2.Add(this.Direct, null);
 
129
            this.TweetView = new Gtk.ToggleAction("TweetView", Mono.Unix.Catalog.GetString("Tweet View"), null, null);
 
130
            this.TweetView.ShortLabel = Mono.Unix.Catalog.GetString("Tweet View");
 
131
            w2.Add(this.TweetView, null);
 
132
            w1.InsertActionGroup(w2, 0);
 
133
            this.AddAccelGroup(w1.AccelGroup);
67
134
            this.CanFocus = true;
68
135
            this.Name = "gtwitter.MainWindow";
69
136
            this.Title = Mono.Unix.Catalog.GetString("gTwitter");
75
142
            this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(2));
76
143
            this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(2));
77
144
            // Container child scrolledwindow1.Gtk.Container+ContainerChild
78
 
            Gtk.Viewport w1 = new Gtk.Viewport();
79
 
            w1.Name = "GtkViewport";
80
 
            w1.ShadowType = ((Gtk.ShadowType)(0));
 
145
            Gtk.Viewport w3 = new Gtk.Viewport();
 
146
            w3.Name = "GtkViewport";
 
147
            w3.ShadowType = ((Gtk.ShadowType)(0));
81
148
            // Container child GtkViewport.Gtk.Container+ContainerChild
82
149
            this.vbox1 = new Gtk.VBox();
83
150
            this.vbox1.Name = "vbox1";
86
153
            this.vpaned1 = new Gtk.VPaned();
87
154
            this.vpaned1.CanFocus = true;
88
155
            this.vpaned1.Name = "vpaned1";
89
 
            this.vpaned1.Position = 86;
 
156
            this.vpaned1.Position = 74;
90
157
            // Container child vpaned1.Gtk.Paned+PanedChild
91
158
            this.alignment5 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
92
159
            this.alignment5.HeightRequest = 74;
102
169
            this.scrolledwindow2.HscrollbarPolicy = ((Gtk.PolicyType)(2));
103
170
            this.scrolledwindow2.ShadowType = ((Gtk.ShadowType)(1));
104
171
            // Container child scrolledwindow2.Gtk.Container+ContainerChild
105
 
            Gtk.Viewport w2 = new Gtk.Viewport();
106
 
            w2.Name = "GtkViewport1";
107
 
            w2.ShadowType = ((Gtk.ShadowType)(0));
 
172
            Gtk.Viewport w4 = new Gtk.Viewport();
 
173
            w4.Name = "GtkViewport1";
 
174
            w4.ShadowType = ((Gtk.ShadowType)(0));
108
175
            // Container child GtkViewport1.Gtk.Container+ContainerChild
109
176
            this.hbox1 = new Gtk.HBox();
110
177
            this.hbox1.Name = "hbox1";
111
178
            this.hbox1.Spacing = 2;
112
179
            // Container child hbox1.Gtk.Box+BoxChild
 
180
            this.vbox3 = new Gtk.VBox();
 
181
            this.vbox3.Name = "vbox3";
 
182
            this.vbox3.Spacing = -6;
 
183
            // Container child vbox3.Gtk.Box+BoxChild
 
184
            this.UserImageEventbox = new Gtk.EventBox();
 
185
            this.UserImageEventbox.Name = "UserImageEventbox";
 
186
            // Container child UserImageEventbox.Gtk.Container+ContainerChild
113
187
            this.UserImage = new Gtk.Image();
 
188
            Gtk.Tooltips w5 = new Gtk.Tooltips();
 
189
            w5.SetTip(this.UserImage, "This is a tooltip !", "This is a tooltip !");
114
190
            this.UserImage.Name = "UserImage";
115
 
            this.UserImage.Xpad = 4;
116
 
            this.UserImage.Ypad = 6;
 
191
            this.UserImage.Xpad = 2;
 
192
            this.UserImage.Ypad = 4;
117
193
            this.UserImage.Yalign = 0F;
118
 
            this.UserImage.Pixbuf = Gdk.Pixbuf.LoadFromResource("gtwitter-64.png");
119
 
            this.hbox1.Add(this.UserImage);
120
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.UserImage]));
121
 
            w3.Position = 0;
122
 
            w3.Expand = false;
123
 
            w3.Fill = false;
124
 
            w3.Padding = ((uint)(2));
 
194
            this.UserImage.Pixbuf = Gdk.Pixbuf.LoadFromResource("gtwitter-48.png");
 
195
            this.UserImageEventbox.Add(this.UserImage);
 
196
            this.vbox3.Add(this.UserImageEventbox);
 
197
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.UserImageEventbox]));
 
198
            w7.Position = 0;
 
199
            w7.Expand = false;
 
200
            w7.Fill = false;
 
201
            this.hbox1.Add(this.vbox3);
 
202
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
 
203
            w8.Position = 0;
 
204
            w8.Expand = false;
 
205
            w8.Fill = false;
 
206
            w8.Padding = ((uint)(2));
125
207
            // Container child hbox1.Gtk.Box+BoxChild
 
208
            this.TopNotebook = new Gtk.Notebook();
 
209
            this.TopNotebook.Name = "TopNotebook";
 
210
            this.TopNotebook.CurrentPage = 1;
 
211
            this.TopNotebook.ShowBorder = false;
 
212
            this.TopNotebook.ShowTabs = false;
 
213
            // Container child TopNotebook.Gtk.Notebook+NotebookChild
126
214
            this.vbox2 = new Gtk.VBox();
127
215
            this.vbox2.Name = "vbox2";
128
216
            this.vbox2.Spacing = -2;
145
233
            this.UserNameButton.Add(this.UserName);
146
234
            this.UserNameButton.Label = null;
147
235
            this.hbox3.Add(this.UserNameButton);
148
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox3[this.UserNameButton]));
149
 
            w5.Position = 0;
150
 
            w5.Expand = false;
151
 
            w5.Fill = false;
 
236
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.UserNameButton]));
 
237
            w10.Position = 0;
 
238
            w10.Expand = false;
 
239
            w10.Fill = false;
152
240
            // Container child hbox3.Gtk.Box+BoxChild
 
241
            this.UserNEventbox = new Gtk.EventBox();
 
242
            this.UserNEventbox.Name = "UserNEventbox";
 
243
            // Container child UserNEventbox.Gtk.Container+ContainerChild
153
244
            this.UserNLabel = new Gtk.Label();
154
245
            this.UserNLabel.CanFocus = true;
155
246
            this.UserNLabel.Name = "UserNLabel";
157
248
            this.UserNLabel.Yalign = 0.2F;
158
249
            this.UserNLabel.LabelProp = "";
159
250
            this.UserNLabel.UseMarkup = true;
160
 
            this.UserNLabel.Selectable = true;
161
 
            this.hbox3.Add(this.UserNLabel);
162
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.UserNLabel]));
163
 
            w6.PackType = ((Gtk.PackType)(1));
164
 
            w6.Position = 1;
165
 
            w6.Expand = false;
166
 
            w6.Fill = false;
 
251
            this.UserNEventbox.Add(this.UserNLabel);
 
252
            this.hbox3.Add(this.UserNEventbox);
 
253
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox3[this.UserNEventbox]));
 
254
            w12.PackType = ((Gtk.PackType)(1));
 
255
            w12.Position = 1;
 
256
            w12.Expand = false;
 
257
            w12.Fill = false;
167
258
            this.vbox2.Add(this.hbox3);
168
 
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
169
 
            w7.Position = 0;
170
 
            w7.Expand = false;
171
 
            w7.Fill = false;
172
 
            // Container child vbox2.Gtk.Box+BoxChild
173
 
            this.UserText = new Gtk.Label();
174
 
            this.UserText.WidthRequest = 280;
175
 
            this.UserText.Name = "UserText";
176
 
            this.UserText.Xalign = 0F;
177
 
            this.UserText.Yalign = 0F;
178
 
            this.UserText.LabelProp = Mono.Unix.Catalog.GetString("<span foreground='darkblue'>Click on Preferences button to enter username and password.</span>");
179
 
            this.UserText.UseMarkup = true;
180
 
            this.UserText.Wrap = true;
181
 
            this.vbox2.Add(this.UserText);
182
 
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox2[this.UserText]));
183
 
            w8.Position = 1;
184
 
            w8.Expand = false;
185
 
            w8.Fill = false;
186
 
            this.hbox1.Add(this.vbox2);
187
 
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
188
 
            w9.Position = 1;
189
 
            w2.Add(this.hbox1);
190
 
            this.scrolledwindow2.Add(w2);
 
259
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
 
260
            w13.Position = 0;
 
261
            w13.Expand = false;
 
262
            w13.Fill = false;
 
263
            this.TopNotebook.Add(this.vbox2);
 
264
            Gtk.Notebook.NotebookChild w14 = ((Gtk.Notebook.NotebookChild)(this.TopNotebook[this.vbox2]));
 
265
            w14.TabExpand = false;
 
266
            // Notebook tab
 
267
            this.label1 = new Gtk.Label();
 
268
            this.label1.Name = "label1";
 
269
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("page1");
 
270
            this.TopNotebook.SetTabLabel(this.vbox2, this.label1);
 
271
            // Container child TopNotebook.Gtk.Notebook+NotebookChild
 
272
            this.table1 = new Gtk.Table(((uint)(5)), ((uint)(2)), false);
 
273
            this.table1.Name = "table1";
 
274
            this.table1.RowSpacing = ((uint)(0));
 
275
            this.table1.ColumnSpacing = ((uint)(6));
 
276
            // Container child table1.Gtk.Table+TableChild
 
277
            this.DescriptionLabel = new Gtk.Label();
 
278
            this.DescriptionLabel.Name = "DescriptionLabel";
 
279
            this.DescriptionLabel.Xalign = 0F;
 
280
            this.DescriptionLabel.LabelProp = "";
 
281
            this.DescriptionLabel.UseMarkup = true;
 
282
            this.table1.Add(this.DescriptionLabel);
 
283
            Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.DescriptionLabel]));
 
284
            w15.TopAttach = ((uint)(3));
 
285
            w15.BottomAttach = ((uint)(4));
 
286
            w15.LeftAttach = ((uint)(1));
 
287
            w15.RightAttach = ((uint)(2));
 
288
            w15.XOptions = ((Gtk.AttachOptions)(4));
 
289
            w15.YOptions = ((Gtk.AttachOptions)(4));
 
290
            // Container child table1.Gtk.Table+TableChild
 
291
            this.label2 = new Gtk.Label();
 
292
            this.label2.Name = "label2";
 
293
            this.label2.Xalign = 0F;
 
294
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("<b>Username:</b>");
 
295
            this.label2.UseMarkup = true;
 
296
            this.table1.Add(this.label2);
 
297
            Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
 
298
            w16.TopAttach = ((uint)(1));
 
299
            w16.BottomAttach = ((uint)(2));
 
300
            w16.XOptions = ((Gtk.AttachOptions)(4));
 
301
            w16.YOptions = ((Gtk.AttachOptions)(4));
 
302
            // Container child table1.Gtk.Table+TableChild
 
303
            this.label3 = new Gtk.Label();
 
304
            this.label3.Name = "label3";
 
305
            this.label3.Xalign = 0F;
 
306
            this.label3.LabelProp = Mono.Unix.Catalog.GetString("<b>Location:</b>");
 
307
            this.label3.UseMarkup = true;
 
308
            this.table1.Add(this.label3);
 
309
            Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
 
310
            w17.TopAttach = ((uint)(2));
 
311
            w17.BottomAttach = ((uint)(3));
 
312
            w17.XOptions = ((Gtk.AttachOptions)(4));
 
313
            w17.YOptions = ((Gtk.AttachOptions)(4));
 
314
            // Container child table1.Gtk.Table+TableChild
 
315
            this.label4 = new Gtk.Label();
 
316
            this.label4.Name = "label4";
 
317
            this.label4.Xalign = 0F;
 
318
            this.label4.LabelProp = Mono.Unix.Catalog.GetString("<b>Description:</b>");
 
319
            this.label4.UseMarkup = true;
 
320
            this.table1.Add(this.label4);
 
321
            Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
 
322
            w18.TopAttach = ((uint)(3));
 
323
            w18.BottomAttach = ((uint)(4));
 
324
            w18.XOptions = ((Gtk.AttachOptions)(4));
 
325
            w18.YOptions = ((Gtk.AttachOptions)(4));
 
326
            // Container child table1.Gtk.Table+TableChild
 
327
            this.label5 = new Gtk.Label();
 
328
            this.label5.Name = "label5";
 
329
            this.label5.Xalign = 0F;
 
330
            this.label5.LabelProp = Mono.Unix.Catalog.GetString("<b>Web:</b>");
 
331
            this.label5.UseMarkup = true;
 
332
            this.table1.Add(this.label5);
 
333
            Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.label5]));
 
334
            w19.TopAttach = ((uint)(4));
 
335
            w19.BottomAttach = ((uint)(5));
 
336
            w19.XOptions = ((Gtk.AttachOptions)(4));
 
337
            w19.YOptions = ((Gtk.AttachOptions)(4));
 
338
            // Container child table1.Gtk.Table+TableChild
 
339
            this.label6 = new Gtk.Label();
 
340
            this.label6.Name = "label6";
 
341
            this.label6.Xalign = 0F;
 
342
            this.label6.LabelProp = Mono.Unix.Catalog.GetString("<b>Name:</b>");
 
343
            this.label6.UseMarkup = true;
 
344
            this.table1.Add(this.label6);
 
345
            Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table1[this.label6]));
 
346
            w20.XOptions = ((Gtk.AttachOptions)(4));
 
347
            w20.YOptions = ((Gtk.AttachOptions)(4));
 
348
            // Container child table1.Gtk.Table+TableChild
 
349
            this.LocationLabel = new Gtk.Label();
 
350
            this.LocationLabel.Name = "LocationLabel";
 
351
            this.LocationLabel.Xalign = 0F;
 
352
            this.LocationLabel.LabelProp = "";
 
353
            this.LocationLabel.UseMarkup = true;
 
354
            this.table1.Add(this.LocationLabel);
 
355
            Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table1[this.LocationLabel]));
 
356
            w21.TopAttach = ((uint)(2));
 
357
            w21.BottomAttach = ((uint)(3));
 
358
            w21.LeftAttach = ((uint)(1));
 
359
            w21.RightAttach = ((uint)(2));
 
360
            w21.XOptions = ((Gtk.AttachOptions)(4));
 
361
            w21.YOptions = ((Gtk.AttachOptions)(4));
 
362
            // Container child table1.Gtk.Table+TableChild
 
363
            this.NameLabel = new Gtk.Label();
 
364
            this.NameLabel.Name = "NameLabel";
 
365
            this.NameLabel.Xalign = 0F;
 
366
            this.NameLabel.LabelProp = "";
 
367
            this.NameLabel.UseMarkup = true;
 
368
            this.table1.Add(this.NameLabel);
 
369
            Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table1[this.NameLabel]));
 
370
            w22.LeftAttach = ((uint)(1));
 
371
            w22.RightAttach = ((uint)(2));
 
372
            w22.XOptions = ((Gtk.AttachOptions)(4));
 
373
            w22.YOptions = ((Gtk.AttachOptions)(4));
 
374
            // Container child table1.Gtk.Table+TableChild
 
375
            this.ScreenNameLabel = new Gtk.Label();
 
376
            this.ScreenNameLabel.Name = "ScreenNameLabel";
 
377
            this.ScreenNameLabel.Xalign = 0F;
 
378
            this.ScreenNameLabel.LabelProp = "";
 
379
            this.ScreenNameLabel.UseMarkup = true;
 
380
            this.table1.Add(this.ScreenNameLabel);
 
381
            Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table1[this.ScreenNameLabel]));
 
382
            w23.TopAttach = ((uint)(1));
 
383
            w23.BottomAttach = ((uint)(2));
 
384
            w23.LeftAttach = ((uint)(1));
 
385
            w23.RightAttach = ((uint)(2));
 
386
            w23.XOptions = ((Gtk.AttachOptions)(4));
 
387
            w23.YOptions = ((Gtk.AttachOptions)(4));
 
388
            this.TopNotebook.Add(this.table1);
 
389
            Gtk.Notebook.NotebookChild w24 = ((Gtk.Notebook.NotebookChild)(this.TopNotebook[this.table1]));
 
390
            w24.Position = 1;
 
391
            w24.TabExpand = false;
 
392
            w24.TabFill = false;
 
393
            // Notebook tab
 
394
            this.label7 = new Gtk.Label();
 
395
            this.label7.Name = "label7";
 
396
            this.label7.LabelProp = Mono.Unix.Catalog.GetString("page2");
 
397
            this.TopNotebook.SetTabLabel(this.table1, this.label7);
 
398
            this.hbox1.Add(this.TopNotebook);
 
399
            Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.hbox1[this.TopNotebook]));
 
400
            w25.Position = 1;
 
401
            w4.Add(this.hbox1);
 
402
            this.scrolledwindow2.Add(w4);
191
403
            this.alignment5.Add(this.scrolledwindow2);
192
404
            this.vpaned1.Add(this.alignment5);
193
 
            Gtk.Paned.PanedChild w13 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.alignment5]));
194
 
            w13.Resize = false;
195
 
            w13.Shrink = false;
 
405
            Gtk.Paned.PanedChild w29 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.alignment5]));
 
406
            w29.Resize = false;
 
407
            w29.Shrink = false;
196
408
            // Container child vpaned1.Gtk.Paned+PanedChild
197
409
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
198
410
            this.alignment1.HeightRequest = 100;
213
425
            this.Treeview1.Name = "Treeview1";
214
426
            this.Treeview1.EnableSearch = false;
215
427
            this.Treeview1.HeadersVisible = false;
216
 
            this.Treeview1.RulesHint = true;
217
428
            this.scrolledwindow3.Add(this.Treeview1);
218
429
            this.alignment1.Add(this.scrolledwindow3);
219
430
            this.vpaned1.Add(this.alignment1);
220
 
            Gtk.Paned.PanedChild w16 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.alignment1]));
221
 
            w16.Shrink = false;
 
431
            Gtk.Paned.PanedChild w32 = ((Gtk.Paned.PanedChild)(this.vpaned1[this.alignment1]));
 
432
            w32.Shrink = false;
222
433
            this.vbox1.Add(this.vpaned1);
223
 
            Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox1[this.vpaned1]));
224
 
            w17.Position = 0;
 
434
            Gtk.Box.BoxChild w33 = ((Gtk.Box.BoxChild)(this.vbox1[this.vpaned1]));
 
435
            w33.Position = 0;
225
436
            // Container child vbox1.Gtk.Box+BoxChild
226
437
            this.alignment3 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
227
438
            this.alignment3.Name = "alignment3";
228
 
            this.alignment3.LeftPadding = ((uint)(6));
 
439
            this.alignment3.LeftPadding = ((uint)(4));
229
440
            this.alignment3.RightPadding = ((uint)(6));
230
441
            // Container child alignment3.Gtk.Container+ContainerChild
231
442
            this.hbox2 = new Gtk.HBox();
232
443
            this.hbox2.Name = "hbox2";
233
 
            this.hbox2.Spacing = 2;
234
444
            // Container child hbox2.Gtk.Box+BoxChild
235
445
            this.RefreshButton = new Gtk.Button();
236
 
            Gtk.Tooltips w18 = new Gtk.Tooltips();
237
 
            w18.SetTip(this.RefreshButton, "Refresh", "Refresh");
 
446
            w5.SetTip(this.RefreshButton, "Refresh", "Refresh");
238
447
            this.RefreshButton.Sensitive = false;
239
448
            this.RefreshButton.CanFocus = true;
240
449
            this.RefreshButton.Name = "RefreshButton";
241
450
            this.RefreshButton.Relief = ((Gtk.ReliefStyle)(2));
242
451
            // Container child RefreshButton.Gtk.Container+ContainerChild
243
 
            Gtk.Alignment w19 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
244
 
            w19.Name = "GtkAlignment";
 
452
            Gtk.Alignment w34 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
453
            w34.Name = "GtkAlignment";
245
454
            // Container child GtkAlignment.Gtk.Container+ContainerChild
246
 
            Gtk.HBox w20 = new Gtk.HBox();
247
 
            w20.Name = "GtkHBox";
248
 
            w20.Spacing = 2;
249
 
            // Container child GtkHBox.Gtk.Container+ContainerChild
250
 
            Gtk.Image w21 = new Gtk.Image();
251
 
            w21.Name = "image15";
252
 
            w21.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-refresh", 16, 0);
253
 
            w20.Add(w21);
254
 
            // Container child GtkHBox.Gtk.Container+ContainerChild
255
 
            Gtk.Label w23 = new Gtk.Label();
256
 
            w23.Name = "GtkLabel";
257
 
            w23.LabelProp = "";
258
 
            w20.Add(w23);
259
 
            w19.Add(w20);
260
 
            this.RefreshButton.Add(w19);
 
455
            Gtk.HBox w35 = new Gtk.HBox();
 
456
            w35.Name = "GtkHBox";
 
457
            w35.Spacing = 2;
 
458
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
459
            Gtk.Image w36 = new Gtk.Image();
 
460
            w36.Name = "image69";
 
461
            w36.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-refresh", 16);
 
462
            w35.Add(w36);
 
463
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
464
            Gtk.Label w38 = new Gtk.Label();
 
465
            w38.Name = "GtkLabel";
 
466
            w38.LabelProp = "";
 
467
            w35.Add(w38);
 
468
            w34.Add(w35);
 
469
            this.RefreshButton.Add(w34);
261
470
            this.hbox2.Add(this.RefreshButton);
262
 
            Gtk.Box.BoxChild w27 = ((Gtk.Box.BoxChild)(this.hbox2[this.RefreshButton]));
263
 
            w27.Position = 0;
264
 
            w27.Expand = false;
265
 
            w27.Fill = false;
 
471
            Gtk.Box.BoxChild w42 = ((Gtk.Box.BoxChild)(this.hbox2[this.RefreshButton]));
 
472
            w42.Position = 0;
 
473
            w42.Expand = false;
 
474
            w42.Fill = false;
266
475
            // Container child hbox2.Gtk.Box+BoxChild
267
476
            this.PreferencesButton = new Gtk.Button();
268
 
            w18.SetTip(this.PreferencesButton, "Open Preferences dialog", "Open Preferences dialog");
269
477
            this.PreferencesButton.CanFocus = true;
270
478
            this.PreferencesButton.Name = "PreferencesButton";
271
479
            this.PreferencesButton.Relief = ((Gtk.ReliefStyle)(2));
272
480
            // Container child PreferencesButton.Gtk.Container+ContainerChild
273
 
            Gtk.Alignment w28 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
274
 
            w28.Name = "GtkAlignment1";
 
481
            Gtk.Alignment w43 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
482
            w43.Name = "GtkAlignment1";
275
483
            // Container child GtkAlignment1.Gtk.Container+ContainerChild
276
 
            Gtk.HBox w29 = new Gtk.HBox();
277
 
            w29.Name = "GtkHBox1";
278
 
            w29.Spacing = 2;
279
 
            // Container child GtkHBox1.Gtk.Container+ContainerChild
280
 
            Gtk.Image w30 = new Gtk.Image();
281
 
            w30.Name = "image16";
282
 
            w30.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-preferences", 16, 0);
283
 
            w29.Add(w30);
284
 
            // Container child GtkHBox1.Gtk.Container+ContainerChild
285
 
            Gtk.Label w32 = new Gtk.Label();
286
 
            w32.Name = "GtkLabel1";
287
 
            w32.LabelProp = "";
288
 
            w29.Add(w32);
289
 
            w28.Add(w29);
290
 
            this.PreferencesButton.Add(w28);
 
484
            Gtk.HBox w44 = new Gtk.HBox();
 
485
            w44.Name = "GtkHBox1";
 
486
            w44.Spacing = 2;
 
487
            // Container child GtkHBox1.Gtk.Container+ContainerChild
 
488
            Gtk.Image w45 = new Gtk.Image();
 
489
            w45.Name = "image70";
 
490
            w45.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-preferences", 16);
 
491
            w44.Add(w45);
 
492
            // Container child GtkHBox1.Gtk.Container+ContainerChild
 
493
            Gtk.Label w47 = new Gtk.Label();
 
494
            w47.Name = "GtkLabel1";
 
495
            w47.LabelProp = "";
 
496
            w44.Add(w47);
 
497
            w43.Add(w44);
 
498
            this.PreferencesButton.Add(w43);
291
499
            this.hbox2.Add(this.PreferencesButton);
292
 
            Gtk.Box.BoxChild w36 = ((Gtk.Box.BoxChild)(this.hbox2[this.PreferencesButton]));
293
 
            w36.Position = 1;
294
 
            w36.Expand = false;
295
 
            w36.Fill = false;
296
 
            // Container child hbox2.Gtk.Box+BoxChild
297
 
            this.PostEntry = new Gtk.Entry();
298
 
            w18.SetTip(this.PostEntry, "Enter text to post", "Enter text to post");
299
 
            this.PostEntry.Sensitive = false;
300
 
            this.PostEntry.CanFocus = true;
301
 
            this.PostEntry.Name = "PostEntry";
302
 
            this.PostEntry.Text = Mono.Unix.Catalog.GetString("What are you doing?");
303
 
            this.PostEntry.IsEditable = true;
304
 
            this.PostEntry.MaxLength = 140;
305
 
            this.PostEntry.InvisibleChar = '•';
306
 
            this.hbox2.Add(this.PostEntry);
307
 
            Gtk.Box.BoxChild w37 = ((Gtk.Box.BoxChild)(this.hbox2[this.PostEntry]));
308
 
            w37.Position = 2;
 
500
            Gtk.Box.BoxChild w51 = ((Gtk.Box.BoxChild)(this.hbox2[this.PreferencesButton]));
 
501
            w51.Position = 1;
 
502
            w51.Expand = false;
 
503
            w51.Fill = false;
309
504
            // Container child hbox2.Gtk.Box+BoxChild
310
505
            this.QuitButton = new Gtk.Button();
311
 
            w18.SetTip(this.QuitButton, "Quit", "Quit");
 
506
            w5.SetTip(this.QuitButton, "Quit", "Quit");
312
507
            this.QuitButton.CanFocus = true;
313
508
            this.QuitButton.Name = "QuitButton";
314
509
            this.QuitButton.Relief = ((Gtk.ReliefStyle)(2));
315
510
            // Container child QuitButton.Gtk.Container+ContainerChild
316
 
            Gtk.Alignment w38 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
317
 
            w38.Name = "GtkAlignment2";
 
511
            Gtk.Alignment w52 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
512
            w52.Name = "GtkAlignment3";
 
513
            // Container child GtkAlignment3.Gtk.Container+ContainerChild
 
514
            Gtk.HBox w53 = new Gtk.HBox();
 
515
            w53.Name = "GtkHBox3";
 
516
            w53.Spacing = 2;
 
517
            // Container child GtkHBox3.Gtk.Container+ContainerChild
 
518
            Gtk.Image w54 = new Gtk.Image();
 
519
            w54.Name = "image71";
 
520
            w54.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-quit", 16);
 
521
            w53.Add(w54);
 
522
            // Container child GtkHBox3.Gtk.Container+ContainerChild
 
523
            Gtk.Label w56 = new Gtk.Label();
 
524
            w56.Name = "GtkLabel3";
 
525
            w56.LabelProp = "";
 
526
            w53.Add(w56);
 
527
            w52.Add(w53);
 
528
            this.QuitButton.Add(w52);
 
529
            this.hbox2.Add(this.QuitButton);
 
530
            Gtk.Box.BoxChild w60 = ((Gtk.Box.BoxChild)(this.hbox2[this.QuitButton]));
 
531
            w60.PackType = ((Gtk.PackType)(1));
 
532
            w60.Position = 3;
 
533
            w60.Expand = false;
 
534
            w60.Fill = false;
 
535
            // Container child hbox2.Gtk.Box+BoxChild
 
536
            this.AboutButton = new Gtk.Button();
 
537
            this.AboutButton.CanFocus = true;
 
538
            this.AboutButton.Name = "AboutButton";
 
539
            this.AboutButton.UseUnderline = true;
 
540
            this.AboutButton.Relief = ((Gtk.ReliefStyle)(2));
 
541
            // Container child AboutButton.Gtk.Container+ContainerChild
 
542
            Gtk.Alignment w61 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
543
            w61.Name = "GtkAlignment2";
318
544
            // Container child GtkAlignment2.Gtk.Container+ContainerChild
319
 
            Gtk.HBox w39 = new Gtk.HBox();
320
 
            w39.Name = "GtkHBox2";
321
 
            w39.Spacing = 2;
322
 
            // Container child GtkHBox2.Gtk.Container+ContainerChild
323
 
            Gtk.Image w40 = new Gtk.Image();
324
 
            w40.Name = "image17";
325
 
            w40.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-quit", 16, 0);
326
 
            w39.Add(w40);
327
 
            // Container child GtkHBox2.Gtk.Container+ContainerChild
328
 
            Gtk.Label w42 = new Gtk.Label();
329
 
            w42.Name = "GtkLabel2";
330
 
            w42.LabelProp = "";
331
 
            w39.Add(w42);
332
 
            w38.Add(w39);
333
 
            this.QuitButton.Add(w38);
334
 
            this.hbox2.Add(this.QuitButton);
335
 
            Gtk.Box.BoxChild w46 = ((Gtk.Box.BoxChild)(this.hbox2[this.QuitButton]));
336
 
            w46.Position = 3;
337
 
            w46.Expand = false;
338
 
            w46.Fill = false;
 
545
            Gtk.HBox w62 = new Gtk.HBox();
 
546
            w62.Name = "GtkHBox2";
 
547
            w62.Spacing = 2;
 
548
            // Container child GtkHBox2.Gtk.Container+ContainerChild
 
549
            Gtk.Image w63 = new Gtk.Image();
 
550
            w63.Name = "image72";
 
551
            w63.Pixbuf = Stetic.IconLoader.LoadIcon("gtk-about", 16);
 
552
            w62.Add(w63);
 
553
            // Container child GtkHBox2.Gtk.Container+ContainerChild
 
554
            Gtk.Label w65 = new Gtk.Label();
 
555
            w65.Name = "GtkLabel2";
 
556
            w65.LabelProp = "";
 
557
            w62.Add(w65);
 
558
            w61.Add(w62);
 
559
            this.AboutButton.Add(w61);
 
560
            this.hbox2.Add(this.AboutButton);
 
561
            Gtk.Box.BoxChild w69 = ((Gtk.Box.BoxChild)(this.hbox2[this.AboutButton]));
 
562
            w69.PackType = ((Gtk.PackType)(1));
 
563
            w69.Position = 4;
 
564
            w69.Expand = false;
 
565
            w69.Fill = false;
339
566
            this.alignment3.Add(this.hbox2);
340
567
            this.vbox1.Add(this.alignment3);
341
 
            Gtk.Box.BoxChild w48 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment3]));
342
 
            w48.Position = 1;
343
 
            w48.Expand = false;
344
 
            w48.Fill = false;
 
568
            Gtk.Box.BoxChild w71 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment3]));
 
569
            w71.Position = 1;
 
570
            w71.Expand = false;
 
571
            w71.Fill = false;
345
572
            // Container child vbox1.Gtk.Box+BoxChild
346
573
            this.Statusbar1 = new Gtk.Statusbar();
347
574
            this.Statusbar1.WidthRequest = 10;
348
575
            this.Statusbar1.Name = "Statusbar1";
349
576
            this.Statusbar1.Spacing = 2;
350
577
            // Container child Statusbar1.Gtk.Box+BoxChild
 
578
            w1.AddUiFromString("<ui><menubar name='menubar1'><menu action='Source'><menuitem action='Friends'/><menuitem action='Public'/><menuitem action='Direct'/><separator/><menuitem action='TweetView'/></menu></menubar></ui>");
 
579
            this.menubar1 = ((Gtk.MenuBar)(w1.GetWidget("/menubar1")));
 
580
            this.menubar1.WidthRequest = 53;
 
581
            this.menubar1.Name = "menubar1";
 
582
            this.Statusbar1.Add(this.menubar1);
 
583
            Gtk.Box.BoxChild w72 = ((Gtk.Box.BoxChild)(this.Statusbar1[this.menubar1]));
 
584
            w72.Position = 0;
 
585
            w72.Expand = false;
 
586
            w72.Fill = false;
 
587
            // Container child Statusbar1.Gtk.Box+BoxChild
351
588
            this.StatusLabel = new Gtk.Label();
352
589
            this.StatusLabel.Name = "StatusLabel";
353
590
            this.StatusLabel.LabelProp = Mono.Unix.Catalog.GetString("<span foreground='gray'>140</span>");
354
591
            this.StatusLabel.UseMarkup = true;
355
592
            this.Statusbar1.Add(this.StatusLabel);
356
 
            Gtk.Box.BoxChild w49 = ((Gtk.Box.BoxChild)(this.Statusbar1[this.StatusLabel]));
357
 
            w49.Position = 1;
358
 
            w49.Expand = false;
359
 
            w49.Fill = false;
 
593
            Gtk.Box.BoxChild w73 = ((Gtk.Box.BoxChild)(this.Statusbar1[this.StatusLabel]));
 
594
            w73.Position = 2;
 
595
            w73.Expand = false;
 
596
            w73.Fill = false;
360
597
            this.vbox1.Add(this.Statusbar1);
361
 
            Gtk.Box.BoxChild w50 = ((Gtk.Box.BoxChild)(this.vbox1[this.Statusbar1]));
362
 
            w50.PackType = ((Gtk.PackType)(1));
363
 
            w50.Position = 2;
364
 
            w50.Expand = false;
365
 
            w50.Fill = false;
366
 
            w1.Add(this.vbox1);
367
 
            this.scrolledwindow1.Add(w1);
 
598
            Gtk.Box.BoxChild w74 = ((Gtk.Box.BoxChild)(this.vbox1[this.Statusbar1]));
 
599
            w74.PackType = ((Gtk.PackType)(1));
 
600
            w74.Position = 2;
 
601
            w74.Expand = false;
 
602
            w74.Fill = false;
 
603
            w3.Add(this.vbox1);
 
604
            this.scrolledwindow1.Add(w3);
368
605
            this.Add(this.scrolledwindow1);
369
606
            if ((this.Child != null)) {
370
607
                this.Child.ShowAll();
371
608
            }
372
609
            this.DefaultWidth = 396;
373
610
            this.DefaultHeight = 338;
374
 
            this.Hide();
375
611
            this.Show();
376
612
            this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
377
 
            this.ExposeEvent += new Gtk.ExposeEventHandler(this.OnExposeEvent);
 
613
            this.FocusInEvent += new Gtk.FocusInEventHandler(this.OnFocusInEvent);
 
614
            this.Friends.Activated += new System.EventHandler(this.OnFriendsActivated);
 
615
            this.Public.Activated += new System.EventHandler(this.OnPublicActivated);
 
616
            this.Direct.Activated += new System.EventHandler(this.OnDirectActivated);
 
617
            this.TweetView.Activated += new System.EventHandler(this.OnTweetViewActivated);
 
618
            this.UserImageEventbox.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnEventbox1ButtonPressEvent);
378
619
            this.UserNameButton.Clicked += new System.EventHandler(this.OnUserNameButtonClicked);
 
620
            this.UserNEventbox.ButtonPressEvent += new Gtk.ButtonPressEventHandler(this.OnUserNEventboxButtonPressEvent);
379
621
            this.Treeview1.CursorChanged += new System.EventHandler(this.OnTreeview1CursorChanged);
380
622
            this.RefreshButton.Clicked += new System.EventHandler(this.OnRefreshButtonClicked);
381
623
            this.PreferencesButton.Clicked += new System.EventHandler(this.OnPreferencesButtonClicked);
382
 
            this.PostEntry.Activated += new System.EventHandler(this.OnPostEntryActivated);
383
 
            this.PostEntry.FocusOutEvent += new Gtk.FocusOutEventHandler(this.OnPostEntryFocusOutEvent);
384
 
            this.PostEntry.FocusInEvent += new Gtk.FocusInEventHandler(this.OnPostEntryFocusInEvent);
385
 
            this.PostEntry.Changed += new System.EventHandler(this.OnPostEntryChanged);
386
624
            this.QuitButton.Clicked += new System.EventHandler(this.OnQuitButtonClicked);
387
625
        }
388
626
    }