~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Flickr/gtk-gui/Flickr.AccountConfig.cs

  • Committer: Alex Launi
  • Date: 2008-06-07 05:52:01 UTC
  • Revision ID: alex@eriktorvaldsonn-20080607055201-gip5v5ppp2emon37
Fix null error and config in GMail

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      Mono Runtime Version: 2.0.50727.42
 
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 Flickr {
 
12
    
 
13
    
 
14
    public partial class AccountConfig {
 
15
        
 
16
        private Gtk.VBox vbox1;
 
17
        
 
18
        private Gtk.Frame frame1;
 
19
        
 
20
        private Gtk.Alignment GtkAlignment;
 
21
        
 
22
        private Gtk.Alignment alignment1;
 
23
        
 
24
        private Gtk.VBox vbox2;
 
25
        
 
26
        private Gtk.Label label3;
 
27
        
 
28
        private Gtk.Label label4;
 
29
        
 
30
        private Gtk.Label auth_lbl;
 
31
        
 
32
        private Gtk.HButtonBox hbuttonbox1;
 
33
        
 
34
        private Gtk.Button auth_btn;
 
35
        
 
36
        protected virtual void Build() {
 
37
            Stetic.Gui.Initialize(this);
 
38
            // Widget Flickr.AccountConfig
 
39
            Stetic.BinContainer.Attach(this);
 
40
            this.Name = "Flickr.AccountConfig";
 
41
            // Container child Flickr.AccountConfig.Gtk.Container+ContainerChild
 
42
            this.vbox1 = new Gtk.VBox();
 
43
            this.vbox1.Name = "vbox1";
 
44
            this.vbox1.Spacing = 6;
 
45
            this.vbox1.BorderWidth = ((uint)(8));
 
46
            // Container child vbox1.Gtk.Box+BoxChild
 
47
            this.frame1 = new Gtk.Frame();
 
48
            this.frame1.Name = "frame1";
 
49
            this.frame1.ShadowType = ((Gtk.ShadowType)(0));
 
50
            // Container child frame1.Gtk.Container+ContainerChild
 
51
            this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
 
52
            this.GtkAlignment.Name = "GtkAlignment";
 
53
            this.GtkAlignment.LeftPadding = ((uint)(12));
 
54
            // Container child GtkAlignment.Gtk.Container+ContainerChild
 
55
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
 
56
            this.alignment1.Name = "alignment1";
 
57
            this.alignment1.LeftPadding = ((uint)(12));
 
58
            // Container child alignment1.Gtk.Container+ContainerChild
 
59
            this.vbox2 = new Gtk.VBox();
 
60
            this.vbox2.Name = "vbox2";
 
61
            this.vbox2.Spacing = 6;
 
62
            // Container child vbox2.Gtk.Box+BoxChild
 
63
            this.label3 = new Gtk.Label();
 
64
            this.label3.Name = "label3";
 
65
            this.label3.LabelProp = Mono.Unix.Catalog.GetString("Do needs your authorization in order to upload photos to your flickr account. Press the \"Authorize\" button to open a web browser and give Do authorization. ");
 
66
            this.label3.Wrap = true;
 
67
            this.vbox2.Add(this.label3);
 
68
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.label3]));
 
69
            w1.Position = 0;
 
70
            w1.Expand = false;
 
71
            w1.Fill = false;
 
72
            // Container child vbox2.Gtk.Box+BoxChild
 
73
            this.label4 = new Gtk.Label();
 
74
            this.label4.Name = "label4";
 
75
            this.label4.LabelProp = "";
 
76
            this.vbox2.Add(this.label4);
 
77
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label4]));
 
78
            w2.Position = 2;
 
79
            w2.Expand = false;
 
80
            w2.Fill = false;
 
81
            this.alignment1.Add(this.vbox2);
 
82
            this.GtkAlignment.Add(this.alignment1);
 
83
            this.frame1.Add(this.GtkAlignment);
 
84
            this.auth_lbl = new Gtk.Label();
 
85
            this.auth_lbl.Name = "auth_lbl";
 
86
            this.auth_lbl.LabelProp = Mono.Unix.Catalog.GetString("<b>Account</b>");
 
87
            this.auth_lbl.UseMarkup = true;
 
88
            this.frame1.LabelWidget = this.auth_lbl;
 
89
            this.vbox1.Add(this.frame1);
 
90
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
 
91
            w6.Position = 0;
 
92
            // Container child vbox1.Gtk.Box+BoxChild
 
93
            this.hbuttonbox1 = new Gtk.HButtonBox();
 
94
            this.hbuttonbox1.Name = "hbuttonbox1";
 
95
            // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
 
96
            this.auth_btn = new Gtk.Button();
 
97
            this.auth_btn.WidthRequest = 174;
 
98
            this.auth_btn.CanFocus = true;
 
99
            this.auth_btn.Name = "auth_btn";
 
100
            this.auth_btn.UseUnderline = true;
 
101
            // Container child auth_btn.Gtk.Container+ContainerChild
 
102
            Gtk.Alignment w7 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
 
103
            // Container child GtkAlignment.Gtk.Container+ContainerChild
 
104
            Gtk.HBox w8 = new Gtk.HBox();
 
105
            w8.Spacing = 2;
 
106
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
107
            Gtk.Image w9 = new Gtk.Image();
 
108
            w9.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-yes", Gtk.IconSize.Menu, 16);
 
109
            w8.Add(w9);
 
110
            // Container child GtkHBox.Gtk.Container+ContainerChild
 
111
            Gtk.Label w11 = new Gtk.Label();
 
112
            w11.LabelProp = Mono.Unix.Catalog.GetString("_Authorize");
 
113
            w11.UseUnderline = true;
 
114
            w8.Add(w11);
 
115
            w7.Add(w8);
 
116
            this.auth_btn.Add(w7);
 
117
            this.hbuttonbox1.Add(this.auth_btn);
 
118
            Gtk.ButtonBox.ButtonBoxChild w15 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.auth_btn]));
 
119
            w15.Expand = false;
 
120
            w15.Fill = false;
 
121
            this.vbox1.Add(this.hbuttonbox1);
 
122
            Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox1]));
 
123
            w16.Position = 1;
 
124
            w16.Expand = false;
 
125
            w16.Fill = false;
 
126
            this.Add(this.vbox1);
 
127
            if ((this.Child != null)) {
 
128
                this.Child.ShowAll();
 
129
            }
 
130
            this.Show();
 
131
            this.auth_btn.Clicked += new System.EventHandler(this.OnAuthBtnClicked);
 
132
        }
 
133
    }
 
134
}