~haakan/do-plugins/sshfix

« back to all changes in this revision

Viewing changes to Translate/gtk-gui/Translate.ConfigUI.cs

  • Committer: Jason Smith
  • Date: 2008-12-24 04:37:17 UTC
  • mto: This revision was merged to the branch mainline in revision 337.
  • Revision ID: jassmith@gmail.com-20081224043717-9yq3uhajlmnyyg5k
Merge community into official

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      
 
5
// 
 
6
//      Changes to this file may cause incorrect behavior and will be lost if 
 
7
//      the code is regenerated.
 
8
//  </autogenerated>
 
9
// ------------------------------------------------------------------------------
 
10
 
 
11
namespace Translate {
 
12
    
 
13
    
 
14
    public partial class ConfigUI {
 
15
        
 
16
        private Gtk.VBox vbox1;
 
17
        
 
18
        private Gtk.Label lblTransOpts;
 
19
        
 
20
        private Gtk.HBox hbox1;
 
21
        
 
22
        private Gtk.Label lblProvider;
 
23
        
 
24
        private Gtk.ComboBox cmbProvider;
 
25
        
 
26
        private Gtk.HBox hbox2;
 
27
        
 
28
        private Gtk.Label lblDefaultSource;
 
29
        
 
30
        private Gtk.ComboBox cmbDefaultSource;
 
31
        
 
32
        private Gtk.HBox hbox3;
 
33
        
 
34
        private Gtk.Label lblDefaultIface;
 
35
        
 
36
        private Gtk.ComboBox cmbDefaultIface;
 
37
        
 
38
        private Gtk.VBox vbox3;
 
39
        
 
40
        private Gtk.Label lblEnabled;
 
41
        
 
42
        private Gtk.ScrolledWindow GtkScrolledWindow;
 
43
        
 
44
        private Gtk.TreeView treeEnableLang;
 
45
        
 
46
        protected virtual void Build() {
 
47
            Stetic.Gui.Initialize(this);
 
48
            // Widget Translate.ConfigUI
 
49
            Stetic.BinContainer.Attach(this);
 
50
            this.Name = "Translate.ConfigUI";
 
51
            // Container child Translate.ConfigUI.Gtk.Container+ContainerChild
 
52
            this.vbox1 = new Gtk.VBox();
 
53
            this.vbox1.Name = "vbox1";
 
54
            this.vbox1.Spacing = 6;
 
55
            // Container child vbox1.Gtk.Box+BoxChild
 
56
            this.lblTransOpts = new Gtk.Label();
 
57
            this.lblTransOpts.Name = "lblTransOpts";
 
58
            this.lblTransOpts.LabelProp = Mono.Unix.Catalog.GetString("Translation Plugin Options");
 
59
            this.vbox1.Add(this.lblTransOpts);
 
60
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.lblTransOpts]));
 
61
            w1.Position = 0;
 
62
            w1.Expand = false;
 
63
            w1.Fill = false;
 
64
            // Container child vbox1.Gtk.Box+BoxChild
 
65
            this.hbox1 = new Gtk.HBox();
 
66
            this.hbox1.Name = "hbox1";
 
67
            this.hbox1.Spacing = 6;
 
68
            // Container child hbox1.Gtk.Box+BoxChild
 
69
            this.lblProvider = new Gtk.Label();
 
70
            this.lblProvider.Name = "lblProvider";
 
71
            this.lblProvider.LabelProp = Mono.Unix.Catalog.GetString("Translation Provider");
 
72
            this.hbox1.Add(this.lblProvider);
 
73
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblProvider]));
 
74
            w2.Position = 0;
 
75
            w2.Expand = false;
 
76
            w2.Fill = false;
 
77
            // Container child hbox1.Gtk.Box+BoxChild
 
78
            this.cmbProvider = Gtk.ComboBox.NewText();
 
79
            this.cmbProvider.Name = "cmbProvider";
 
80
            this.cmbProvider.Active = 0;
 
81
            this.hbox1.Add(this.cmbProvider);
 
82
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.cmbProvider]));
 
83
            w3.Position = 1;
 
84
            w3.Expand = false;
 
85
            w3.Fill = false;
 
86
            w3.Padding = ((uint)(10));
 
87
            this.vbox1.Add(this.hbox1);
 
88
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
 
89
            w4.Position = 1;
 
90
            w4.Expand = false;
 
91
            w4.Fill = false;
 
92
            // Container child vbox1.Gtk.Box+BoxChild
 
93
            this.hbox2 = new Gtk.HBox();
 
94
            this.hbox2.Name = "hbox2";
 
95
            this.hbox2.Spacing = 6;
 
96
            // Container child hbox2.Gtk.Box+BoxChild
 
97
            this.lblDefaultSource = new Gtk.Label();
 
98
            this.lblDefaultSource.Name = "lblDefaultSource";
 
99
            this.lblDefaultSource.LabelProp = Mono.Unix.Catalog.GetString("Default Source Language");
 
100
            this.hbox2.Add(this.lblDefaultSource);
 
101
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.lblDefaultSource]));
 
102
            w5.Position = 0;
 
103
            w5.Expand = false;
 
104
            w5.Fill = false;
 
105
            // Container child hbox2.Gtk.Box+BoxChild
 
106
            this.cmbDefaultSource = new Gtk.ComboBox();
 
107
            this.cmbDefaultSource.Name = "cmbDefaultSource";
 
108
            this.hbox2.Add(this.cmbDefaultSource);
 
109
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.cmbDefaultSource]));
 
110
            w6.Position = 1;
 
111
            w6.Expand = false;
 
112
            w6.Fill = false;
 
113
            w6.Padding = ((uint)(10));
 
114
            this.vbox1.Add(this.hbox2);
 
115
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
 
116
            w7.Position = 2;
 
117
            w7.Expand = false;
 
118
            w7.Fill = false;
 
119
            // Container child vbox1.Gtk.Box+BoxChild
 
120
            this.hbox3 = new Gtk.HBox();
 
121
            this.hbox3.Name = "hbox3";
 
122
            this.hbox3.Spacing = 6;
 
123
            // Container child hbox3.Gtk.Box+BoxChild
 
124
            this.lblDefaultIface = new Gtk.Label();
 
125
            this.lblDefaultIface.Name = "lblDefaultIface";
 
126
            this.lblDefaultIface.LabelProp = Mono.Unix.Catalog.GetString("Default Web Interface Language");
 
127
            this.hbox3.Add(this.lblDefaultIface);
 
128
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.lblDefaultIface]));
 
129
            w8.Position = 0;
 
130
            w8.Expand = false;
 
131
            w8.Fill = false;
 
132
            // Container child hbox3.Gtk.Box+BoxChild
 
133
            this.cmbDefaultIface = new Gtk.ComboBox();
 
134
            this.cmbDefaultIface.Name = "cmbDefaultIface";
 
135
            this.hbox3.Add(this.cmbDefaultIface);
 
136
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.cmbDefaultIface]));
 
137
            w9.Position = 1;
 
138
            w9.Expand = false;
 
139
            w9.Fill = false;
 
140
            w9.Padding = ((uint)(10));
 
141
            this.vbox1.Add(this.hbox3);
 
142
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
 
143
            w10.Position = 3;
 
144
            w10.Expand = false;
 
145
            w10.Fill = false;
 
146
            // Container child vbox1.Gtk.Box+BoxChild
 
147
            this.vbox3 = new Gtk.VBox();
 
148
            this.vbox3.Name = "vbox3";
 
149
            this.vbox3.Spacing = 6;
 
150
            // Container child vbox3.Gtk.Box+BoxChild
 
151
            this.lblEnabled = new Gtk.Label();
 
152
            this.lblEnabled.Name = "lblEnabled";
 
153
            this.lblEnabled.LabelProp = Mono.Unix.Catalog.GetString("Enable / Disable Language");
 
154
            this.vbox3.Add(this.lblEnabled);
 
155
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox3[this.lblEnabled]));
 
156
            w11.Position = 0;
 
157
            w11.Expand = false;
 
158
            w11.Fill = false;
 
159
            // Container child vbox3.Gtk.Box+BoxChild
 
160
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
 
161
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
 
162
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
 
163
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
 
164
            this.treeEnableLang = new Gtk.TreeView();
 
165
            this.treeEnableLang.CanFocus = true;
 
166
            this.treeEnableLang.Name = "treeEnableLang";
 
167
            this.GtkScrolledWindow.Add(this.treeEnableLang);
 
168
            this.vbox3.Add(this.GtkScrolledWindow);
 
169
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow]));
 
170
            w13.Position = 1;
 
171
            this.vbox1.Add(this.vbox3);
 
172
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox1[this.vbox3]));
 
173
            w14.PackType = ((Gtk.PackType)(1));
 
174
            w14.Position = 4;
 
175
            this.Add(this.vbox1);
 
176
            if ((this.Child != null)) {
 
177
                this.Child.ShowAll();
 
178
            }
 
179
            this.Show();
 
180
            this.cmbProvider.Changed += new System.EventHandler(this.ProviderSelectionChanged);
 
181
            this.cmbDefaultSource.Changed += new System.EventHandler(this.SourceSelectionChanged);
 
182
            this.cmbDefaultIface.Changed += new System.EventHandler(this.IfaceSelectionChanged);
 
183
        }
 
184
    }
 
185
}