Logo Search packages:      
Sourcecode: f-spot version File versions

Mono.Addins.Gui.NewSiteDialog.cs

// ------------------------------------------------------------------------------
//  <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 Mono.Addins.Gui {
    
    
    internal partial class NewSiteDialog {
        
        private Gtk.VBox vbox89;
        
        private Gtk.Label label121;
        
        private Gtk.RadioButton btnOnlineRep;
        
        private Gtk.HBox hbox68;
        
        private Gtk.Label label122;
        
        private Gtk.Label label119;
        
        private Gtk.Entry urlText;
        
        private Gtk.RadioButton btnLocalRep;
        
        private Gtk.HBox hbox69;
        
        private Gtk.Label label123;
        
        private Gtk.Label label120;
        
        private Gtk.HBox hbox1;
        
        private Gtk.Entry pathEntry;
        
        private Gtk.Button buttonBrowse;
        
        private Gtk.Button cancelbutton1;
        
        private Gtk.Button btnOk;
        
        protected virtual void Build() {
            Stetic.Gui.Initialize();
            // Widget Mono.Addins.Gui.NewSiteDialog
            this.Name = "Mono.Addins.Gui.NewSiteDialog";
            this.Title = Mono.Unix.Catalog.GetString("Add New Repository");
            this.TypeHint = ((Gdk.WindowTypeHint)(1));
            this.DefaultWidth = 550;
            // Internal child Mono.Addins.Gui.NewSiteDialog.VBox
            Gtk.VBox w1 = this.VBox;
            w1.Name = "dialog-vbox11";
            w1.BorderWidth = ((uint)(2));
            // Container child dialog-vbox11.Gtk.Box+BoxChild
            this.vbox89 = new Gtk.VBox();
            this.vbox89.Name = "vbox89";
            this.vbox89.Spacing = 6;
            this.vbox89.BorderWidth = ((uint)(12));
            // Container child vbox89.Gtk.Box+BoxChild
            this.label121 = new Gtk.Label();
            this.label121.Name = "label121";
            this.label121.Xalign = 0F;
            this.label121.LabelProp = Mono.Unix.Catalog.GetString("Select the location of the repository you want to register:");
            this.vbox89.Add(this.label121);
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox89[this.label121]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
            // Container child vbox89.Gtk.Box+BoxChild
            this.btnOnlineRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register an on-line repository"));
            this.btnOnlineRep.CanFocus = true;
            this.btnOnlineRep.Name = "btnOnlineRep";
            this.btnOnlineRep.Active = true;
            this.btnOnlineRep.DrawIndicator = true;
            this.btnOnlineRep.UseUnderline = true;
            this.btnOnlineRep.Group = new GLib.SList(System.IntPtr.Zero);
            this.vbox89.Add(this.btnOnlineRep);
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnOnlineRep]));
            w3.Position = 1;
            w3.Expand = false;
            w3.Fill = false;
            // Container child vbox89.Gtk.Box+BoxChild
            this.hbox68 = new Gtk.HBox();
            this.hbox68.Name = "hbox68";
            this.hbox68.Spacing = 6;
            // Container child hbox68.Gtk.Box+BoxChild
            this.label122 = new Gtk.Label();
            this.label122.WidthRequest = 32;
            this.label122.Name = "label122";
            this.label122.LabelProp = "";
            this.hbox68.Add(this.label122);
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox68[this.label122]));
            w4.Position = 0;
            w4.Expand = false;
            w4.Fill = false;
            // Container child hbox68.Gtk.Box+BoxChild
            this.label119 = new Gtk.Label();
            this.label119.Name = "label119";
            this.label119.LabelProp = Mono.Unix.Catalog.GetString("Url:");
            this.hbox68.Add(this.label119);
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox68[this.label119]));
            w5.Position = 1;
            w5.Expand = false;
            w5.Fill = false;
            // Container child hbox68.Gtk.Box+BoxChild
            this.urlText = new Gtk.Entry();
            this.urlText.CanFocus = true;
            this.urlText.Name = "urlText";
            this.urlText.IsEditable = true;
            this.urlText.InvisibleChar = '●';
            this.hbox68.Add(this.urlText);
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox68[this.urlText]));
            w6.Position = 2;
            this.vbox89.Add(this.hbox68);
            Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox68]));
            w7.Position = 2;
            w7.Expand = false;
            w7.Fill = false;
            // Container child vbox89.Gtk.Box+BoxChild
            this.btnLocalRep = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Register a local repository"));
            this.btnLocalRep.CanFocus = true;
            this.btnLocalRep.Name = "btnLocalRep";
            this.btnLocalRep.DrawIndicator = true;
            this.btnLocalRep.UseUnderline = true;
            this.btnLocalRep.Group = this.btnOnlineRep.Group;
            this.vbox89.Add(this.btnLocalRep);
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox89[this.btnLocalRep]));
            w8.Position = 3;
            w8.Expand = false;
            w8.Fill = false;
            // Container child vbox89.Gtk.Box+BoxChild
            this.hbox69 = new Gtk.HBox();
            this.hbox69.Name = "hbox69";
            this.hbox69.Spacing = 6;
            // Container child hbox69.Gtk.Box+BoxChild
            this.label123 = new Gtk.Label();
            this.label123.WidthRequest = 32;
            this.label123.Name = "label123";
            this.label123.LabelProp = "";
            this.hbox69.Add(this.label123);
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox69[this.label123]));
            w9.Position = 0;
            w9.Expand = false;
            w9.Fill = false;
            // Container child hbox69.Gtk.Box+BoxChild
            this.label120 = new Gtk.Label();
            this.label120.Name = "label120";
            this.label120.LabelProp = Mono.Unix.Catalog.GetString("Path:");
            this.hbox69.Add(this.label120);
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox69[this.label120]));
            w10.Position = 1;
            w10.Expand = false;
            w10.Fill = false;
            // Container child hbox69.Gtk.Box+BoxChild
            this.hbox1 = new Gtk.HBox();
            this.hbox1.Name = "hbox1";
            this.hbox1.Spacing = 6;
            // Container child hbox1.Gtk.Box+BoxChild
            this.pathEntry = new Gtk.Entry();
            this.pathEntry.CanFocus = true;
            this.pathEntry.Name = "pathEntry";
            this.pathEntry.IsEditable = true;
            this.pathEntry.InvisibleChar = '●';
            this.hbox1.Add(this.pathEntry);
            Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox1[this.pathEntry]));
            w11.Position = 0;
            // Container child hbox1.Gtk.Box+BoxChild
            this.buttonBrowse = new Gtk.Button();
            this.buttonBrowse.CanFocus = true;
            this.buttonBrowse.Name = "buttonBrowse";
            this.buttonBrowse.UseUnderline = true;
            this.buttonBrowse.Label = Mono.Unix.Catalog.GetString("Browse...");
            this.hbox1.Add(this.buttonBrowse);
            Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox1[this.buttonBrowse]));
            w12.Position = 1;
            w12.Expand = false;
            w12.Fill = false;
            this.hbox69.Add(this.hbox1);
            Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox69[this.hbox1]));
            w13.Position = 2;
            this.vbox89.Add(this.hbox69);
            Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox89[this.hbox69]));
            w14.Position = 4;
            w14.Expand = false;
            w14.Fill = false;
            w1.Add(this.vbox89);
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.vbox89]));
            w15.Position = 0;
            // Internal child Mono.Addins.Gui.NewSiteDialog.ActionArea
            Gtk.HButtonBox w16 = this.ActionArea;
            w16.Name = "dialog-action_area11";
            w16.Spacing = 10;
            w16.BorderWidth = ((uint)(5));
            w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
            // Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
            this.cancelbutton1 = new Gtk.Button();
            this.cancelbutton1.CanDefault = true;
            this.cancelbutton1.CanFocus = true;
            this.cancelbutton1.Name = "cancelbutton1";
            this.cancelbutton1.UseStock = true;
            this.cancelbutton1.UseUnderline = true;
            this.cancelbutton1.Label = "gtk-cancel";
            this.AddActionWidget(this.cancelbutton1, -6);
            // Container child dialog-action_area11.Gtk.ButtonBox+ButtonBoxChild
            this.btnOk = new Gtk.Button();
            this.btnOk.CanDefault = true;
            this.btnOk.CanFocus = true;
            this.btnOk.Name = "btnOk";
            this.btnOk.UseStock = true;
            this.btnOk.UseUnderline = true;
            this.btnOk.Label = "gtk-ok";
            this.AddActionWidget(this.btnOk, -5);
            Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.btnOk]));
            w18.Position = 1;
            if ((this.Child != null)) {
                this.Child.ShowAll();
            }
            this.DefaultHeight = 235;
            this.Show();
            this.btnOnlineRep.Clicked += new System.EventHandler(this.OnOptionClicked);
            this.btnLocalRep.Clicked += new System.EventHandler(this.OnOptionClicked);
            this.pathEntry.Changed += new System.EventHandler(this.OnPathEntryChanged);
            this.buttonBrowse.Clicked += new System.EventHandler(this.OnButtonBrowseClicked);
        }
    }
}

Generated by  Doxygen 1.6.0   Back to index