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

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl/gtk-gui/MonoDevelop.VersionControl.Dialogs.EditRepositoryDialog.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 EditRepositoryDialog
6
6
        {
7
7
                private global::Gtk.VBox vbox1;
8
 
 
9
8
                private global::Gtk.Table table1;
10
 
 
11
9
                private global::Gtk.Entry entryName;
12
 
 
13
10
                private global::Gtk.Label label11;
14
 
 
15
11
                private global::Gtk.Label label8;
16
 
 
17
12
                private global::Gtk.ComboBox versionControlType;
18
 
 
19
13
                private global::Gtk.HSeparator hseparator2;
20
 
 
21
14
                private global::Gtk.EventBox repoEditorContainer;
22
 
 
23
15
                private global::Gtk.Button button10;
24
 
 
25
 
                private global::Gtk.Button button24;
26
 
 
 
16
                private global::Gtk.Button buttonOk;
 
17
                
27
18
                protected virtual void Build ()
28
19
                {
29
20
                        global::Stetic.Gui.Initialize (this);
55
46
                        this.entryName.IsEditable = true;
56
47
                        this.entryName.InvisibleChar = '●';
57
48
                        this.table1.Add (this.entryName);
58
 
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName]));
 
49
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryName]));
59
50
                        w2.TopAttach = ((uint)(1));
60
51
                        w2.BottomAttach = ((uint)(2));
61
52
                        w2.LeftAttach = ((uint)(1));
64
55
                        // Container child table1.Gtk.Table+TableChild
65
56
                        this.label11 = new global::Gtk.Label ();
66
57
                        this.label11.Name = "label11";
67
 
                        this.label11.Xalign = 0f;
 
58
                        this.label11.Xalign = 0F;
68
59
                        this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Type:");
69
60
                        this.table1.Add (this.label11);
70
 
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label11]));
 
61
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
71
62
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
72
63
                        w3.YOptions = ((global::Gtk.AttachOptions)(0));
73
64
                        // Container child table1.Gtk.Table+TableChild
74
65
                        this.label8 = new global::Gtk.Label ();
75
66
                        this.label8.Name = "label8";
76
 
                        this.label8.Xalign = 0f;
 
67
                        this.label8.Xalign = 0F;
77
68
                        this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:");
78
69
                        this.table1.Add (this.label8);
79
 
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
 
70
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
80
71
                        w4.TopAttach = ((uint)(1));
81
72
                        w4.BottomAttach = ((uint)(2));
82
73
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
85
76
                        this.versionControlType = global::Gtk.ComboBox.NewText ();
86
77
                        this.versionControlType.Name = "versionControlType";
87
78
                        this.table1.Add (this.versionControlType);
88
 
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.versionControlType]));
 
79
                        global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.versionControlType]));
89
80
                        w5.LeftAttach = ((uint)(1));
90
81
                        w5.RightAttach = ((uint)(2));
91
82
                        w5.XOptions = ((global::Gtk.AttachOptions)(4));
92
83
                        w5.YOptions = ((global::Gtk.AttachOptions)(4));
93
84
                        this.vbox1.Add (this.table1);
94
 
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.table1]));
 
85
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
95
86
                        w6.Position = 0;
96
87
                        w6.Expand = false;
97
88
                        w6.Fill = false;
99
90
                        this.hseparator2 = new global::Gtk.HSeparator ();
100
91
                        this.hseparator2.Name = "hseparator2";
101
92
                        this.vbox1.Add (this.hseparator2);
102
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator2]));
 
93
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator2]));
103
94
                        w7.Position = 1;
104
95
                        w7.Expand = false;
105
96
                        w7.Fill = false;
107
98
                        this.repoEditorContainer = new global::Gtk.EventBox ();
108
99
                        this.repoEditorContainer.Name = "repoEditorContainer";
109
100
                        this.vbox1.Add (this.repoEditorContainer);
110
 
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.repoEditorContainer]));
 
101
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.repoEditorContainer]));
111
102
                        w8.Position = 2;
112
103
                        w1.Add (this.vbox1);
113
 
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.vbox1]));
 
104
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox1]));
114
105
                        w9.Position = 0;
115
106
                        // Internal child MonoDevelop.VersionControl.Dialogs.EditRepositoryDialog.ActionArea
116
107
                        global::Gtk.HButtonBox w10 = this.ActionArea;
128
119
                        this.button10.UseUnderline = true;
129
120
                        this.button10.Label = "gtk-cancel";
130
121
                        this.AddActionWidget (this.button10, -6);
131
 
                        global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.button10]));
 
122
                        global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.button10]));
132
123
                        w11.Expand = false;
133
124
                        w11.Fill = false;
134
125
                        // Container child GtkDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
135
 
                        this.button24 = new global::Gtk.Button ();
136
 
                        this.button24.CanDefault = true;
137
 
                        this.button24.CanFocus = true;
138
 
                        this.button24.Name = "button24";
139
 
                        this.button24.UseStock = true;
140
 
                        this.button24.UseUnderline = true;
141
 
                        this.button24.Label = "gtk-ok";
142
 
                        this.AddActionWidget (this.button24, -5);
143
 
                        global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.button24]));
 
126
                        this.buttonOk = new global::Gtk.Button ();
 
127
                        this.buttonOk.CanDefault = true;
 
128
                        this.buttonOk.CanFocus = true;
 
129
                        this.buttonOk.Name = "buttonOk";
 
130
                        this.buttonOk.UseStock = true;
 
131
                        this.buttonOk.UseUnderline = true;
 
132
                        this.buttonOk.Label = "gtk-ok";
 
133
                        w10.Add (this.buttonOk);
 
134
                        global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonOk]));
144
135
                        w12.Position = 1;
145
136
                        w12.Expand = false;
146
137
                        w12.Fill = false;
148
139
                                this.Child.ShowAll ();
149
140
                        }
150
141
                        this.DefaultHeight = 414;
151
 
                        this.Show ();
 
142
                        this.Hide ();
152
143
                        this.versionControlType.Changed += new global::System.EventHandler (this.OnVersionControlTypeChanged);
153
144
                        this.entryName.Changed += new global::System.EventHandler (this.OnEntryNameChanged);
 
145
                        this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
154
146
                }
155
147
        }
156
148
}