~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        internal partial class TipOfTheDayWindow
6
6
        {
7
7
                private global::Gtk.VBox vbox2;
8
 
 
9
8
                private global::Gtk.VBox vbox3;
10
 
 
11
9
                private global::Gtk.HBox hbox7;
12
 
 
13
10
                private global::Gtk.Image image5;
14
 
 
15
11
                private global::Gtk.Label categoryLabel;
16
 
 
17
12
                private global::Gtk.ScrolledWindow scrolledwindow2;
18
 
 
19
13
                private global::Gtk.TextView tipTextview;
20
 
 
21
14
                private global::Gtk.HBox hbox5;
22
 
 
23
15
                private global::Gtk.CheckButton noshowCheckbutton;
24
 
 
25
16
                private global::Gtk.HButtonBox hbuttonbox1;
26
 
 
27
17
                private global::Gtk.Button nextButton;
28
 
 
29
18
                private global::Gtk.Button closeButton;
30
19
 
31
20
                protected virtual void Build ()
52
41
                        // Container child hbox7.Gtk.Box+BoxChild
53
42
                        this.image5 = new global::Gtk.Image ();
54
43
                        this.image5.Name = "image5";
55
 
                        this.image5.Xalign = 0f;
56
 
                        this.image5.Yalign = 0f;
 
44
                        this.image5.Xalign = 0F;
 
45
                        this.image5.Yalign = 0F;
57
46
                        this.image5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-info", global::Gtk.IconSize.Dialog);
58
47
                        this.hbox7.Add (this.image5);
59
 
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.image5]));
 
48
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.image5]));
60
49
                        w1.Position = 0;
61
50
                        w1.Expand = false;
62
51
                        // Container child hbox7.Gtk.Box+BoxChild
63
52
                        this.categoryLabel = new global::Gtk.Label ();
64
53
                        this.categoryLabel.Name = "categoryLabel";
65
 
                        this.categoryLabel.Xalign = 0f;
 
54
                        this.categoryLabel.Xalign = 0F;
66
55
                        this.categoryLabel.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Did you know...?");
67
56
                        this.categoryLabel.UseMarkup = true;
68
57
                        this.categoryLabel.Wrap = true;
69
58
                        this.hbox7.Add (this.categoryLabel);
70
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.categoryLabel]));
 
59
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.categoryLabel]));
71
60
                        w2.Position = 1;
72
61
                        w2.Expand = false;
73
62
                        w2.Fill = false;
74
63
                        this.vbox3.Add (this.hbox7);
75
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox7]));
 
64
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox7]));
76
65
                        w3.Position = 0;
77
66
                        w3.Expand = false;
78
67
                        // Container child vbox3.Gtk.Box+BoxChild
88
77
                        this.tipTextview.WrapMode = ((global::Gtk.WrapMode)(2));
89
78
                        this.scrolledwindow2.Add (this.tipTextview);
90
79
                        this.vbox3.Add (this.scrolledwindow2);
91
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow2]));
 
80
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrolledwindow2]));
92
81
                        w5.Position = 1;
93
82
                        this.vbox2.Add (this.vbox3);
94
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.vbox3]));
 
83
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3]));
95
84
                        w6.Position = 0;
96
85
                        // Container child vbox2.Gtk.Box+BoxChild
97
86
                        this.hbox5 = new global::Gtk.HBox ();
105
94
                        this.noshowCheckbutton.DrawIndicator = true;
106
95
                        this.noshowCheckbutton.UseUnderline = true;
107
96
                        this.hbox5.Add (this.noshowCheckbutton);
108
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.noshowCheckbutton]));
 
97
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.noshowCheckbutton]));
109
98
                        w7.Position = 0;
110
99
                        w7.Expand = false;
111
100
                        w7.Fill = false;
112
101
                        // Container child hbox5.Gtk.Box+BoxChild
113
102
                        this.hbuttonbox1 = new global::Gtk.HButtonBox ();
 
103
                        this.hbuttonbox1.Name = "hbuttonbox1";
114
104
                        this.hbuttonbox1.Spacing = 10;
115
105
                        this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
116
106
                        // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
118
108
                        this.nextButton.Name = "nextButton";
119
109
                        this.nextButton.UseUnderline = true;
120
110
                        // Container child nextButton.Gtk.Container+ContainerChild
121
 
                        global::Gtk.Alignment w8 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
 
111
                        global::Gtk.Alignment w8 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
122
112
                        // Container child GtkAlignment.Gtk.Container+ContainerChild
123
113
                        global::Gtk.HBox w9 = new global::Gtk.HBox ();
124
114
                        w9.Spacing = 2;
134
124
                        w8.Add (w9);
135
125
                        this.nextButton.Add (w8);
136
126
                        this.hbuttonbox1.Add (this.nextButton);
137
 
                        global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.nextButton]));
 
127
                        global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.nextButton]));
138
128
                        w16.Expand = false;
139
129
                        w16.Fill = false;
140
130
                        // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
145
135
                        this.closeButton.UseUnderline = true;
146
136
                        this.closeButton.Label = "gtk-close";
147
137
                        this.hbuttonbox1.Add (this.closeButton);
148
 
                        global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.closeButton]));
 
138
                        global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.closeButton]));
149
139
                        w17.Position = 1;
150
140
                        w17.Expand = false;
151
141
                        w17.Fill = false;
152
142
                        this.hbox5.Add (this.hbuttonbox1);
153
 
                        global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.hbuttonbox1]));
 
143
                        global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.hbuttonbox1]));
154
144
                        w18.Position = 1;
155
145
                        this.vbox2.Add (this.hbox5);
156
 
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5]));
 
146
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox5]));
157
147
                        w19.Position = 1;
158
148
                        w19.Expand = false;
159
149
                        this.Add (this.vbox2);