~taktaktaktaktaktaktaktaktaktak/monodevelop-bzr/2.0

« back to all changes in this revision

Viewing changes to gtk-gui/MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.cs

  • Committer: levi
  • Date: 2009-09-29 10:19:21 UTC
  • mfrom: (92.1.3 2.0)
  • Revision ID: levi@apollo-20090929101921-u0q9wop6vvjpp8k8
Merge changes from jelmer 2.0 branch.

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 MonoDevelop.VersionControl.Bazaar.Dialogs {
 
12
    
 
13
    
 
14
    public partial class PasswordPromptDialog {
 
15
        
 
16
        private Gtk.VBox vbox2;
 
17
        
 
18
        private Gtk.Label promptLabel;
 
19
        
 
20
        private Gtk.Entry passwordEntry;
 
21
        
 
22
        private Gtk.Button buttonCancel;
 
23
        
 
24
        private Gtk.Button buttonOk;
 
25
        
 
26
        protected virtual void Build() {
 
27
            Stetic.Gui.Initialize(this);
 
28
            // Widget MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog
 
29
            this.Name = "MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog";
 
30
            this.Title = Mono.Unix.Catalog.GetString("Enter your password");
 
31
            this.WindowPosition = ((Gtk.WindowPosition)(4));
 
32
            this.Modal = true;
 
33
            // Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.VBox
 
34
            Gtk.VBox w1 = this.VBox;
 
35
            w1.Name = "dialog1_VBox";
 
36
            w1.BorderWidth = ((uint)(2));
 
37
            // Container child dialog1_VBox.Gtk.Box+BoxChild
 
38
            this.vbox2 = new Gtk.VBox();
 
39
            this.vbox2.Name = "vbox2";
 
40
            this.vbox2.Spacing = 6;
 
41
            // Container child vbox2.Gtk.Box+BoxChild
 
42
            this.promptLabel = new Gtk.Label();
 
43
            this.promptLabel.Name = "promptLabel";
 
44
            this.promptLabel.LabelProp = Mono.Unix.Catalog.GetString("Password prompt:");
 
45
            this.vbox2.Add(this.promptLabel);
 
46
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.promptLabel]));
 
47
            w2.Position = 0;
 
48
            w2.Expand = false;
 
49
            w2.Fill = false;
 
50
            w2.Padding = ((uint)(5));
 
51
            // Container child vbox2.Gtk.Box+BoxChild
 
52
            this.passwordEntry = new Gtk.Entry();
 
53
            this.passwordEntry.CanFocus = true;
 
54
            this.passwordEntry.Name = "passwordEntry";
 
55
            this.passwordEntry.IsEditable = true;
 
56
            this.passwordEntry.ActivatesDefault = true;
 
57
            this.passwordEntry.Visibility = false;
 
58
            this.passwordEntry.InvisibleChar = '●';
 
59
            this.vbox2.Add(this.passwordEntry);
 
60
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.passwordEntry]));
 
61
            w3.Position = 1;
 
62
            w3.Expand = false;
 
63
            w3.Fill = false;
 
64
            w3.Padding = ((uint)(5));
 
65
            w1.Add(this.vbox2);
 
66
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
 
67
            w4.Position = 0;
 
68
            w4.Expand = false;
 
69
            w4.Fill = false;
 
70
            // Internal child MonoDevelop.VersionControl.Bazaar.Dialogs.PasswordPromptDialog.ActionArea
 
71
            Gtk.HButtonBox w5 = this.ActionArea;
 
72
            w5.Name = "dialog1_ActionArea";
 
73
            w5.Spacing = 6;
 
74
            w5.BorderWidth = ((uint)(5));
 
75
            w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
 
76
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
77
            this.buttonCancel = new Gtk.Button();
 
78
            this.buttonCancel.CanDefault = true;
 
79
            this.buttonCancel.CanFocus = true;
 
80
            this.buttonCancel.Name = "buttonCancel";
 
81
            this.buttonCancel.UseStock = true;
 
82
            this.buttonCancel.UseUnderline = true;
 
83
            this.buttonCancel.Label = "gtk-cancel";
 
84
            this.AddActionWidget(this.buttonCancel, -6);
 
85
            Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
 
86
            w6.Expand = false;
 
87
            w6.Fill = false;
 
88
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
89
            this.buttonOk = new Gtk.Button();
 
90
            this.buttonOk.CanDefault = true;
 
91
            this.buttonOk.CanFocus = true;
 
92
            this.buttonOk.Name = "buttonOk";
 
93
            this.buttonOk.UseStock = true;
 
94
            this.buttonOk.UseUnderline = true;
 
95
            this.buttonOk.Label = "gtk-ok";
 
96
            this.AddActionWidget(this.buttonOk, -5);
 
97
            Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
 
98
            w7.Position = 1;
 
99
            w7.Expand = false;
 
100
            w7.Fill = false;
 
101
            if ((this.Child != null)) {
 
102
                this.Child.ShowAll();
 
103
            }
 
104
            this.DefaultWidth = 400;
 
105
            this.DefaultHeight = 137;
 
106
            this.Show();
 
107
        }
 
108
    }
 
109
}