1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
14
public partial class DoAddinInstallerDialog {
16
private Gtk.VBox vbox2;
18
private Gtk.Label addinList;
20
private Gtk.Alignment alignment1;
22
private Gtk.VBox vbox3;
24
private Gtk.ScrolledWindow plugin_scroll;
26
private Gtk.ProgressBar progress_bar;
28
private Gtk.Button button_cancel;
30
private Gtk.Button button_ok;
32
protected virtual void Build() {
33
Stetic.Gui.Initialize(this);
34
// Widget Do.UI.DoAddinInstallerDialog
35
this.Name = "Do.UI.DoAddinInstallerDialog";
36
this.WindowPosition = ((Gtk.WindowPosition)(4));
37
this.HasSeparator = false;
38
// Internal child Do.UI.DoAddinInstallerDialog.VBox
39
Gtk.VBox w1 = this.VBox;
40
w1.Name = "dialog1_VBox";
41
w1.BorderWidth = ((uint)(2));
42
// Container child dialog1_VBox.Gtk.Box+BoxChild
43
this.vbox2 = new Gtk.VBox();
44
this.vbox2.Name = "vbox2";
45
this.vbox2.Spacing = 6;
46
// Container child vbox2.Gtk.Box+BoxChild
47
this.addinList = new Gtk.Label();
48
this.addinList.Name = "addinList";
49
this.addinList.Xpad = 5;
50
this.addinList.Ypad = 3;
51
this.addinList.Xalign = 0F;
52
this.addinList.Yalign = 0F;
53
this.addinList.LabelProp = Mono.Unix.Catalog.GetString("<span size=\"large\"><b>Updated plugins are available!</b></span>");
54
this.addinList.UseMarkup = true;
55
this.vbox2.Add(this.addinList);
56
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.addinList]));
60
// Container child vbox2.Gtk.Box+BoxChild
61
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
62
this.alignment1.Name = "alignment1";
63
this.alignment1.LeftPadding = ((uint)(12));
64
this.alignment1.TopPadding = ((uint)(12));
65
this.alignment1.RightPadding = ((uint)(12));
66
this.alignment1.BottomPadding = ((uint)(24));
67
// Container child alignment1.Gtk.Container+ContainerChild
68
this.vbox3 = new Gtk.VBox();
69
this.vbox3.Name = "vbox3";
70
this.vbox3.Spacing = 6;
71
// Container child vbox3.Gtk.Box+BoxChild
72
this.plugin_scroll = new Gtk.ScrolledWindow();
73
this.plugin_scroll.CanFocus = true;
74
this.plugin_scroll.Name = "plugin_scroll";
75
this.plugin_scroll.ShadowType = ((Gtk.ShadowType)(1));
76
this.vbox3.Add(this.plugin_scroll);
77
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox3[this.plugin_scroll]));
79
// Container child vbox3.Gtk.Box+BoxChild
80
this.progress_bar = new Gtk.ProgressBar();
81
this.progress_bar.Name = "progress_bar";
82
this.progress_bar.Ellipsize = ((Pango.EllipsizeMode)(2));
83
this.vbox3.Add(this.progress_bar);
84
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.progress_bar]));
88
this.alignment1.Add(this.vbox3);
89
this.vbox2.Add(this.alignment1);
90
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
93
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
95
// Internal child Do.UI.DoAddinInstallerDialog.ActionArea
96
Gtk.HButtonBox w8 = this.ActionArea;
97
w8.Name = "dialog1_ActionArea";
99
w8.BorderWidth = ((uint)(5));
100
w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
101
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
102
this.button_cancel = new Gtk.Button();
103
this.button_cancel.CanFocus = true;
104
this.button_cancel.Name = "button_cancel";
105
this.button_cancel.UseStock = true;
106
this.button_cancel.UseUnderline = true;
107
this.button_cancel.Label = "gtk-cancel";
108
this.AddActionWidget(this.button_cancel, -6);
109
Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.button_cancel]));
112
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
113
this.button_ok = new Gtk.Button();
114
this.button_ok.CanDefault = true;
115
this.button_ok.CanFocus = true;
116
this.button_ok.Name = "button_ok";
117
this.button_ok.UseUnderline = true;
118
// Container child button_ok.Gtk.Container+ContainerChild
119
Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
120
// Container child GtkAlignment1.Gtk.Container+ContainerChild
121
Gtk.HBox w11 = new Gtk.HBox();
123
// Container child GtkHBox1.Gtk.Container+ContainerChild
124
Gtk.Image w12 = new Gtk.Image();
125
w12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Button, 16);
127
// Container child GtkHBox1.Gtk.Container+ContainerChild
128
Gtk.Label w14 = new Gtk.Label();
129
w14.LabelProp = Mono.Unix.Catalog.GetString("_Install Updates");
130
w14.UseUnderline = true;
133
this.button_ok.Add(w10);
134
this.AddActionWidget(this.button_ok, -5);
135
Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.button_ok]));
139
if ((this.Child != null)) {
140
this.Child.ShowAll();
142
this.DefaultWidth = 443;
143
this.DefaultHeight = 463;
144
this.progress_bar.Hide();
146
this.button_ok.Clicked += new System.EventHandler(this.OnButtonOKClick);