~ubuntu-branches/ubuntu/precise/gnome-do/precise-backports

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-26 11:12:21 UTC
  • mfrom: (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: package-import@ubuntu.com-20120326111221-r38me9l4lvegczar
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 PreferencesWindow {
15
 
        
16
 
        private Gtk.VBox vbox1;
17
 
        
18
 
        private Gtk.HBox hbox1;
19
 
        
20
 
        private Gtk.Notebook notebook;
21
 
        
22
 
        private Gtk.HButtonBox hbuttonbox2;
23
 
        
24
 
        private Gtk.Button btn_help;
25
 
        
26
 
        private Gtk.Button btn_close;
27
 
        
28
 
        protected virtual void Build() {
29
 
            Stetic.Gui.Initialize(this);
30
 
            // Widget Do.UI.PreferencesWindow
31
 
            this.WidthRequest = 428;
32
 
            this.HeightRequest = 440;
33
 
            this.Name = "Do.UI.PreferencesWindow";
34
 
            this.Title = Mono.Unix.Catalog.GetString("GNOME Do Preferences");
35
 
            this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-preferences", Gtk.IconSize.Menu, 16);
36
 
            this.WindowPosition = ((Gtk.WindowPosition)(1));
37
 
            this.BorderWidth = ((uint)(6));
38
 
            // Container child Do.UI.PreferencesWindow.Gtk.Container+ContainerChild
39
 
            this.vbox1 = new Gtk.VBox();
40
 
            this.vbox1.Name = "vbox1";
41
 
            this.vbox1.Spacing = 6;
42
 
            // Container child vbox1.Gtk.Box+BoxChild
43
 
            this.hbox1 = new Gtk.HBox();
44
 
            this.hbox1.Name = "hbox1";
45
 
            this.hbox1.Spacing = 6;
46
 
            // Container child hbox1.Gtk.Box+BoxChild
47
 
            this.notebook = new Gtk.Notebook();
48
 
            this.notebook.CanFocus = true;
49
 
            this.notebook.Name = "notebook";
50
 
            this.notebook.CurrentPage = 0;
51
 
            this.hbox1.Add(this.notebook);
52
 
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.notebook]));
53
 
            w1.Position = 0;
54
 
            this.vbox1.Add(this.hbox1);
55
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
56
 
            w2.Position = 0;
57
 
            // Container child vbox1.Gtk.Box+BoxChild
58
 
            this.hbuttonbox2 = new Gtk.HButtonBox();
59
 
            this.hbuttonbox2.Name = "hbuttonbox2";
60
 
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
61
 
            this.btn_help = new Gtk.Button();
62
 
            this.btn_help.CanFocus = true;
63
 
            this.btn_help.Name = "btn_help";
64
 
            this.btn_help.UseStock = true;
65
 
            this.btn_help.UseUnderline = true;
66
 
            this.btn_help.Label = "gtk-help";
67
 
            this.hbuttonbox2.Add(this.btn_help);
68
 
            Gtk.ButtonBox.ButtonBoxChild w3 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_help]));
69
 
            w3.Expand = false;
70
 
            w3.Fill = false;
71
 
            // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
72
 
            this.btn_close = new Gtk.Button();
73
 
            this.btn_close.CanDefault = true;
74
 
            this.btn_close.CanFocus = true;
75
 
            this.btn_close.Name = "btn_close";
76
 
            this.btn_close.UseStock = true;
77
 
            this.btn_close.UseUnderline = true;
78
 
            this.btn_close.Label = "gtk-close";
79
 
            this.hbuttonbox2.Add(this.btn_close);
80
 
            Gtk.ButtonBox.ButtonBoxChild w4 = ((Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btn_close]));
81
 
            w4.Position = 1;
82
 
            w4.Expand = false;
83
 
            w4.Fill = false;
84
 
            this.vbox1.Add(this.hbuttonbox2);
85
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbuttonbox2]));
86
 
            w5.Position = 1;
87
 
            w5.Expand = false;
88
 
            w5.Fill = false;
89
 
            this.Add(this.vbox1);
90
 
            if ((this.Child != null)) {
91
 
                this.Child.ShowAll();
92
 
            }
93
 
            this.DefaultWidth = 450;
94
 
            this.DefaultHeight = 470;
95
 
            this.btn_close.HasDefault = true;
96
 
            this.Show();
97
 
            this.btn_help.Clicked += new System.EventHandler(this.OnBtnHelpClicked);
98
 
            this.btn_close.Clicked += new System.EventHandler(this.OnBtnCloseClicked);
99
 
        }
100
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class PreferencesWindow
 
6
        {
 
7
                private global::Gtk.VBox vbox1;
 
8
                private global::Gtk.HBox hbox1;
 
9
                private global::Gtk.Notebook notebook;
 
10
                private global::Gtk.HButtonBox hbuttonbox2;
 
11
                private global::Gtk.Button btn_help;
 
12
                private global::Gtk.Button btn_close;
 
13
        
 
14
                protected virtual void Build ()
 
15
                {
 
16
                        global::Stetic.Gui.Initialize (this);
 
17
                        // Widget Do.UI.PreferencesWindow
 
18
                        this.WidthRequest = 428;
 
19
                        this.HeightRequest = 440;
 
20
                        this.Name = "Do.UI.PreferencesWindow";
 
21
                        this.Title = global::Mono.Unix.Catalog.GetString ("GNOME Do Preferences");
 
22
                        this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-preferences", global::Gtk.IconSize.Menu);
 
23
                        this.WindowPosition = ((global::Gtk.WindowPosition)(1));
 
24
                        this.BorderWidth = ((uint)(6));
 
25
                        // Container child Do.UI.PreferencesWindow.Gtk.Container+ContainerChild
 
26
                        this.vbox1 = new global::Gtk.VBox ();
 
27
                        this.vbox1.Name = "vbox1";
 
28
                        this.vbox1.Spacing = 6;
 
29
                        // Container child vbox1.Gtk.Box+BoxChild
 
30
                        this.hbox1 = new global::Gtk.HBox ();
 
31
                        this.hbox1.Name = "hbox1";
 
32
                        this.hbox1.Spacing = 6;
 
33
                        // Container child hbox1.Gtk.Box+BoxChild
 
34
                        this.notebook = new global::Gtk.Notebook ();
 
35
                        this.notebook.CanFocus = true;
 
36
                        this.notebook.Name = "notebook";
 
37
                        this.notebook.CurrentPage = 0;
 
38
                        this.hbox1.Add (this.notebook);
 
39
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.notebook]));
 
40
                        w1.Position = 0;
 
41
                        this.vbox1.Add (this.hbox1);
 
42
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
 
43
                        w2.Position = 0;
 
44
                        // Container child vbox1.Gtk.Box+BoxChild
 
45
                        this.hbuttonbox2 = new global::Gtk.HButtonBox ();
 
46
                        this.hbuttonbox2.Name = "hbuttonbox2";
 
47
                        // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
 
48
                        this.btn_help = new global::Gtk.Button ();
 
49
                        this.btn_help.CanFocus = true;
 
50
                        this.btn_help.Name = "btn_help";
 
51
                        this.btn_help.UseStock = true;
 
52
                        this.btn_help.UseUnderline = true;
 
53
                        this.btn_help.Label = "gtk-help";
 
54
                        this.hbuttonbox2.Add (this.btn_help);
 
55
                        global::Gtk.ButtonBox.ButtonBoxChild w3 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btn_help]));
 
56
                        w3.Expand = false;
 
57
                        w3.Fill = false;
 
58
                        // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
 
59
                        this.btn_close = new global::Gtk.Button ();
 
60
                        this.btn_close.CanDefault = true;
 
61
                        this.btn_close.CanFocus = true;
 
62
                        this.btn_close.Name = "btn_close";
 
63
                        this.btn_close.UseStock = true;
 
64
                        this.btn_close.UseUnderline = true;
 
65
                        this.btn_close.Label = "gtk-close";
 
66
                        this.hbuttonbox2.Add (this.btn_close);
 
67
                        global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btn_close]));
 
68
                        w4.Position = 1;
 
69
                        w4.Expand = false;
 
70
                        w4.Fill = false;
 
71
                        this.vbox1.Add (this.hbuttonbox2);
 
72
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbuttonbox2]));
 
73
                        w5.Position = 1;
 
74
                        w5.Expand = false;
 
75
                        w5.Fill = false;
 
76
                        this.Add (this.vbox1);
 
77
                        if ((this.Child != null)) {
 
78
                                this.Child.ShowAll ();
 
79
                        }
 
80
                        this.DefaultWidth = 450;
 
81
                        this.DefaultHeight = 470;
 
82
                        this.btn_close.HasDefault = true;
 
83
                        this.Show ();
 
84
                        this.btn_help.Clicked += new global::System.EventHandler (this.OnBtnHelpClicked);
 
85
                        this.btn_close.Clicked += new global::System.EventHandler (this.OnBtnCloseClicked);
 
86
                }
 
87
        }
101
88
}