~ubuntu-branches/ubuntu/trusty/gnome-do/trusty

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.DoAddinInstallerDialog.cs

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-26 11:12:21 UTC
  • mfrom: (0.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120326111221-1jk143fy37zxi3e4
Tags: 0.9-1
* New upstream version no longer uses deprecated internal glib headers.
  (Closes: #665537)
* [59fa37b9] Fix watch file
* [63486516] Imported Upstream version 0.9
* [8c636d84] Disable testsuite for now; requires running dbus and gconf daemons
* [e46de4b9] Remove inaccurate README.Source
* [4591d677] Add git-buildpackage configuration to default to pristine-tar

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
1
 
11
 
namespace Do.UI {
12
 
    
13
 
    
14
 
    public partial class DoAddinInstallerDialog {
15
 
        
16
 
        private Gtk.VBox vbox2;
17
 
        
18
 
        private Gtk.Label addinList;
19
 
        
20
 
        private Gtk.Alignment alignment1;
21
 
        
22
 
        private Gtk.VBox vbox3;
23
 
        
24
 
        private Gtk.ScrolledWindow plugin_scroll;
25
 
        
26
 
        private Gtk.ProgressBar progress_bar;
27
 
        
28
 
        private Gtk.Button button_cancel;
29
 
        
30
 
        private Gtk.Button button_ok;
31
 
        
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]));
56
 
            w2.Position = 0;
57
 
            w2.Expand = false;
58
 
            w2.Fill = false;
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]));
77
 
            w3.Position = 0;
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]));
84
 
            w4.Position = 1;
85
 
            w4.Expand = false;
86
 
            w4.Fill = false;
87
 
            this.alignment1.Add(this.vbox3);
88
 
            this.vbox2.Add(this.alignment1);
89
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
90
 
            w6.Position = 1;
91
 
            w1.Add(this.vbox2);
92
 
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
93
 
            w7.Position = 0;
94
 
            // Internal child Do.UI.DoAddinInstallerDialog.ActionArea
95
 
            Gtk.HButtonBox w8 = this.ActionArea;
96
 
            w8.Name = "dialog1_ActionArea";
97
 
            w8.Spacing = 6;
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]));
109
 
            w9.Expand = false;
110
 
            w9.Fill = false;
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();
121
 
            w11.Spacing = 2;
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);
125
 
            w11.Add(w12);
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;
130
 
            w11.Add(w14);
131
 
            w10.Add(w11);
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]));
135
 
            w18.Position = 1;
136
 
            w18.Expand = false;
137
 
            w18.Fill = false;
138
 
            if ((this.Child != null)) {
139
 
                this.Child.ShowAll();
140
 
            }
141
 
            this.DefaultWidth = 443;
142
 
            this.DefaultHeight = 463;
143
 
            this.progress_bar.Hide();
144
 
            this.Show();
145
 
            this.button_ok.Clicked += new System.EventHandler(this.OnButtonOKClick);
146
 
        }
147
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class DoAddinInstallerDialog
 
6
        {
 
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;
 
15
        
 
16
                protected virtual void Build ()
 
17
                {
 
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]));
 
41
                        w2.Position = 0;
 
42
                        w2.Expand = false;
 
43
                        w2.Fill = false;
 
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]));
 
62
                        w3.Position = 0;
 
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]));
 
69
                        w4.Position = 1;
 
70
                        w4.Expand = false;
 
71
                        w4.Fill = false;
 
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]));
 
75
                        w6.Position = 1;
 
76
                        w1.Add (this.vbox2);
 
77
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
 
78
                        w7.Position = 0;
 
79
                        // Internal child Do.UI.DoAddinInstallerDialog.ActionArea
 
80
                        global::Gtk.HButtonBox w8 = this.ActionArea;
 
81
                        w8.Name = "dialog1_ActionArea";
 
82
                        w8.Spacing = 6;
 
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]));
 
94
                        w9.Expand = false;
 
95
                        w9.Fill = false;
 
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 ();
 
106
                        w11.Spacing = 2;
 
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);
 
110
                        w11.Add (w12);
 
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;
 
115
                        w11.Add (w14);
 
116
                        w10.Add (w11);
 
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]));
 
120
                        w18.Position = 1;
 
121
                        w18.Expand = false;
 
122
                        w18.Fill = false;
 
123
                        if ((this.Child != null)) {
 
124
                                this.Child.ShowAll ();
 
125
                        }
 
126
                        this.DefaultWidth = 443;
 
127
                        this.DefaultHeight = 463;
 
128
                        this.progress_bar.Hide ();
 
129
                        this.Show ();
 
130
                        this.button_ok.Clicked += new global::System.EventHandler (this.OnButtonOKClick);
 
131
                }
 
132
        }
148
133
}