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

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.PluginErrorDialog.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 PluginErrorDialog {
15
 
        
16
 
        private Gtk.VBox vbox2;
17
 
        
18
 
        private Gtk.HBox hbox2;
19
 
        
20
 
        private Gtk.Table table1;
21
 
        
22
 
        private Gtk.Label file_lbl;
23
 
        
24
 
        private Gtk.Label header_lbl;
25
 
        
26
 
        private Gtk.Image image33;
27
 
        
28
 
        private Gtk.Button buttonOk;
29
 
        
30
 
        protected virtual void Build() {
31
 
            Stetic.Gui.Initialize(this);
32
 
            // Widget Do.UI.PluginErrorDialog
33
 
            this.Name = "Do.UI.PluginErrorDialog";
34
 
            this.WindowPosition = ((Gtk.WindowPosition)(4));
35
 
            // Internal child Do.UI.PluginErrorDialog.VBox
36
 
            Gtk.VBox w1 = this.VBox;
37
 
            w1.Name = "dialog1_VBox";
38
 
            w1.BorderWidth = ((uint)(5));
39
 
            // Container child dialog1_VBox.Gtk.Box+BoxChild
40
 
            this.vbox2 = new Gtk.VBox();
41
 
            this.vbox2.Name = "vbox2";
42
 
            this.vbox2.Spacing = 6;
43
 
            // Container child vbox2.Gtk.Box+BoxChild
44
 
            this.hbox2 = new Gtk.HBox();
45
 
            this.hbox2.Name = "hbox2";
46
 
            this.hbox2.Spacing = 6;
47
 
            // Container child hbox2.Gtk.Box+BoxChild
48
 
            this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
49
 
            this.table1.Name = "table1";
50
 
            this.table1.RowSpacing = ((uint)(6));
51
 
            this.table1.ColumnSpacing = ((uint)(6));
52
 
            // Container child table1.Gtk.Table+TableChild
53
 
            this.file_lbl = new Gtk.Label();
54
 
            this.file_lbl.Name = "file_lbl";
55
 
            this.file_lbl.Xalign = 0F;
56
 
            this.file_lbl.Wrap = true;
57
 
            this.file_lbl.Selectable = true;
58
 
            this.table1.Add(this.file_lbl);
59
 
            Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.file_lbl]));
60
 
            w2.TopAttach = ((uint)(1));
61
 
            w2.BottomAttach = ((uint)(2));
62
 
            w2.LeftAttach = ((uint)(1));
63
 
            w2.RightAttach = ((uint)(2));
64
 
            // Container child table1.Gtk.Table+TableChild
65
 
            this.header_lbl = new Gtk.Label();
66
 
            this.header_lbl.Name = "header_lbl";
67
 
            this.header_lbl.Xalign = 0F;
68
 
            this.header_lbl.UseMarkup = true;
69
 
            this.table1.Add(this.header_lbl);
70
 
            Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.header_lbl]));
71
 
            w3.LeftAttach = ((uint)(1));
72
 
            w3.RightAttach = ((uint)(2));
73
 
            w3.XOptions = ((Gtk.AttachOptions)(4));
74
 
            w3.YOptions = ((Gtk.AttachOptions)(1));
75
 
            // Container child table1.Gtk.Table+TableChild
76
 
            this.image33 = new Gtk.Image();
77
 
            this.image33.Name = "image33";
78
 
            this.image33.Xalign = 1F;
79
 
            this.image33.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", Gtk.IconSize.Dialog, 48);
80
 
            this.table1.Add(this.image33);
81
 
            Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.image33]));
82
 
            w4.XOptions = ((Gtk.AttachOptions)(4));
83
 
            w4.YOptions = ((Gtk.AttachOptions)(1));
84
 
            this.hbox2.Add(this.table1);
85
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.table1]));
86
 
            w5.Position = 0;
87
 
            w5.Expand = false;
88
 
            w5.Fill = false;
89
 
            this.vbox2.Add(this.hbox2);
90
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
91
 
            w6.Position = 0;
92
 
            w6.Expand = false;
93
 
            w6.Fill = false;
94
 
            w1.Add(this.vbox2);
95
 
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
96
 
            w7.Position = 0;
97
 
            w7.Expand = false;
98
 
            w7.Fill = false;
99
 
            w7.Padding = ((uint)(6));
100
 
            // Internal child Do.UI.PluginErrorDialog.ActionArea
101
 
            Gtk.HButtonBox w8 = this.ActionArea;
102
 
            w8.Name = "dialog1_ActionArea";
103
 
            w8.Spacing = 10;
104
 
            w8.BorderWidth = ((uint)(5));
105
 
            w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
106
 
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
107
 
            this.buttonOk = new Gtk.Button();
108
 
            this.buttonOk.CanDefault = true;
109
 
            this.buttonOk.CanFocus = true;
110
 
            this.buttonOk.Name = "buttonOk";
111
 
            this.buttonOk.UseStock = true;
112
 
            this.buttonOk.UseUnderline = true;
113
 
            this.buttonOk.Label = "gtk-ok";
114
 
            this.AddActionWidget(this.buttonOk, -5);
115
 
            Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
116
 
            w9.Expand = false;
117
 
            w9.Fill = false;
118
 
            if ((this.Child != null)) {
119
 
                this.Child.ShowAll();
120
 
            }
121
 
            this.DefaultWidth = 462;
122
 
            this.DefaultHeight = 163;
123
 
            this.Show();
124
 
            this.buttonOk.Clicked += new System.EventHandler(this.OnButtonOkClicked);
125
 
        }
126
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class PluginErrorDialog
 
6
        {
 
7
                private global::Gtk.VBox vbox2;
 
8
                private global::Gtk.HBox hbox2;
 
9
                private global::Gtk.Table table1;
 
10
                private global::Gtk.Label file_lbl;
 
11
                private global::Gtk.Label header_lbl;
 
12
                private global::Gtk.Image image33;
 
13
                private global::Gtk.Button buttonOk;
 
14
        
 
15
                protected virtual void Build ()
 
16
                {
 
17
                        global::Stetic.Gui.Initialize (this);
 
18
                        // Widget Do.UI.PluginErrorDialog
 
19
                        this.Name = "Do.UI.PluginErrorDialog";
 
20
                        this.WindowPosition = ((global::Gtk.WindowPosition)(4));
 
21
                        // Internal child Do.UI.PluginErrorDialog.VBox
 
22
                        global::Gtk.VBox w1 = this.VBox;
 
23
                        w1.Name = "dialog1_VBox";
 
24
                        w1.BorderWidth = ((uint)(5));
 
25
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
 
26
                        this.vbox2 = new global::Gtk.VBox ();
 
27
                        this.vbox2.Name = "vbox2";
 
28
                        this.vbox2.Spacing = 6;
 
29
                        // Container child vbox2.Gtk.Box+BoxChild
 
30
                        this.hbox2 = new global::Gtk.HBox ();
 
31
                        this.hbox2.Name = "hbox2";
 
32
                        this.hbox2.Spacing = 6;
 
33
                        // Container child hbox2.Gtk.Box+BoxChild
 
34
                        this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
 
35
                        this.table1.Name = "table1";
 
36
                        this.table1.RowSpacing = ((uint)(6));
 
37
                        this.table1.ColumnSpacing = ((uint)(6));
 
38
                        // Container child table1.Gtk.Table+TableChild
 
39
                        this.file_lbl = new global::Gtk.Label ();
 
40
                        this.file_lbl.Name = "file_lbl";
 
41
                        this.file_lbl.Xalign = 0F;
 
42
                        this.file_lbl.Wrap = true;
 
43
                        this.file_lbl.Selectable = true;
 
44
                        this.table1.Add (this.file_lbl);
 
45
                        global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.file_lbl]));
 
46
                        w2.TopAttach = ((uint)(1));
 
47
                        w2.BottomAttach = ((uint)(2));
 
48
                        w2.LeftAttach = ((uint)(1));
 
49
                        w2.RightAttach = ((uint)(2));
 
50
                        // Container child table1.Gtk.Table+TableChild
 
51
                        this.header_lbl = new global::Gtk.Label ();
 
52
                        this.header_lbl.Name = "header_lbl";
 
53
                        this.header_lbl.Xalign = 0F;
 
54
                        this.header_lbl.UseMarkup = true;
 
55
                        this.table1.Add (this.header_lbl);
 
56
                        global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.header_lbl]));
 
57
                        w3.LeftAttach = ((uint)(1));
 
58
                        w3.RightAttach = ((uint)(2));
 
59
                        w3.XOptions = ((global::Gtk.AttachOptions)(4));
 
60
                        w3.YOptions = ((global::Gtk.AttachOptions)(1));
 
61
                        // Container child table1.Gtk.Table+TableChild
 
62
                        this.image33 = new global::Gtk.Image ();
 
63
                        this.image33.Name = "image33";
 
64
                        this.image33.Xalign = 1F;
 
65
                        this.image33.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-dialog-error", global::Gtk.IconSize.Dialog);
 
66
                        this.table1.Add (this.image33);
 
67
                        global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.image33]));
 
68
                        w4.XOptions = ((global::Gtk.AttachOptions)(4));
 
69
                        w4.YOptions = ((global::Gtk.AttachOptions)(1));
 
70
                        this.hbox2.Add (this.table1);
 
71
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.table1]));
 
72
                        w5.Position = 0;
 
73
                        w5.Expand = false;
 
74
                        w5.Fill = false;
 
75
                        this.vbox2.Add (this.hbox2);
 
76
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
 
77
                        w6.Position = 0;
 
78
                        w6.Expand = false;
 
79
                        w6.Fill = false;
 
80
                        w1.Add (this.vbox2);
 
81
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
 
82
                        w7.Position = 0;
 
83
                        w7.Expand = false;
 
84
                        w7.Fill = false;
 
85
                        w7.Padding = ((uint)(6));
 
86
                        // Internal child Do.UI.PluginErrorDialog.ActionArea
 
87
                        global::Gtk.HButtonBox w8 = this.ActionArea;
 
88
                        w8.Name = "dialog1_ActionArea";
 
89
                        w8.Spacing = 10;
 
90
                        w8.BorderWidth = ((uint)(5));
 
91
                        w8.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 
92
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
 
93
                        this.buttonOk = new global::Gtk.Button ();
 
94
                        this.buttonOk.CanDefault = true;
 
95
                        this.buttonOk.CanFocus = true;
 
96
                        this.buttonOk.Name = "buttonOk";
 
97
                        this.buttonOk.UseStock = true;
 
98
                        this.buttonOk.UseUnderline = true;
 
99
                        this.buttonOk.Label = "gtk-ok";
 
100
                        this.AddActionWidget (this.buttonOk, -5);
 
101
                        global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
 
102
                        w9.Expand = false;
 
103
                        w9.Fill = false;
 
104
                        if ((this.Child != null)) {
 
105
                                this.Child.ShowAll ();
 
106
                        }
 
107
                        this.DefaultWidth = 462;
 
108
                        this.DefaultHeight = 163;
 
109
                        this.Show ();
 
110
                        this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 
111
                }
 
112
        }
127
113
}