~cszikszoy/do-plugins/fix-confluence

« back to all changes in this revision

Viewing changes to Dropbox/gtk-gui/Dropbox.DropboxConfig.cs

  • Committer: Chris S.
  • Date: 2009-06-10 17:32:56 UTC
  • mfrom: (599.3.32 Dropbox)
  • Revision ID: chris@szikszoy.com-20090610173256-ndhy3yztbqjc4zs0
merge Dropbox plugin

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 Dropbox {
 
12
    
 
13
    
 
14
    public partial class DropboxConfig {
 
15
        
 
16
        private Gtk.VBox vbox2;
 
17
        
 
18
        private Gtk.Frame frame2;
 
19
        
 
20
        private Gtk.Alignment GtkAlignment;
 
21
        
 
22
        private Gtk.HBox hbox2;
 
23
        
 
24
        private Gtk.Entry base_path_entry;
 
25
        
 
26
        private Gtk.Button base_path_button;
 
27
        
 
28
        private Gtk.Label GtkLabel1;
 
29
        
 
30
        protected virtual void Build() {
 
31
            Stetic.Gui.Initialize(this);
 
32
            // Widget Dropbox.DropboxConfig
 
33
            Stetic.BinContainer.Attach(this);
 
34
            this.Name = "Dropbox.DropboxConfig";
 
35
            // Container child Dropbox.DropboxConfig.Gtk.Container+ContainerChild
 
36
            this.vbox2 = new Gtk.VBox();
 
37
            this.vbox2.Name = "vbox2";
 
38
            this.vbox2.Spacing = 6;
 
39
            // Container child vbox2.Gtk.Box+BoxChild
 
40
            this.frame2 = new Gtk.Frame();
 
41
            this.frame2.Name = "frame2";
 
42
            this.frame2.ShadowType = ((Gtk.ShadowType)(0));
 
43
            // Container child frame2.Gtk.Container+ContainerChild
 
44
            this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
 
45
            this.GtkAlignment.Name = "GtkAlignment";
 
46
            this.GtkAlignment.LeftPadding = ((uint)(2));
 
47
            this.GtkAlignment.TopPadding = ((uint)(8));
 
48
            this.GtkAlignment.RightPadding = ((uint)(8));
 
49
            this.GtkAlignment.BottomPadding = ((uint)(8));
 
50
            // Container child GtkAlignment.Gtk.Container+ContainerChild
 
51
            this.hbox2 = new Gtk.HBox();
 
52
            this.hbox2.Name = "hbox2";
 
53
            this.hbox2.Spacing = 6;
 
54
            // Container child hbox2.Gtk.Box+BoxChild
 
55
            this.base_path_entry = new Gtk.Entry();
 
56
            this.base_path_entry.Sensitive = false;
 
57
            this.base_path_entry.CanFocus = true;
 
58
            this.base_path_entry.Name = "base_path_entry";
 
59
            this.base_path_entry.IsEditable = false;
 
60
            this.base_path_entry.InvisibleChar = '●';
 
61
            this.hbox2.Add(this.base_path_entry);
 
62
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox2[this.base_path_entry]));
 
63
            w1.Position = 0;
 
64
            // Container child hbox2.Gtk.Box+BoxChild
 
65
            this.base_path_button = new Gtk.Button();
 
66
            this.base_path_button.CanFocus = true;
 
67
            this.base_path_button.Name = "base_path_button";
 
68
            this.base_path_button.UseStock = true;
 
69
            this.base_path_button.UseUnderline = true;
 
70
            this.base_path_button.Label = "gtk-open";
 
71
            this.hbox2.Add(this.base_path_button);
 
72
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.base_path_button]));
 
73
            w2.Position = 1;
 
74
            w2.Expand = false;
 
75
            w2.Fill = false;
 
76
            this.GtkAlignment.Add(this.hbox2);
 
77
            this.frame2.Add(this.GtkAlignment);
 
78
            this.GtkLabel1 = new Gtk.Label();
 
79
            this.GtkLabel1.Name = "GtkLabel1";
 
80
            this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("Dropbox Location");
 
81
            this.GtkLabel1.UseMarkup = true;
 
82
            this.frame2.LabelWidget = this.GtkLabel1;
 
83
            this.vbox2.Add(this.frame2);
 
84
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
 
85
            w5.Position = 0;
 
86
            w5.Expand = false;
 
87
            w5.Fill = false;
 
88
            w5.Padding = ((uint)(5));
 
89
            this.Add(this.vbox2);
 
90
            if ((this.Child != null)) {
 
91
                this.Child.ShowAll();
 
92
            }
 
93
            this.Hide();
 
94
            this.base_path_button.Clicked += new System.EventHandler(this.OnBasePathBtnClicked);
 
95
        }
 
96
    }
 
97
}