~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

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

  • Committer: Jason Jones
  • Date: 2008-11-19 01:49:28 UTC
  • Revision ID: jasonedwardjones@gmail.com-20081119014928-ahvnxb3yursnq7lh
Adding LodgeIt pastebin provider.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        
26
26
        private Gtk.RadioButton PastebinCARadioButton;
27
27
        
 
28
        private Gtk.RadioButton LodgeItRadioButton;
 
29
        
28
30
        private Gtk.Label GtkLabel2;
29
31
        
30
32
        protected virtual void Build() {
73
75
            w2.Position = 1;
74
76
            w2.Expand = false;
75
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;
 
88
            w3.Expand = false;
 
89
            w3.Fill = false;
76
90
            this.GtkAlignment.Add(this.vbox2);
77
91
            this.frame1.Add(this.GtkAlignment);
78
92
            this.GtkLabel2 = new Gtk.Label();
81
95
            this.GtkLabel2.UseMarkup = true;
82
96
            this.frame1.LabelWidget = this.GtkLabel2;
83
97
            this.vbox1.Add(this.frame1);
84
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
85
 
            w5.Position = 0;
86
 
            w5.Expand = false;
87
 
            w5.Fill = false;
 
98
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
 
99
            w6.Position = 0;
 
100
            w6.Expand = false;
 
101
            w6.Fill = false;
88
102
            this.Add(this.vbox1);
89
103
            if ((this.Child != null)) {
90
104
                this.Child.ShowAll();
92
106
            this.Show();
93
107
            this.Paste2RadioButton.Toggled += new System.EventHandler(this.OnPaste2Toggled);
94
108
            this.PastebinCARadioButton.Toggled += new System.EventHandler(this.OnPastebinCAToggled);
 
109
            this.LodgeItRadioButton.Toggled += new System.EventHandler(this.OnPastebinCAToggled);
95
110
        }
96
111
    }
97
112
}