~psgenfan/do-plugins/TomboyInsertText

« back to all changes in this revision

Viewing changes to Tomboy/gtk-gui/Tomboy.TomboyConfiguration.cs

  • Committer: Marcus
  • Date: 2010-03-27 17:53:23 UTC
  • Revision ID: marcus@marcus-desktop-20100327175323-zryvim7tt6384n3n
first

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        
36
36
        private Gtk.RadioButton titleFirstRadioButton;
37
37
        
38
 
        private Gtk.Label GtkLabel2;
 
38
        private Gtk.Label GtkLabel4;
 
39
        
 
40
        private Gtk.Frame frame3;
 
41
        
 
42
        private Gtk.Alignment GtkAlignment2;
 
43
        
 
44
        private Gtk.VBox vbox4;
 
45
        
 
46
        private Gtk.CheckButton insertionIncludeTime;
 
47
        
 
48
        private Gtk.ComboBox InsertionDateFormat;
 
49
        
 
50
        private Gtk.RadioButton insertionPrepend;
 
51
        
 
52
        private Gtk.RadioButton insertionAppend;
 
53
        
 
54
        private Gtk.Label GtkLabel9;
39
55
        
40
56
        protected virtual void Build() {
41
57
            Stetic.Gui.Initialize(this);
44
60
            this.Name = "Tomboy.TomboyConfiguration";
45
61
            // Container child Tomboy.TomboyConfiguration.Gtk.Container+ContainerChild
46
62
            this.vbox1 = new Gtk.VBox();
47
 
            this.vbox1.Name = "vbox1";
48
63
            this.vbox1.Spacing = 6;
49
64
            // Container child vbox1.Gtk.Box+BoxChild
50
65
            this.frame1 = new Gtk.Frame();
101
116
            this.contentFirstRadioButton = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("First pane is content, second pane is title."));
102
117
            this.contentFirstRadioButton.CanFocus = true;
103
118
            this.contentFirstRadioButton.Name = "contentFirstRadioButton";
104
 
            this.contentFirstRadioButton.Active = true;
105
119
            this.contentFirstRadioButton.DrawIndicator = true;
106
120
            this.contentFirstRadioButton.UseUnderline = true;
107
121
            this.contentFirstRadioButton.Group = new GLib.SList(System.IntPtr.Zero);
124
138
            w6.Fill = false;
125
139
            this.GtkAlignment1.Add(this.vbox3);
126
140
            this.frame2.Add(this.GtkAlignment1);
127
 
            this.GtkLabel2 = new Gtk.Label();
128
 
            this.GtkLabel2.Name = "GtkLabel2";
129
 
            this.GtkLabel2.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>New Note Title and Content Entry</b>");
130
 
            this.GtkLabel2.UseMarkup = true;
131
 
            this.frame2.LabelWidget = this.GtkLabel2;
 
141
            this.GtkLabel4 = new Gtk.Label();
 
142
            this.GtkLabel4.Name = "GtkLabel4";
 
143
            this.GtkLabel4.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>New Note Title and Content Entry</b>");
 
144
            this.GtkLabel4.UseMarkup = true;
 
145
            this.frame2.LabelWidget = this.GtkLabel4;
132
146
            this.vbox1.Add(this.frame2);
133
147
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame2]));
134
148
            w9.Position = 1;
135
149
            w9.Expand = false;
136
150
            w9.Fill = false;
 
151
            // Container child vbox1.Gtk.Box+BoxChild
 
152
            this.frame3 = new Gtk.Frame();
 
153
            this.frame3.Name = "frame3";
 
154
            this.frame3.ShadowType = ((Gtk.ShadowType)(0));
 
155
            this.frame3.BorderWidth = ((uint)(1));
 
156
            // Container child frame3.Gtk.Container+ContainerChild
 
157
            this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
 
158
            this.GtkAlignment2.Name = "GtkAlignment2";
 
159
            this.GtkAlignment2.LeftPadding = ((uint)(12));
 
160
            // Container child GtkAlignment2.Gtk.Container+ContainerChild
 
161
            this.vbox4 = new Gtk.VBox();
 
162
            this.vbox4.Name = "vbox4";
 
163
            this.vbox4.Spacing = 6;
 
164
            // Container child vbox4.Gtk.Box+BoxChild
 
165
            this.insertionIncludeTime = new Gtk.CheckButton();
 
166
            this.insertionIncludeTime.CanFocus = true;
 
167
            this.insertionIncludeTime.Name = "insertionIncludeTime";
 
168
            this.insertionIncludeTime.Label = Mono.Addins.AddinManager.CurrentLocalizer.GetString("Include Date and Time");
 
169
            this.insertionIncludeTime.DrawIndicator = true;
 
170
            this.insertionIncludeTime.UseUnderline = true;
 
171
            this.vbox4.Add(this.insertionIncludeTime);
 
172
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox4[this.insertionIncludeTime]));
 
173
            w10.Position = 0;
 
174
            w10.Expand = false;
 
175
            w10.Fill = false;
 
176
            // Container child vbox4.Gtk.Box+BoxChild
 
177
            this.InsertionDateFormat = Gtk.ComboBox.NewText();
 
178
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Year/Month/Day 24Hours:Minutes"));
 
179
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Year/Month/Day Hours:Minutes am/pm"));
 
180
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Year/Month/Day"));
 
181
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day/Year 24Hours:Minutes"));
 
182
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day/Year Hours:Minutes am/pm"));
 
183
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day/Year"));
 
184
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day 24Hours:Minutes"));
 
185
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day  Hours:Minutes am/pm\""));
 
186
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Month/Day"));
 
187
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("24Hours:Minutes"));
 
188
            this.InsertionDateFormat.AppendText(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Hours:Minutes am/pm"));
 
189
            this.InsertionDateFormat.Name = "InsertionDateFormat";
 
190
            this.InsertionDateFormat.Active = 0;
 
191
            this.vbox4.Add(this.InsertionDateFormat);
 
192
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox4[this.InsertionDateFormat]));
 
193
            w11.Position = 1;
 
194
            w11.Expand = false;
 
195
            w11.Fill = false;
 
196
            // Container child vbox4.Gtk.Box+BoxChild
 
197
            this.insertionPrepend = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Prepend to Top of Note"));
 
198
            this.insertionPrepend.CanFocus = true;
 
199
            this.insertionPrepend.Name = "insertionPrepend";
 
200
            this.insertionPrepend.DrawIndicator = true;
 
201
            this.insertionPrepend.UseUnderline = true;
 
202
            this.insertionPrepend.Group = new GLib.SList(System.IntPtr.Zero);
 
203
            this.vbox4.Add(this.insertionPrepend);
 
204
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.vbox4[this.insertionPrepend]));
 
205
            w12.Position = 2;
 
206
            w12.Expand = false;
 
207
            w12.Fill = false;
 
208
            // Container child vbox4.Gtk.Box+BoxChild
 
209
            this.insertionAppend = new Gtk.RadioButton(Mono.Addins.AddinManager.CurrentLocalizer.GetString("Append to Bottom of Note"));
 
210
            this.insertionAppend.CanFocus = true;
 
211
            this.insertionAppend.Name = "insertionAppend";
 
212
            this.insertionAppend.DrawIndicator = true;
 
213
            this.insertionAppend.UseUnderline = true;
 
214
            this.insertionAppend.Group = this.insertionPrepend.Group;
 
215
            this.vbox4.Add(this.insertionAppend);
 
216
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox4[this.insertionAppend]));
 
217
            w13.Position = 3;
 
218
            w13.Expand = false;
 
219
            w13.Fill = false;
 
220
            this.GtkAlignment2.Add(this.vbox4);
 
221
            this.frame3.Add(this.GtkAlignment2);
 
222
            this.GtkLabel9 = new Gtk.Label();
 
223
            this.GtkLabel9.Name = "GtkLabel9";
 
224
            this.GtkLabel9.LabelProp = Mono.Addins.AddinManager.CurrentLocalizer.GetString("<b>Note Insertion</b>");
 
225
            this.GtkLabel9.UseMarkup = true;
 
226
            this.frame3.LabelWidget = this.GtkLabel9;
 
227
            this.vbox1.Add(this.frame3);
 
228
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame3]));
 
229
            w16.Position = 2;
 
230
            w16.Expand = false;
 
231
            w16.Fill = false;
137
232
            this.Add(this.vbox1);
138
233
            if ((this.Child != null)) {
139
234
                this.Child.ShowAll();