~cszikszoy/do-plugins/fix-confluence

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

namespace SystemServices {
    
    
    public partial class SystemServicesConfig {
        
        private Gtk.VBox vbox1;
        
        private Gtk.Label label1;
        
        private Gtk.HBox hbox1;
        
        private Gtk.Entry eCommand;
        
        private Gtk.Button btnSelectFile;
        
        private Gtk.Label label2;
        
        private Gtk.ScrolledWindow scrolledwindow1;
        
        private Gtk.VBox boxServicesList;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize(this);
            // Widget SystemServices.SystemServicesConfig
            Stetic.BinContainer.Attach(this);
            this.Name = "SystemServices.SystemServicesConfig";
            // Container child SystemServices.SystemServicesConfig.Gtk.Container+ContainerChild
            this.vbox1 = new Gtk.VBox();
            this.vbox1.Name = "vbox1";
            this.vbox1.Spacing = 6;
            this.vbox1.BorderWidth = ((uint)(4));
            // Container child vbox1.Gtk.Box+BoxChild
            this.label1 = new Gtk.Label();
            this.label1.Name = "label1";
            this.label1.Xalign = 0F;
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Command for start/stop services (gksudo, etc):");
            this.vbox1.Add(this.label1);
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox1[this.label1]));
            w1.Position = 0;
            w1.Expand = false;
            w1.Fill = false;
            // Container child vbox1.Gtk.Box+BoxChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.eCommand = new Gtk.Entry();
            this.eCommand.CanFocus = true;
            this.eCommand.Name = "eCommand";
            this.eCommand.IsEditable = true;
            this.eCommand.InvisibleChar = '●';
            this.hbox1.Add(this.eCommand);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.eCommand]));
            w2.Position = 0;
            // Container child hbox1.Gtk.Box+BoxChild
            this.btnSelectFile = new Gtk.Button();
            Gtk.Tooltips w3 = new Gtk.Tooltips();
            w3.SetTip(this.btnSelectFile, "Select file", "Select file");
            this.btnSelectFile.CanFocus = true;
            this.btnSelectFile.Name = "btnSelectFile";
            this.btnSelectFile.UseUnderline = true;
            this.btnSelectFile.Label = Mono.Unix.Catalog.GetString("...");
            this.hbox1.Add(this.btnSelectFile);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.btnSelectFile]));
            w4.Position = 1;
            w4.Expand = false;
            w4.Fill = false;
            this.vbox1.Add(this.hbox1);
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
            w5.Position = 1;
            w5.Expand = false;
            w5.Fill = false;
            // Container child vbox1.Gtk.Box+BoxChild
            this.label2 = new Gtk.Label();
            this.label2.Name = "label2";
            this.label2.Xalign = 0F;
            this.label2.LabelProp = Mono.Unix.Catalog.GetString("Services to control:");
            this.vbox1.Add(this.label2);
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.label2]));
            w6.Position = 2;
            w6.Expand = false;
            w6.Fill = false;
            // Container child vbox1.Gtk.Box+BoxChild
            this.scrolledwindow1 = new Gtk.ScrolledWindow();
            this.scrolledwindow1.CanFocus = true;
            this.scrolledwindow1.Name = "scrolledwindow1";
            this.scrolledwindow1.ShadowType = ((Gtk.ShadowType)(1));
            // Container child scrolledwindow1.Gtk.Container+ContainerChild
            Gtk.Viewport w7 = new Gtk.Viewport();
            w7.ShadowType = ((Gtk.ShadowType)(0));
            // Container child GtkViewport.Gtk.Container+ContainerChild
            this.boxServicesList = new Gtk.VBox();
            this.boxServicesList.Name = "boxServicesList";
            this.boxServicesList.Spacing = 2;
            w7.Add(this.boxServicesList);
            this.scrolledwindow1.Add(w7);
            this.vbox1.Add(this.scrolledwindow1);
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.scrolledwindow1]));
            w10.Position = 3;
            this.Add(this.vbox1);
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.Show();
            this.eCommand.Changed += new System.EventHandler(this.OnECommandChanged);
            this.btnSelectFile.Clicked += new System.EventHandler(this.OnBtnSelectFileClicked);
        }
    }
}