00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 namespace Foodolini.Activities {
00012
00013
00014 public partial class StoreRecipe {
00015
00016 private Gtk.HBox hbox1;
00017
00018 private Gtk.Image image14;
00019
00020 private Gtk.Label label1;
00021
00022 private Gtk.Button buttonCancel;
00023
00024 private Gtk.Button buttonOk;
00025
00026 protected virtual void Build() {
00027 Stetic.Gui.Initialize(this);
00028
00029 this.Name = "Foodolini.Activities.StoreRecipe";
00030 this.WindowPosition = ((Gtk.WindowPosition)(4));
00031 this.HasSeparator = false;
00032
00033 Gtk.VBox w1 = this.VBox;
00034 w1.Name = "dialog1_VBox";
00035 w1.BorderWidth = ((uint)(2));
00036
00037 this.hbox1 = new Gtk.HBox();
00038 this.hbox1.Name = "hbox1";
00039 this.hbox1.Spacing = 6;
00040
00041 this.image14 = new Gtk.Image();
00042 this.image14.Name = "image14";
00043 this.image14.Pixbuf = Gdk.Pixbuf.LoadFromResource("help-contents.svg");
00044 this.hbox1.Add(this.image14);
00045 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.image14]));
00046 w2.Position = 0;
00047 w2.Expand = false;
00048 w2.Fill = false;
00049
00050 this.label1 = new Gtk.Label();
00051 this.label1.Name = "label1";
00052 this.label1.Xalign = 0F;
00053 this.label1.LabelProp = Mono.Unix.Catalog.GetString("Are you sure you want to store \nthis recipe as a food item?");
00054 this.hbox1.Add(this.label1);
00055 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
00056 w3.Position = 1;
00057 w1.Add(this.hbox1);
00058 Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
00059 w4.Position = 0;
00060
00061 Gtk.HButtonBox w5 = this.ActionArea;
00062 w5.Name = "dialog1_ActionArea";
00063 w5.Spacing = 6;
00064 w5.BorderWidth = ((uint)(5));
00065 w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
00066
00067 this.buttonCancel = new Gtk.Button();
00068 this.buttonCancel.CanDefault = true;
00069 this.buttonCancel.CanFocus = true;
00070 this.buttonCancel.Name = "buttonCancel";
00071 this.buttonCancel.UseStock = true;
00072 this.buttonCancel.UseUnderline = true;
00073 this.buttonCancel.Label = "gtk-cancel";
00074 this.AddActionWidget(this.buttonCancel, -6);
00075 Gtk.ButtonBox.ButtonBoxChild w6 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonCancel]));
00076 w6.Expand = false;
00077 w6.Fill = false;
00078
00079 this.buttonOk = new Gtk.Button();
00080 this.buttonOk.CanDefault = true;
00081 this.buttonOk.CanFocus = true;
00082 this.buttonOk.Name = "buttonOk";
00083 this.buttonOk.UseStock = true;
00084 this.buttonOk.UseUnderline = true;
00085 this.buttonOk.Label = "gtk-ok";
00086 this.AddActionWidget(this.buttonOk, -5);
00087 Gtk.ButtonBox.ButtonBoxChild w7 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.buttonOk]));
00088 w7.Position = 1;
00089 w7.Expand = false;
00090 w7.Fill = false;
00091 if ((this.Child != null)) {
00092 this.Child.ShowAll();
00093 }
00094 this.DefaultWidth = 437;
00095 this.DefaultHeight = 300;
00096 this.Show();
00097 }
00098 }
00099 }