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

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.ManagePluginsPreferencesWidget.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 ManagePluginsPreferencesWidget {
15
 
        
16
 
        private Gtk.VBox vbox3;
17
 
        
18
 
        private Gtk.HBox hbox1;
19
 
        
20
 
        private Gtk.Alignment alignment1;
21
 
        
22
 
        private Gtk.Label label1;
23
 
        
24
 
        private Gtk.ComboBox show_combo;
25
 
        
26
 
        private Gtk.Alignment alignment2;
27
 
        
28
 
        private Gtk.Label label2;
29
 
        
30
 
        private Gtk.ScrolledWindow scrollw;
31
 
        
32
 
        private Gtk.HBox hbox2;
33
 
        
34
 
        private Gtk.HButtonBox hbuttonbox1;
35
 
        
36
 
        private Gtk.Button btn_configure;
37
 
        
38
 
        private Gtk.HButtonBox hbuttonbox2;
39
 
        
40
 
        private Gtk.Button btn_about;
41
 
        
42
 
        protected virtual void Build() {
43
 
            Stetic.Gui.Initialize(this);
44
 
            // Widget Do.UI.ManagePluginsPreferencesWidget
45
 
            Stetic.BinContainer.Attach(this);
46
 
            this.Name = "Do.UI.ManagePluginsPreferencesWidget";
47
 
            // Container child Do.UI.ManagePluginsPreferencesWidget.Gtk.Container+ContainerChild
48
 
            this.vbox3 = new Gtk.VBox();
49
 
            this.vbox3.Name = "vbox3";
50
 
            this.vbox3.Spacing = 6;
51
 
            this.vbox3.BorderWidth = ((uint)(6));
52
 
            // Container child vbox3.Gtk.Box+BoxChild
53
 
            this.hbox1 = new Gtk.HBox();
54
 
            this.hbox1.Name = "hbox1";
55
 
            this.hbox1.Spacing = 6;
56
 
            // Container child hbox1.Gtk.Box+BoxChild
57
 
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
58
 
            this.alignment1.Name = "alignment1";
59
 
            // Container child alignment1.Gtk.Container+ContainerChild
60
 
            this.label1 = new Gtk.Label();
61
 
            this.label1.Name = "label1";
62
 
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Show:");
63
 
            this.alignment1.Add(this.label1);
64
 
            this.hbox1.Add(this.alignment1);
65
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.alignment1]));
66
 
            w2.Position = 0;
67
 
            w2.Expand = false;
68
 
            w2.Fill = false;
69
 
            // Container child hbox1.Gtk.Box+BoxChild
70
 
            this.show_combo = Gtk.ComboBox.NewText();
71
 
            this.show_combo.Name = "show_combo";
72
 
            this.hbox1.Add(this.show_combo);
73
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.show_combo]));
74
 
            w3.Position = 1;
75
 
            w3.Expand = false;
76
 
            w3.Fill = false;
77
 
            // Container child hbox1.Gtk.Box+BoxChild
78
 
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
79
 
            this.alignment2.Name = "alignment2";
80
 
            this.alignment2.LeftPadding = ((uint)(15));
81
 
            // Container child alignment2.Gtk.Container+ContainerChild
82
 
            this.label2 = new Gtk.Label();
83
 
            this.label2.Name = "label2";
84
 
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Search:");
85
 
            this.alignment2.Add(this.label2);
86
 
            this.hbox1.Add(this.alignment2);
87
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox1[this.alignment2]));
88
 
            w5.Position = 2;
89
 
            w5.Expand = false;
90
 
            w5.Fill = false;
91
 
            this.vbox3.Add(this.hbox1);
92
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
93
 
            w6.Position = 0;
94
 
            w6.Expand = false;
95
 
            w6.Fill = false;
96
 
            // Container child vbox3.Gtk.Box+BoxChild
97
 
            this.scrollw = new Gtk.ScrolledWindow();
98
 
            this.scrollw.CanFocus = true;
99
 
            this.scrollw.Name = "scrollw";
100
 
            this.scrollw.ShadowType = ((Gtk.ShadowType)(1));
101
 
            this.vbox3.Add(this.scrollw);
102
 
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.scrollw]));
103
 
            w7.Position = 1;
104
 
            // Container child vbox3.Gtk.Box+BoxChild
105
 
            this.hbox2 = new Gtk.HBox();
106
 
            this.hbox2.Name = "hbox2";
107
 
            this.hbox2.Spacing = 6;
108
 
            // Container child hbox2.Gtk.Box+BoxChild
109
 
            this.hbuttonbox1 = new Gtk.HButtonBox();
110
 
            this.hbuttonbox1.Spacing = 6;
111
 
            this.hbuttonbox1.LayoutStyle = ((Gtk.ButtonBoxStyle)(3));
112
 
            // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
113
 
            this.btn_configure = new Gtk.Button();
114
 
            this.btn_configure.Sensitive = false;
115
 
            this.btn_configure.CanFocus = true;
116
 
            this.btn_configure.Name = "btn_configure";
117
 
            this.btn_configure.UseUnderline = true;
118
 
            // Container child btn_configure.Gtk.Container+ContainerChild
119
 
            Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
120
 
            // Container child GtkAlignment.Gtk.Container+ContainerChild
121
 
            Gtk.HBox w9 = new Gtk.HBox();
122
 
            w9.Spacing = 2;
123
 
            // Container child GtkHBox.Gtk.Container+ContainerChild
124
 
            Gtk.Image w10 = new Gtk.Image();
125
 
            w10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Button, 16);
126
 
            w9.Add(w10);
127
 
            // Container child GtkHBox.Gtk.Container+ContainerChild
128
 
            Gtk.Label w12 = new Gtk.Label();
129
 
            w12.LabelProp = Mono.Unix.Catalog.GetString("_Configure");
130
 
            w12.UseUnderline = true;
131
 
            w9.Add(w12);
132
 
            w8.Add(w9);
133
 
            this.btn_configure.Add(w8);
134
 
            this.hbuttonbox1.Add(this.btn_configure);
135
 
            Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.btn_configure]));
136
 
            w16.Expand = false;
137
 
            w16.Fill = false;
138
 
            this.hbox2.Add(this.hbuttonbox1);
139
 
            Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbuttonbox1]));
140
 
            w17.Position = 0;
141
 
            // Container child hbox2.Gtk.Box+BoxChild
142
 
            this.hbuttonbox2 = new Gtk.HButtonBox();
143
 
            this.hbuttonbox2.Name = "hbuttonbox2";
144
 
            this.hbuttonbox2.Spacing = 6;
145
 
            this.hbuttonbox2.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
146
 
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
147
 
            this.btn_about = new Gtk.Button();
148
 
            this.btn_about.Sensitive = false;
149
 
            this.btn_about.CanFocus = true;
150
 
            this.btn_about.Name = "btn_about";
151
 
            this.btn_about.UseStock = true;
152
 
            this.btn_about.UseUnderline = true;
153
 
            this.btn_about.Label = "gtk-about";
154
 
            this.hbuttonbox2.Add(this.btn_about);
155
 
            Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_about]));
156
 
            w18.Expand = false;
157
 
            w18.Fill = false;
158
 
            this.hbox2.Add(this.hbuttonbox2);
159
 
            Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox2[this.hbuttonbox2]));
160
 
            w19.Position = 1;
161
 
            this.vbox3.Add(this.hbox2);
162
 
            Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
163
 
            w20.Position = 2;
164
 
            w20.Expand = false;
165
 
            w20.Fill = false;
166
 
            this.Add(this.vbox3);
167
 
            if ((this.Child != null)) {
168
 
                this.Child.ShowAll();
169
 
            }
170
 
            this.Show();
171
 
            this.show_combo.Changed += new System.EventHandler(this.OnShowComboChanged);
172
 
            this.scrollw.DragDataReceived += new Gtk.DragDataReceivedHandler(this.OnScrollwDragDataReceived);
173
 
            this.btn_configure.Clicked += new System.EventHandler(this.OnBtnConfigurePluginClicked);
174
 
            this.btn_about.Clicked += new System.EventHandler(this.OnAboutBtnClicked);
175
 
        }
176
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class ManagePluginsPreferencesWidget
 
6
        {
 
7
                private global::Gtk.VBox vbox3;
 
8
                private global::Gtk.HBox hbox1;
 
9
                private global::Gtk.Alignment alignment1;
 
10
                private global::Gtk.Label label1;
 
11
                private global::Gtk.ComboBox show_combo;
 
12
                private global::Gtk.Alignment alignment2;
 
13
                private global::Gtk.Label label2;
 
14
                private global::Gtk.ScrolledWindow scrollw;
 
15
                private global::Gtk.HBox hbox2;
 
16
                private global::Gtk.HButtonBox hbuttonbox1;
 
17
                private global::Gtk.Button btn_configure;
 
18
                private global::Gtk.HButtonBox hbuttonbox2;
 
19
                private global::Gtk.Button btn_about;
 
20
        
 
21
                protected virtual void Build ()
 
22
                {
 
23
                        global::Stetic.Gui.Initialize (this);
 
24
                        // Widget Do.UI.ManagePluginsPreferencesWidget
 
25
                        global::Stetic.BinContainer.Attach (this);
 
26
                        this.Name = "Do.UI.ManagePluginsPreferencesWidget";
 
27
                        // Container child Do.UI.ManagePluginsPreferencesWidget.Gtk.Container+ContainerChild
 
28
                        this.vbox3 = new global::Gtk.VBox ();
 
29
                        this.vbox3.Name = "vbox3";
 
30
                        this.vbox3.Spacing = 6;
 
31
                        this.vbox3.BorderWidth = ((uint)(6));
 
32
                        // Container child vbox3.Gtk.Box+BoxChild
 
33
                        this.hbox1 = new global::Gtk.HBox ();
 
34
                        this.hbox1.Name = "hbox1";
 
35
                        this.hbox1.Spacing = 6;
 
36
                        // Container child hbox1.Gtk.Box+BoxChild
 
37
                        this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
38
                        this.alignment1.Name = "alignment1";
 
39
                        // Container child alignment1.Gtk.Container+ContainerChild
 
40
                        this.label1 = new global::Gtk.Label ();
 
41
                        this.label1.Name = "label1";
 
42
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Show:");
 
43
                        this.alignment1.Add (this.label1);
 
44
                        this.hbox1.Add (this.alignment1);
 
45
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment1]));
 
46
                        w2.Position = 0;
 
47
                        w2.Expand = false;
 
48
                        w2.Fill = false;
 
49
                        // Container child hbox1.Gtk.Box+BoxChild
 
50
                        this.show_combo = global::Gtk.ComboBox.NewText ();
 
51
                        this.show_combo.Name = "show_combo";
 
52
                        this.hbox1.Add (this.show_combo);
 
53
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.show_combo]));
 
54
                        w3.Position = 1;
 
55
                        w3.Expand = false;
 
56
                        w3.Fill = false;
 
57
                        // Container child hbox1.Gtk.Box+BoxChild
 
58
                        this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
59
                        this.alignment2.Name = "alignment2";
 
60
                        this.alignment2.LeftPadding = ((uint)(15));
 
61
                        // Container child alignment2.Gtk.Container+ContainerChild
 
62
                        this.label2 = new global::Gtk.Label ();
 
63
                        this.label2.Name = "label2";
 
64
                        this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Search:");
 
65
                        this.alignment2.Add (this.label2);
 
66
                        this.hbox1.Add (this.alignment2);
 
67
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.alignment2]));
 
68
                        w5.Position = 2;
 
69
                        w5.Expand = false;
 
70
                        w5.Fill = false;
 
71
                        this.vbox3.Add (this.hbox1);
 
72
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1]));
 
73
                        w6.Position = 0;
 
74
                        w6.Expand = false;
 
75
                        w6.Fill = false;
 
76
                        // Container child vbox3.Gtk.Box+BoxChild
 
77
                        this.scrollw = new global::Gtk.ScrolledWindow ();
 
78
                        this.scrollw.CanFocus = true;
 
79
                        this.scrollw.Name = "scrollw";
 
80
                        this.scrollw.ShadowType = ((global::Gtk.ShadowType)(1));
 
81
                        this.vbox3.Add (this.scrollw);
 
82
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.scrollw]));
 
83
                        w7.Position = 1;
 
84
                        // Container child vbox3.Gtk.Box+BoxChild
 
85
                        this.hbox2 = new global::Gtk.HBox ();
 
86
                        this.hbox2.Name = "hbox2";
 
87
                        this.hbox2.Spacing = 6;
 
88
                        // Container child hbox2.Gtk.Box+BoxChild
 
89
                        this.hbuttonbox1 = new global::Gtk.HButtonBox ();
 
90
                        this.hbuttonbox1.Spacing = 6;
 
91
                        this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
 
92
                        // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
 
93
                        this.btn_configure = new global::Gtk.Button ();
 
94
                        this.btn_configure.Sensitive = false;
 
95
                        this.btn_configure.CanFocus = true;
 
96
                        this.btn_configure.Name = "btn_configure";
 
97
                        this.btn_configure.UseUnderline = true;
 
98
                        // Container child btn_configure.Gtk.Container+ContainerChild
 
99
                        global::Gtk.Alignment w8 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
 
100
                        // Container child GtkAlignment.Gtk.Container+ContainerChild
 
101
                        global::Gtk.HBox w9 = new global::Gtk.HBox ();
 
102
                        w9.Spacing = 2;
 
103
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
104
                        global::Gtk.Image w10 = new global::Gtk.Image ();
 
105
                        w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Button);
 
106
                        w9.Add (w10);
 
107
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
108
                        global::Gtk.Label w12 = new global::Gtk.Label ();
 
109
                        w12.LabelProp = global::Mono.Unix.Catalog.GetString ("_Configure");
 
110
                        w12.UseUnderline = true;
 
111
                        w9.Add (w12);
 
112
                        w8.Add (w9);
 
113
                        this.btn_configure.Add (w8);
 
114
                        this.hbuttonbox1.Add (this.btn_configure);
 
115
                        global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1 [this.btn_configure]));
 
116
                        w16.Expand = false;
 
117
                        w16.Fill = false;
 
118
                        this.hbox2.Add (this.hbuttonbox1);
 
119
                        global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbuttonbox1]));
 
120
                        w17.Position = 0;
 
121
                        // Container child hbox2.Gtk.Box+BoxChild
 
122
                        this.hbuttonbox2 = new global::Gtk.HButtonBox ();
 
123
                        this.hbuttonbox2.Name = "hbuttonbox2";
 
124
                        this.hbuttonbox2.Spacing = 6;
 
125
                        this.hbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
 
126
                        // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
 
127
                        this.btn_about = new global::Gtk.Button ();
 
128
                        this.btn_about.Sensitive = false;
 
129
                        this.btn_about.CanFocus = true;
 
130
                        this.btn_about.Name = "btn_about";
 
131
                        this.btn_about.UseStock = true;
 
132
                        this.btn_about.UseUnderline = true;
 
133
                        this.btn_about.Label = "gtk-about";
 
134
                        this.hbuttonbox2.Add (this.btn_about);
 
135
                        global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btn_about]));
 
136
                        w18.Expand = false;
 
137
                        w18.Fill = false;
 
138
                        this.hbox2.Add (this.hbuttonbox2);
 
139
                        global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbuttonbox2]));
 
140
                        w19.Position = 1;
 
141
                        this.vbox3.Add (this.hbox2);
 
142
                        global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
 
143
                        w20.Position = 2;
 
144
                        w20.Expand = false;
 
145
                        w20.Fill = false;
 
146
                        this.Add (this.vbox3);
 
147
                        if ((this.Child != null)) {
 
148
                                this.Child.ShowAll ();
 
149
                        }
 
150
                        this.Show ();
 
151
                        this.show_combo.Changed += new global::System.EventHandler (this.OnShowComboChanged);
 
152
                        this.scrollw.DragDataReceived += new global::Gtk.DragDataReceivedHandler (this.OnScrollwDragDataReceived);
 
153
                        this.btn_configure.Clicked += new global::System.EventHandler (this.OnBtnConfigurePluginClicked);
 
154
                        this.btn_about.Clicked += new global::System.EventHandler (this.OnAboutBtnClicked);
 
155
                }
 
156
        }
177
157
}