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

« back to all changes in this revision

Viewing changes to Do/gtk-gui/Do.UI.GeneralPreferencesWidget.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 GeneralPreferencesWidget {
15
 
        
16
 
        private Gtk.Alignment alignment4;
17
 
        
18
 
        private Gtk.VBox vbox1;
19
 
        
20
 
        private Gtk.Label label1;
21
 
        
22
 
        private Gtk.Alignment alignment2;
23
 
        
24
 
        private Gtk.VBox vbox4;
25
 
        
26
 
        private Gtk.CheckButton login_check;
27
 
        
28
 
        private Gtk.CheckButton hide_check;
29
 
        
30
 
        private Gtk.CheckButton notification_check;
31
 
        
32
 
        protected virtual void Build() {
33
 
            Stetic.Gui.Initialize(this);
34
 
            // Widget Do.UI.GeneralPreferencesWidget
35
 
            Stetic.BinContainer.Attach(this);
36
 
            this.Name = "Do.UI.GeneralPreferencesWidget";
37
 
            // Container child Do.UI.GeneralPreferencesWidget.Gtk.Container+ContainerChild
38
 
            this.alignment4 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
39
 
            this.alignment4.Name = "alignment4";
40
 
            this.alignment4.BorderWidth = ((uint)(10));
41
 
            // Container child alignment4.Gtk.Container+ContainerChild
42
 
            this.vbox1 = new Gtk.VBox();
43
 
            this.vbox1.Name = "vbox1";
44
 
            this.vbox1.Spacing = 6;
45
 
            // Container child vbox1.Gtk.Box+BoxChild
46
 
            this.label1 = new Gtk.Label();
47
 
            this.label1.Name = "label1";
48
 
            this.label1.Xalign = 0F;
49
 
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("<b>First-launch Behavior</b>");
50
 
            this.label1.UseMarkup = true;
51
 
            this.vbox1.Add(this.label1);
52
 
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.label1]));
53
 
            w1.Position = 0;
54
 
            w1.Expand = false;
55
 
            w1.Fill = false;
56
 
            // Container child vbox1.Gtk.Box+BoxChild
57
 
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
58
 
            this.alignment2.Name = "alignment2";
59
 
            this.alignment2.LeftPadding = ((uint)(20));
60
 
            this.alignment2.BottomPadding = ((uint)(10));
61
 
            // Container child alignment2.Gtk.Container+ContainerChild
62
 
            this.vbox4 = new Gtk.VBox();
63
 
            this.vbox4.Name = "vbox4";
64
 
            this.vbox4.Spacing = 6;
65
 
            // Container child vbox4.Gtk.Box+BoxChild
66
 
            this.login_check = new Gtk.CheckButton();
67
 
            this.login_check.CanFocus = true;
68
 
            this.login_check.Name = "login_check";
69
 
            this.login_check.Label = Mono.Unix.Catalog.GetString("Start GNOME Do at login.");
70
 
            this.login_check.DrawIndicator = true;
71
 
            this.login_check.UseUnderline = true;
72
 
            this.vbox4.Add(this.login_check);
73
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox4[this.login_check]));
74
 
            w2.Position = 0;
75
 
            w2.Expand = false;
76
 
            w2.Fill = false;
77
 
            // Container child vbox4.Gtk.Box+BoxChild
78
 
            this.hide_check = new Gtk.CheckButton();
79
 
            this.hide_check.CanFocus = true;
80
 
            this.hide_check.Name = "hide_check";
81
 
            this.hide_check.Label = Mono.Unix.Catalog.GetString("Hide window on first launch (quiet mode).");
82
 
            this.hide_check.DrawIndicator = true;
83
 
            this.hide_check.UseUnderline = true;
84
 
            this.vbox4.Add(this.hide_check);
85
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox4[this.hide_check]));
86
 
            w3.Position = 1;
87
 
            w3.Expand = false;
88
 
            w3.Fill = false;
89
 
            // Container child vbox4.Gtk.Box+BoxChild
90
 
            this.notification_check = new Gtk.CheckButton();
91
 
            this.notification_check.CanFocus = true;
92
 
            this.notification_check.Name = "notification_check";
93
 
            this.notification_check.Label = Mono.Unix.Catalog.GetString("Show notification icon");
94
 
            this.notification_check.DrawIndicator = true;
95
 
            this.notification_check.UseUnderline = true;
96
 
            this.vbox4.Add(this.notification_check);
97
 
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox4[this.notification_check]));
98
 
            w4.Position = 2;
99
 
            w4.Expand = false;
100
 
            w4.Fill = false;
101
 
            this.alignment2.Add(this.vbox4);
102
 
            this.vbox1.Add(this.alignment2);
103
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.alignment2]));
104
 
            w6.Position = 1;
105
 
            w6.Expand = false;
106
 
            w6.Fill = false;
107
 
            this.alignment4.Add(this.vbox1);
108
 
            this.Add(this.alignment4);
109
 
            if ((this.Child != null)) {
110
 
                this.Child.ShowAll();
111
 
            }
112
 
            this.Show();
113
 
            this.login_check.Clicked += new System.EventHandler(this.OnLoginCheckClicked);
114
 
            this.hide_check.Clicked += new System.EventHandler(this.OnHideCheckClicked);
115
 
            this.notification_check.Clicked += new System.EventHandler(this.OnNotificationCheckClicked);
116
 
        }
117
 
    }
 
2
// This file has been generated by the GUI designer. Do not modify.
 
3
namespace Do.UI
 
4
{
 
5
        public partial class GeneralPreferencesWidget
 
6
        {
 
7
                private global::Gtk.Alignment alignment4;
 
8
                private global::Gtk.VBox vbox1;
 
9
                private global::Gtk.Label label1;
 
10
                private global::Gtk.Alignment alignment2;
 
11
                private global::Gtk.VBox vbox4;
 
12
                private global::Gtk.CheckButton login_check;
 
13
                private global::Gtk.CheckButton hide_check;
 
14
                private global::Gtk.CheckButton notification_check;
 
15
        
 
16
                protected virtual void Build ()
 
17
                {
 
18
                        global::Stetic.Gui.Initialize (this);
 
19
                        // Widget Do.UI.GeneralPreferencesWidget
 
20
                        global::Stetic.BinContainer.Attach (this);
 
21
                        this.Name = "Do.UI.GeneralPreferencesWidget";
 
22
                        // Container child Do.UI.GeneralPreferencesWidget.Gtk.Container+ContainerChild
 
23
                        this.alignment4 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
24
                        this.alignment4.Name = "alignment4";
 
25
                        this.alignment4.BorderWidth = ((uint)(10));
 
26
                        // Container child alignment4.Gtk.Container+ContainerChild
 
27
                        this.vbox1 = new global::Gtk.VBox ();
 
28
                        this.vbox1.Name = "vbox1";
 
29
                        this.vbox1.Spacing = 6;
 
30
                        // Container child vbox1.Gtk.Box+BoxChild
 
31
                        this.label1 = new global::Gtk.Label ();
 
32
                        this.label1.Name = "label1";
 
33
                        this.label1.Xalign = 0F;
 
34
                        this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>First-launch Behavior</b>");
 
35
                        this.label1.UseMarkup = true;
 
36
                        this.vbox1.Add (this.label1);
 
37
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1]));
 
38
                        w1.Position = 0;
 
39
                        w1.Expand = false;
 
40
                        w1.Fill = false;
 
41
                        // Container child vbox1.Gtk.Box+BoxChild
 
42
                        this.alignment2 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
 
43
                        this.alignment2.Name = "alignment2";
 
44
                        this.alignment2.LeftPadding = ((uint)(20));
 
45
                        this.alignment2.BottomPadding = ((uint)(10));
 
46
                        // Container child alignment2.Gtk.Container+ContainerChild
 
47
                        this.vbox4 = new global::Gtk.VBox ();
 
48
                        this.vbox4.Name = "vbox4";
 
49
                        this.vbox4.Spacing = 6;
 
50
                        // Container child vbox4.Gtk.Box+BoxChild
 
51
                        this.login_check = new global::Gtk.CheckButton ();
 
52
                        this.login_check.CanFocus = true;
 
53
                        this.login_check.Name = "login_check";
 
54
                        this.login_check.Label = global::Mono.Unix.Catalog.GetString ("Start GNOME Do at login.");
 
55
                        this.login_check.DrawIndicator = true;
 
56
                        this.login_check.UseUnderline = true;
 
57
                        this.vbox4.Add (this.login_check);
 
58
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.login_check]));
 
59
                        w2.Position = 0;
 
60
                        w2.Expand = false;
 
61
                        w2.Fill = false;
 
62
                        // Container child vbox4.Gtk.Box+BoxChild
 
63
                        this.hide_check = new global::Gtk.CheckButton ();
 
64
                        this.hide_check.CanFocus = true;
 
65
                        this.hide_check.Name = "hide_check";
 
66
                        this.hide_check.Label = global::Mono.Unix.Catalog.GetString ("Hide window on first launch (quiet mode).");
 
67
                        this.hide_check.DrawIndicator = true;
 
68
                        this.hide_check.UseUnderline = true;
 
69
                        this.vbox4.Add (this.hide_check);
 
70
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hide_check]));
 
71
                        w3.Position = 1;
 
72
                        w3.Expand = false;
 
73
                        w3.Fill = false;
 
74
                        // Container child vbox4.Gtk.Box+BoxChild
 
75
                        this.notification_check = new global::Gtk.CheckButton ();
 
76
                        this.notification_check.CanFocus = true;
 
77
                        this.notification_check.Name = "notification_check";
 
78
                        this.notification_check.Label = global::Mono.Unix.Catalog.GetString ("Show notification icon");
 
79
                        this.notification_check.DrawIndicator = true;
 
80
                        this.notification_check.UseUnderline = true;
 
81
                        this.vbox4.Add (this.notification_check);
 
82
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.notification_check]));
 
83
                        w4.Position = 2;
 
84
                        w4.Expand = false;
 
85
                        w4.Fill = false;
 
86
                        this.alignment2.Add (this.vbox4);
 
87
                        this.vbox1.Add (this.alignment2);
 
88
                        global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.alignment2]));
 
89
                        w6.Position = 1;
 
90
                        w6.Expand = false;
 
91
                        w6.Fill = false;
 
92
                        this.alignment4.Add (this.vbox1);
 
93
                        this.Add (this.alignment4);
 
94
                        if ((this.Child != null)) {
 
95
                                this.Child.ShowAll ();
 
96
                        }
 
97
                        this.Show ();
 
98
                        this.login_check.Clicked += new global::System.EventHandler (this.OnLoginCheckClicked);
 
99
                        this.hide_check.Clicked += new global::System.EventHandler (this.OnHideCheckClicked);
 
100
                        this.notification_check.Clicked += new global::System.EventHandler (this.OnNotificationCheckClicked);
 
101
                }
 
102
        }
118
103
}