00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 namespace Foodolini.Activities {
00012
00013
00014 public partial class ConfirmDialog {
00015
00016 private Gtk.Alignment alignment1;
00017
00018 private Gtk.HBox hbox1;
00019
00020 private Gtk.Image image218;
00021
00022 private Gtk.Label lbContent;
00023
00024 private Gtk.Label lbContent1;
00025
00026 private Gtk.Button buttonCancel;
00027
00028 private Gtk.Button buttonOk;
00029
00030 protected virtual void Build() {
00031 Stetic.Gui.Initialize(this);
00032
00033 this.Name = "Foodolini.Activities.ConfirmDialog";
00034 this.WindowPosition = ((Gtk.WindowPosition)(4));
00035
00036 Gtk.VBox w1 = this.VBox;
00037 w1.Name = "dialog1_VBox";
00038 w1.BorderWidth = ((uint)(2));
00039
00040 this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
00041 this.alignment1.Name = "alignment1";
00042 this.alignment1.LeftPadding = ((uint)(12));
00043 this.alignment1.TopPadding = ((uint)(12));
00044 this.alignment1.RightPadding = ((uint)(12));
00045 this.alignment1.BottomPadding = ((uint)(24));
00046
00047 this.hbox1 = new Gtk.HBox();
00048 this.hbox1.Name = "hbox1";
00049 this.hbox1.Spacing = 6;
00050
00051 this.image218 = new Gtk.Image();
00052 this.image218.Name = "image218";
00053 this.image218.Pixbuf = Gdk.Pixbuf.LoadFromResource("help-contents.svg");
00054 this.hbox1.Add(this.image218);
00055 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image218]));
00056 w2.Position = 0;
00057 w2.Expand = false;
00058 w2.Fill = false;
00059
00060 this.lbContent = new Gtk.Label();
00061 this.lbContent.WidthRequest = 12;
00062 this.lbContent.Name = "lbContent";
00063 this.hbox1.Add(this.lbContent);
00064 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.lbContent]));
00065 w3.Position = 1;
00066 w3.Expand = false;
00067 w3.Fill = false;
00068
00069 this.lbContent1 = new Gtk.Label();
00070 this.lbContent1.Name = "lbContent1";
00071 this.hbox1.Add(this.lbContent1);
00072 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox1[this.lbContent1]));
00073 w4.Position = 2;
00074 this.alignment1.Add(this.hbox1);
00075 w1.Add(this.alignment1);
00076 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.alignment1]));
00077 w6.Position = 0;
00078 w6.Expand = false;
00079 w6.Fill = false;
00080
00081 Gtk.HButtonBox w7 = this.ActionArea;
00082 w7.Name = "dialog1_ActionArea";
00083 w7.Spacing = 6;
00084 w7.BorderWidth = ((uint)(5));
00085 w7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
00086
00087 this.buttonCancel = new Gtk.Button();
00088 this.buttonCancel.CanDefault = true;
00089 this.buttonCancel.CanFocus = true;
00090 this.buttonCancel.Name = "buttonCancel";
00091 this.buttonCancel.UseUnderline = true;
00092
00093 Gtk.Alignment w8 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
00094
00095 Gtk.HBox w9 = new Gtk.HBox();
00096 w9.Spacing = 2;
00097
00098 Gtk.Image w10 = new Gtk.Image();
00099 w10.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-cancel", Gtk.IconSize.Menu, 16);
00100 w9.Add(w10);
00101
00102 Gtk.Label w12 = new Gtk.Label();
00103 w12.LabelProp = Mono.Unix.Catalog.GetString("_Cancel");
00104 w12.UseUnderline = true;
00105 w9.Add(w12);
00106 w8.Add(w9);
00107 this.buttonCancel.Add(w8);
00108 this.AddActionWidget(this.buttonCancel, -6);
00109 Gtk.ButtonBox.ButtonBoxChild w16 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel]));
00110 w16.Expand = false;
00111 w16.Fill = false;
00112
00113 this.buttonOk = new Gtk.Button();
00114 this.buttonOk.CanDefault = true;
00115 this.buttonOk.CanFocus = true;
00116 this.buttonOk.Name = "buttonOk";
00117 this.buttonOk.UseUnderline = true;
00118
00119 Gtk.Alignment w17 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
00120
00121 Gtk.HBox w18 = new Gtk.HBox();
00122 w18.Spacing = 2;
00123
00124 Gtk.Image w19 = new Gtk.Image();
00125 w19.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-apply", Gtk.IconSize.Menu, 16);
00126 w18.Add(w19);
00127
00128 Gtk.Label w21 = new Gtk.Label();
00129 w21.LabelProp = Mono.Unix.Catalog.GetString("_O.k.");
00130 w21.UseUnderline = true;
00131 w18.Add(w21);
00132 w17.Add(w18);
00133 this.buttonOk.Add(w17);
00134 this.AddActionWidget(this.buttonOk, -5);
00135 Gtk.ButtonBox.ButtonBoxChild w25 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
00136 w25.Position = 1;
00137 w25.Expand = false;
00138 w25.Fill = false;
00139 if ((this.Child != null)) {
00140 this.Child.ShowAll();
00141 }
00142 this.DefaultWidth = 407;
00143 this.DefaultHeight = 158;
00144 this.Show();
00145 }
00146 }
00147 }