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

« back to all changes in this revision

Viewing changes to src/addins/VersionControl/MonoDevelop.VersionControl.Git/gtk-gui/MonoDevelop.VersionControl.Git.EditBranchDialog.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:
 
1
 
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace MonoDevelop.VersionControl.Git
 
4
{
 
5
        public partial class EditBranchDialog
 
6
        {
 
7
                private global::Gtk.VBox vbox5;
 
8
                private global::Gtk.Table table4;
 
9
                private global::Gtk.Entry entryName;
 
10
                private global::Gtk.Label label4;
 
11
                private global::Gtk.Label labelError;
 
12
                private global::Gtk.CheckButton checkTrack;
 
13
                private global::Gtk.Alignment alignment1;
 
14
                private global::Gtk.ComboBox comboSources;
 
15
                private global::Gtk.Button buttonCancel;
 
16
                private global::Gtk.Button buttonOk;
 
17
                
 
18
                protected virtual void Build ()
 
19
                {
 
20
                        global::Stetic.Gui.Initialize (this);
 
21
                        // Widget MonoDevelop.VersionControl.Git.EditBranchDialog
 
22
                        this.Name = "MonoDevelop.VersionControl.Git.EditBranchDialog";
 
23
                        this.Title = global::Mono.Unix.Catalog.GetString ("Branch Properties");
 
24
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
25
                        // Internal child MonoDevelop.VersionControl.Git.EditBranchDialog.VBox
 
26
                        global::Gtk.VBox w1 = this.VBox;
 
27
                        w1.Name = "dialog1_VBox";
 
28
                        w1.BorderWidth = ((uint)(2));
 
29
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
 
30
                        this.vbox5 = new global::Gtk.VBox ();
 
31
                        this.vbox5.Name = "vbox5";
 
32
                        this.vbox5.Spacing = 6;
 
33
                        this.vbox5.BorderWidth = ((uint)(9));
 
34
                        // Container child vbox5.Gtk.Box+BoxChild
 
35
                        this.table4 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
 
36
                        this.table4.Name = "table4";
 
37
                        this.table4.RowSpacing = ((uint)(6));
 
38
                        this.table4.ColumnSpacing = ((uint)(6));
 
39
                        // Container child table4.Gtk.Table+TableChild
 
40
                        this.entryName = new global::Gtk.Entry ();
 
41
                        this.entryName.CanFocus = true;
 
42
                        this.entryName.Name = "entryName";
 
43
                        this.entryName.IsEditable = true;
 
44
                        this.entryName.InvisibleChar = '●';
 
45
                        this.table4.Add (this.entryName);
 
46
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryName]));
 
47
                        w2.LeftAttach = ((uint)(1));
 
48
                        w2.RightAttach = ((uint)(2));
 
49
                        w2.YOptions = ((global::Gtk.AttachOptions)(4));
 
50
                        // Container child table4.Gtk.Table+TableChild
 
51
                        this.label4 = new global::Gtk.Label ();
 
52
                        this.label4.Name = "label4";
 
53
                        this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Name:");
 
54
                        this.table4.Add (this.label4);
 
55
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table4 [this.label4]));
 
56
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
 
57
                        w3.YOptions = ((global::Gtk.AttachOptions)(4));
 
58
                        // Container child table4.Gtk.Table+TableChild
 
59
                        this.labelError = new global::Gtk.Label ();
 
60
                        this.labelError.Name = "labelError";
 
61
                        this.labelError.Xalign = 0F;
 
62
                        this.labelError.LabelProp = "Error";
 
63
                        this.table4.Add (this.labelError);
 
64
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.labelError]));
 
65
                        w4.TopAttach = ((uint)(1));
 
66
                        w4.BottomAttach = ((uint)(2));
 
67
                        w4.LeftAttach = ((uint)(1));
 
68
                        w4.RightAttach = ((uint)(2));
 
69
                        w4.YOptions = ((global::Gtk.AttachOptions)(4));
 
70
                        this.vbox5.Add (this.table4);
 
71
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table4]));
 
72
                        w5.Position = 0;
 
73
                        w5.Expand = false;
 
74
                        w5.Fill = false;
 
75
                        // Container child vbox5.Gtk.Box+BoxChild
 
76
                        this.checkTrack = new global::Gtk.CheckButton ();
 
77
                        this.checkTrack.CanFocus = true;
 
78
                        this.checkTrack.Name = "checkTrack";
 
79
                        this.checkTrack.Label = global::Mono.Unix.Catalog.GetString ("Track a branch or tag:");
 
80
                        this.checkTrack.DrawIndicator = true;
 
81
                        this.checkTrack.UseUnderline = true;
 
82
                        this.vbox5.Add (this.checkTrack);
 
83
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.checkTrack]));
 
84
                        w6.Position = 1;
 
85
                        w6.Expand = false;
 
86
                        w6.Fill = false;
 
87
                        // Container child vbox5.Gtk.Box+BoxChild
 
88
                        this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
89
                        this.alignment1.Name = "alignment1";
 
90
                        this.alignment1.LeftPadding = ((uint)(18));
 
91
                        // Container child alignment1.Gtk.Container+ContainerChild
 
92
                        this.comboSources = new global::Gtk.ComboBox ();
 
93
                        this.comboSources.Name = "comboSources";
 
94
                        this.alignment1.Add (this.comboSources);
 
95
                        this.vbox5.Add (this.alignment1);
 
96
                        global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.alignment1]));
 
97
                        w8.Position = 2;
 
98
                        w8.Expand = false;
 
99
                        w8.Fill = false;
 
100
                        w1.Add (this.vbox5);
 
101
                        global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5]));
 
102
                        w9.Position = 0;
 
103
                        w9.Expand = false;
 
104
                        w9.Fill = false;
 
105
                        // Internal child MonoDevelop.VersionControl.Git.EditBranchDialog.ActionArea
 
106
                        global::Gtk.HButtonBox w10 = this.ActionArea;
 
107
                        w10.Name = "dialog1_ActionArea";
 
108
                        w10.Spacing = 10;
 
109
                        w10.BorderWidth = ((uint)(5));
 
110
                        w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 
111
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
112
                        this.buttonCancel = new global::Gtk.Button ();
 
113
                        this.buttonCancel.CanDefault = true;
 
114
                        this.buttonCancel.CanFocus = true;
 
115
                        this.buttonCancel.Name = "buttonCancel";
 
116
                        this.buttonCancel.UseStock = true;
 
117
                        this.buttonCancel.UseUnderline = true;
 
118
                        this.buttonCancel.Label = "gtk-cancel";
 
119
                        this.AddActionWidget (this.buttonCancel, -6);
 
120
                        global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonCancel]));
 
121
                        w11.Expand = false;
 
122
                        w11.Fill = false;
 
123
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
124
                        this.buttonOk = new global::Gtk.Button ();
 
125
                        this.buttonOk.CanDefault = true;
 
126
                        this.buttonOk.CanFocus = true;
 
127
                        this.buttonOk.Name = "buttonOk";
 
128
                        this.buttonOk.UseStock = true;
 
129
                        this.buttonOk.UseUnderline = true;
 
130
                        this.buttonOk.Label = "gtk-ok";
 
131
                        this.AddActionWidget (this.buttonOk, -5);
 
132
                        global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonOk]));
 
133
                        w12.Position = 1;
 
134
                        w12.Expand = false;
 
135
                        w12.Fill = false;
 
136
                        if ((this.Child != null)) {
 
137
                                this.Child.ShowAll ();
 
138
                        }
 
139
                        this.DefaultWidth = 400;
 
140
                        this.DefaultHeight = 200;
 
141
                        this.Hide ();
 
142
                        this.entryName.Changed += new global::System.EventHandler (this.OnEntryNameChanged);
 
143
                        this.checkTrack.Toggled += new global::System.EventHandler (this.OnCheckTrackToggled);
 
144
                }
 
145
        }
 
146
}