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
// Internal child Do.UI.DoAddinInstallerDialog.VBox
38
Gtk.VBox w1 = this.VBox;
39
w1.Name = "dialog1_VBox";
40
w1.BorderWidth = ((uint)(2));
41
// Container child dialog1_VBox.Gtk.Box+BoxChild
42
this.vbox2 = new Gtk.VBox();
43
this.vbox2.Name = "vbox2";
44
this.vbox2.Spacing = 6;
45
// Container child vbox2.Gtk.Box+BoxChild
46
this.addinList = new Gtk.Label();
47
this.addinList.Name = "addinList";
48
this.addinList.Xpad = 5;
49
this.addinList.Ypad = 3;
50
this.addinList.Xalign = 0F;
51
this.addinList.Yalign = 0F;
52
this.addinList.LabelProp = Mono.Unix.Catalog.GetString("<span size=\"large\"><b>Updated plugins are available!</b></span>");
53
this.addinList.UseMarkup = true;
54
this.vbox2.Add(this.addinList);
55
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.addinList]));
59
// Container child vbox2.Gtk.Box+BoxChild
60
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
61
this.alignment1.Name = "alignment1";
62
this.alignment1.LeftPadding = ((uint)(12));
63
this.alignment1.TopPadding = ((uint)(12));
64
this.alignment1.RightPadding = ((uint)(12));
65
this.alignment1.BottomPadding = ((uint)(24));
66
// Container child alignment1.Gtk.Container+ContainerChild
67
this.vbox3 = new Gtk.VBox();
68
this.vbox3.Name = "vbox3";
69
this.vbox3.Spacing = 6;
70
// Container child vbox3.Gtk.Box+BoxChild
71
this.plugin_scroll = new Gtk.ScrolledWindow();
72
this.plugin_scroll.CanFocus = true;
73
this.plugin_scroll.Name = "plugin_scroll";
74
this.plugin_scroll.ShadowType = ((Gtk.ShadowType)(1));
75
this.vbox3.Add(this.plugin_scroll);
76
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox3[this.plugin_scroll]));
78
// Container child vbox3.Gtk.Box+BoxChild
79
this.progress_bar = new Gtk.ProgressBar();
80
this.progress_bar.Name = "progress_bar";
81
this.progress_bar.Ellipsize = ((Pango.EllipsizeMode)(2));
82
this.vbox3.Add(this.progress_bar);
83
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.progress_bar]));
87
this.alignment1.Add(this.vbox3);
88
this.vbox2.Add(this.alignment1);
89
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
92
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
94
// Internal child Do.UI.DoAddinInstallerDialog.ActionArea
95
Gtk.HButtonBox w8 = this.ActionArea;
96
w8.Name = "dialog1_ActionArea";
98
w8.BorderWidth = ((uint)(5));
99
w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
100
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
101
this.button_cancel = new Gtk.Button();
102
this.button_cancel.CanFocus = true;
103
this.button_cancel.Name = "button_cancel";
104
this.button_cancel.UseStock = true;
105
this.button_cancel.UseUnderline = true;
106
this.button_cancel.Label = "gtk-cancel";
107
this.AddActionWidget(this.button_cancel, -6);
108
Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.button_cancel]));
111
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
112
this.button_ok = new Gtk.Button();
113
this.button_ok.CanDefault = true;
114
this.button_ok.CanFocus = true;
115
this.button_ok.Name = "button_ok";
116
this.button_ok.UseUnderline = true;
117
// Container child button_ok.Gtk.Container+ContainerChild
118
Gtk.Alignment w10 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
119
// Container child GtkAlignment.Gtk.Container+ContainerChild
120
Gtk.HBox w11 = new Gtk.HBox();
122
// Container child GtkHBox.Gtk.Container+ContainerChild
123
Gtk.Image w12 = new Gtk.Image();
124
w12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Button, 16);
126
// Container child GtkHBox.Gtk.Container+ContainerChild
127
Gtk.Label w14 = new Gtk.Label();
128
w14.LabelProp = Mono.Unix.Catalog.GetString("_Install Updates");
129
w14.UseUnderline = true;
132
this.button_ok.Add(w10);
133
this.AddActionWidget(this.button_ok, -5);
134
Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.button_ok]));
138
if ((this.Child != null)) {
139
this.Child.ShowAll();
141
this.DefaultWidth = 443;
142
this.DefaultHeight = 463;
143
this.progress_bar.Hide();
145
this.button_ok.Clicked += new System.EventHandler(this.OnButtonOKClick);
2
// This file has been generated by the GUI designer. Do not modify.
5
public partial class DoAddinInstallerDialog
7
private global::Gtk.VBox vbox2;
8
private global::Gtk.Label addinList;
9
private global::Gtk.Alignment alignment1;
10
private global::Gtk.VBox vbox3;
11
private global::Gtk.ScrolledWindow plugin_scroll;
12
private global::Gtk.ProgressBar progress_bar;
13
private global::Gtk.Button button_cancel;
14
private global::Gtk.Button button_ok;
16
protected virtual void Build ()
18
global::Stetic.Gui.Initialize (this);
19
// Widget Do.UI.DoAddinInstallerDialog
20
this.Name = "Do.UI.DoAddinInstallerDialog";
21
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
22
// Internal child Do.UI.DoAddinInstallerDialog.VBox
23
global::Gtk.VBox w1 = this.VBox;
24
w1.Name = "dialog1_VBox";
25
w1.BorderWidth = ((uint)(2));
26
// Container child dialog1_VBox.Gtk.Box+BoxChild
27
this.vbox2 = new global::Gtk.VBox ();
28
this.vbox2.Name = "vbox2";
29
this.vbox2.Spacing = 6;
30
// Container child vbox2.Gtk.Box+BoxChild
31
this.addinList = new global::Gtk.Label ();
32
this.addinList.Name = "addinList";
33
this.addinList.Xpad = 5;
34
this.addinList.Ypad = 3;
35
this.addinList.Xalign = 0F;
36
this.addinList.Yalign = 0F;
37
this.addinList.LabelProp = global::Mono.Unix.Catalog.GetString ("<span size=\"large\"><b>Updated plugins are available!</b></span>");
38
this.addinList.UseMarkup = true;
39
this.vbox2.Add (this.addinList);
40
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.addinList]));
44
// Container child vbox2.Gtk.Box+BoxChild
45
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
46
this.alignment1.Name = "alignment1";
47
this.alignment1.LeftPadding = ((uint)(12));
48
this.alignment1.TopPadding = ((uint)(12));
49
this.alignment1.RightPadding = ((uint)(12));
50
this.alignment1.BottomPadding = ((uint)(24));
51
// Container child alignment1.Gtk.Container+ContainerChild
52
this.vbox3 = new global::Gtk.VBox ();
53
this.vbox3.Name = "vbox3";
54
this.vbox3.Spacing = 6;
55
// Container child vbox3.Gtk.Box+BoxChild
56
this.plugin_scroll = new global::Gtk.ScrolledWindow ();
57
this.plugin_scroll.CanFocus = true;
58
this.plugin_scroll.Name = "plugin_scroll";
59
this.plugin_scroll.ShadowType = ((global::Gtk.ShadowType)(1));
60
this.vbox3.Add (this.plugin_scroll);
61
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.plugin_scroll]));
63
// Container child vbox3.Gtk.Box+BoxChild
64
this.progress_bar = new global::Gtk.ProgressBar ();
65
this.progress_bar.Name = "progress_bar";
66
this.progress_bar.Ellipsize = ((global::Pango.EllipsizeMode)(2));
67
this.vbox3.Add (this.progress_bar);
68
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.progress_bar]));
72
this.alignment1.Add (this.vbox3);
73
this.vbox2.Add (this.alignment1);
74
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment1]));
77
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
79
// Internal child Do.UI.DoAddinInstallerDialog.ActionArea
80
global::Gtk.HButtonBox w8 = this.ActionArea;
81
w8.Name = "dialog1_ActionArea";
83
w8.BorderWidth = ((uint)(5));
84
w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
85
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
86
this.button_cancel = new global::Gtk.Button ();
87
this.button_cancel.CanFocus = true;
88
this.button_cancel.Name = "button_cancel";
89
this.button_cancel.UseStock = true;
90
this.button_cancel.UseUnderline = true;
91
this.button_cancel.Label = "gtk-cancel";
92
this.AddActionWidget (this.button_cancel, -6);
93
global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.button_cancel]));
96
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
97
this.button_ok = new global::Gtk.Button ();
98
this.button_ok.CanDefault = true;
99
this.button_ok.CanFocus = true;
100
this.button_ok.Name = "button_ok";
101
this.button_ok.UseUnderline = true;
102
// Container child button_ok.Gtk.Container+ContainerChild
103
global::Gtk.Alignment w10 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
104
// Container child GtkAlignment.Gtk.Container+ContainerChild
105
global::Gtk.HBox w11 = new global::Gtk.HBox ();
107
// Container child GtkHBox.Gtk.Container+ContainerChild
108
global::Gtk.Image w12 = new global::Gtk.Image ();
109
w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Button);
111
// Container child GtkHBox.Gtk.Container+ContainerChild
112
global::Gtk.Label w14 = new global::Gtk.Label ();
113
w14.LabelProp = global::Mono.Unix.Catalog.GetString ("_Install Updates");
114
w14.UseUnderline = true;
117
this.button_ok.Add (w10);
118
this.AddActionWidget (this.button_ok, -5);
119
global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.button_ok]));
123
if ((this.Child != null)) {
124
this.Child.ShowAll ();
126
this.DefaultWidth = 443;
127
this.DefaultHeight = 463;
128
this.progress_bar.Hide ();
130
this.button_ok.Clicked += new global::System.EventHandler (this.OnButtonOKClick);