~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Pastebin/gtk-gui/Pastebin.PastebinConfig.cs

  • Committer: Chris Szikszoy
  • Date: 2008-11-21 05:09:06 UTC
  • Revision ID: chris@chris-laptop-ibex-20081121050906-y3rh3ni89a503kw2
changes to Pastebin UI

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
        
22
22
        private Gtk.VBox vbox2;
23
23
        
24
 
        private Gtk.RadioButton Paste2RadioButton;
25
 
        
26
 
        private Gtk.RadioButton PastebinCARadioButton;
27
 
        
28
 
        private Gtk.RadioButton LodgeItRadioButton;
 
24
        private Gtk.ComboBox cmbProvider;
 
25
        
 
26
        private Gtk.HBox hbox1;
 
27
        
 
28
        private Gtk.Label lblCodes;
 
29
        
 
30
        private Gtk.ScrolledWindow GtkScrolledWindow;
 
31
        
 
32
        private Gtk.TreeView treeCodes;
29
33
        
30
34
        private Gtk.Label GtkLabel3;
31
35
        
51
55
            this.vbox2.Name = "vbox2";
52
56
            this.vbox2.Spacing = 6;
53
57
            // Container child vbox2.Gtk.Box+BoxChild
54
 
            this.Paste2RadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Paste2.org"));
55
 
            this.Paste2RadioButton.CanFocus = true;
56
 
            this.Paste2RadioButton.Name = "Paste2RadioButton";
57
 
            this.Paste2RadioButton.Active = true;
58
 
            this.Paste2RadioButton.DrawIndicator = true;
59
 
            this.Paste2RadioButton.UseUnderline = true;
60
 
            this.Paste2RadioButton.Group = new GLib.SList(System.IntPtr.Zero);
61
 
            this.vbox2.Add(this.Paste2RadioButton);
62
 
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.Paste2RadioButton]));
 
58
            this.cmbProvider = Gtk.ComboBox.NewText();
 
59
            this.cmbProvider.Name = "cmbProvider";
 
60
            this.vbox2.Add(this.cmbProvider);
 
61
            Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox2[this.cmbProvider]));
63
62
            w1.Position = 0;
64
63
            w1.Expand = false;
65
64
            w1.Fill = false;
66
65
            // Container child vbox2.Gtk.Box+BoxChild
67
 
            this.PastebinCARadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("pastebin.ca"));
68
 
            this.PastebinCARadioButton.CanFocus = true;
69
 
            this.PastebinCARadioButton.Name = "PastebinCARadioButton";
70
 
            this.PastebinCARadioButton.DrawIndicator = true;
71
 
            this.PastebinCARadioButton.UseUnderline = true;
72
 
            this.PastebinCARadioButton.Group = this.Paste2RadioButton.Group;
73
 
            this.vbox2.Add(this.PastebinCARadioButton);
74
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.PastebinCARadioButton]));
75
 
            w2.Position = 1;
 
66
            this.hbox1 = new Gtk.HBox();
 
67
            this.hbox1.Name = "hbox1";
 
68
            this.hbox1.Spacing = 6;
 
69
            // Container child hbox1.Gtk.Box+BoxChild
 
70
            this.lblCodes = new Gtk.Label();
 
71
            this.lblCodes.Name = "lblCodes";
 
72
            this.lblCodes.LabelProp = Mono.Unix.Catalog.GetString("Supported Codes\t\t\t");
 
73
            this.hbox1.Add(this.lblCodes);
 
74
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblCodes]));
 
75
            w2.Position = 0;
76
76
            w2.Expand = false;
77
77
            w2.Fill = false;
78
 
            // Container child vbox2.Gtk.Box+BoxChild
79
 
            this.LodgeItRadioButton = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("paste.pocoo.org"));
80
 
            this.LodgeItRadioButton.CanFocus = true;
81
 
            this.LodgeItRadioButton.Name = "LodgeItRadioButton";
82
 
            this.LodgeItRadioButton.DrawIndicator = true;
83
 
            this.LodgeItRadioButton.UseUnderline = true;
84
 
            this.LodgeItRadioButton.Group = this.Paste2RadioButton.Group;
85
 
            this.vbox2.Add(this.LodgeItRadioButton);
86
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.LodgeItRadioButton]));
87
 
            w3.Position = 2;
 
78
            this.vbox2.Add(this.hbox1);
 
79
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
 
80
            w3.Position = 1;
88
81
            w3.Expand = false;
89
82
            w3.Fill = false;
 
83
            // Container child vbox2.Gtk.Box+BoxChild
 
84
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
 
85
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
 
86
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
 
87
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
 
88
            this.treeCodes = new Gtk.TreeView();
 
89
            this.treeCodes.CanFocus = true;
 
90
            this.treeCodes.Name = "treeCodes";
 
91
            this.treeCodes.EnableSearch = false;
 
92
            this.treeCodes.HeadersVisible = false;
 
93
            this.GtkScrolledWindow.Add(this.treeCodes);
 
94
            this.vbox2.Add(this.GtkScrolledWindow);
 
95
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
 
96
            w5.Position = 2;
90
97
            this.GtkAlignment.Add(this.vbox2);
91
98
            this.frame1.Add(this.GtkAlignment);
92
99
            this.GtkLabel3 = new Gtk.Label();
95
102
            this.GtkLabel3.UseMarkup = true;
96
103
            this.frame1.LabelWidget = this.GtkLabel3;
97
104
            this.vbox1.Add(this.frame1);
98
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
99
 
            w6.Position = 0;
100
 
            w6.Expand = false;
101
 
            w6.Fill = false;
 
105
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
 
106
            w8.Position = 0;
102
107
            this.Add(this.vbox1);
103
108
            if ((this.Child != null)) {
104
109
                this.Child.ShowAll();
105
110
            }
106
111
            this.Show();
107
 
            this.Paste2RadioButton.Toggled += new System.EventHandler(this.OnPaste2Toggled);
108
 
            this.PastebinCARadioButton.Toggled += new System.EventHandler(this.OnPastebinCAToggled);
109
 
            this.LodgeItRadioButton.Toggled += new System.EventHandler(this.OnLodgeItToggled);
 
112
            this.cmbProvider.Changed += new System.EventHandler(this.cmbProviderChanged);
110
113
        }
111
114
    }
112
115
}