Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=45008bf37760439372777f7d9f84939f2142c3a6

commit 45008bf37760439372777f7d9f84939f2142c3a6
Author: bouleetbil <[email protected]>
Date:   Thu Nov 11 12:50:41 2010 +0100

*can modify current grub entry

diff --git a/frugal-mono-tools/WID_Grub.cs b/frugal-mono-tools/WID_Grub.cs
index 0ad4c49..27a0835 100644
--- a/frugal-mono-tools/WID_Grub.cs
+++ b/frugal-mono-tools/WID_Grub.cs
@@ -39,6 +39,7 @@ namespace frugalmonotools
BTN_AddEntry.Visible = false;
BTN_Save.Visible = false;
BTN_Apply.Visible = false;
+                               BTN_Modify.Visible=false;
SAI_Hdd.Visible = false;
LIB_Root.Visible=true;
}
@@ -101,6 +102,15 @@ namespace frugalmonotools
MainClass.grub.Save();
}

+               protected virtual void OnBTNModifyClicked (object sender, 
System.EventArgs e)
+               {
+                       GrubEntry entry = new GrubEntry();
+                       entry.title=SAI_Title.Text;
+                       entry.options=TXT_Options.Buffer.Text;
+                       MainClass.grub.Entrys[EntrySelected]=entry;
+               }
+
+



diff --git a/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Grub.cs 
b/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Grub.cs
index 23d8e3c..9967b7d 100644
--- a/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Grub.cs
+++ b/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Grub.cs
@@ -22,6 +22,8 @@ namespace frugalmonotools

private global::Gtk.HBox hbox2;

+               private global::Gtk.Button BTN_Modify;
+
private global::Gtk.Button BTN_RemoveEntry;

private global::Gtk.Button BTN_AddEntry;
@@ -124,62 +126,88 @@ namespace frugalmonotools
this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild
-                       this.BTN_RemoveEntry = new global::Gtk.Button ();
-                       this.BTN_RemoveEntry.CanFocus = true;
-                       this.BTN_RemoveEntry.Name = "BTN_RemoveEntry";
-                       this.BTN_RemoveEntry.UseUnderline = true;
-                       // Container child 
BTN_RemoveEntry.Gtk.Container+ContainerChild
+                       this.BTN_Modify = new global::Gtk.Button ();
+                       this.BTN_Modify.CanFocus = true;
+                       this.BTN_Modify.Name = "BTN_Modify";
+                       this.BTN_Modify.UseUnderline = true;
+                       // Container child 
BTN_Modify.Gtk.Container+ContainerChild
global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
// Container child GtkAlignment.Gtk.Container+ContainerChild
global::Gtk.HBox w7 = new global::Gtk.HBox ();
w7.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Image w8 = new global::Gtk.Image ();
-                       w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-remove", global::Gtk.IconSize.Menu);
+                       w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-apply", global::Gtk.IconSize.Menu);
w7.Add (w8);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w10 = new global::Gtk.Label ();
-                       w10.LabelProp = global::Mono.Unix.Catalog.GetString 
("Remove entry");
+                       w10.LabelProp = global::Mono.Unix.Catalog.GetString 
("Modify entry");
w10.UseUnderline = true;
w7.Add (w10);
w6.Add (w7);
-                       this.BTN_RemoveEntry.Add (w6);
-                       this.hbox2.Add (this.BTN_RemoveEntry);
-                       global::Gtk.Box.BoxChild w14 = 
((global::Gtk.Box.BoxChild)(this.hbox2[this.BTN_RemoveEntry]));
+                       this.BTN_Modify.Add (w6);
+                       this.hbox2.Add (this.BTN_Modify);
+                       global::Gtk.Box.BoxChild w14 = 
((global::Gtk.Box.BoxChild)(this.hbox2[this.BTN_Modify]));
w14.Position = 0;
w14.Expand = false;
w14.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild
-                       this.BTN_AddEntry = new global::Gtk.Button ();
-                       this.BTN_AddEntry.CanFocus = true;
-                       this.BTN_AddEntry.Name = "BTN_AddEntry";
-                       this.BTN_AddEntry.UseUnderline = true;
-                       // Container child 
BTN_AddEntry.Gtk.Container+ContainerChild
+                       this.BTN_RemoveEntry = new global::Gtk.Button ();
+                       this.BTN_RemoveEntry.CanFocus = true;
+                       this.BTN_RemoveEntry.Name = "BTN_RemoveEntry";
+                       this.BTN_RemoveEntry.UseUnderline = true;
+                       // Container child 
BTN_RemoveEntry.Gtk.Container+ContainerChild
global::Gtk.Alignment w15 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
// Container child GtkAlignment.Gtk.Container+ContainerChild
global::Gtk.HBox w16 = new global::Gtk.HBox ();
w16.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Image w17 = new global::Gtk.Image ();
-                       w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-add", global::Gtk.IconSize.Menu);
+                       w17.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-remove", global::Gtk.IconSize.Menu);
w16.Add (w17);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w19 = new global::Gtk.Label ();
-                       w19.LabelProp = global::Mono.Unix.Catalog.GetString 
("Add entry");
+                       w19.LabelProp = global::Mono.Unix.Catalog.GetString 
("Remove entry");
w19.UseUnderline = true;
w16.Add (w19);
w15.Add (w16);
-                       this.BTN_AddEntry.Add (w15);
-                       this.hbox2.Add (this.BTN_AddEntry);
-                       global::Gtk.Box.BoxChild w23 = 
((global::Gtk.Box.BoxChild)(this.hbox2[this.BTN_AddEntry]));
+                       this.BTN_RemoveEntry.Add (w15);
+                       this.hbox2.Add (this.BTN_RemoveEntry);
+                       global::Gtk.Box.BoxChild w23 = 
((global::Gtk.Box.BoxChild)(this.hbox2[this.BTN_RemoveEntry]));
w23.Position = 1;
w23.Expand = false;
w23.Fill = false;
+                       // Container child hbox2.Gtk.Box+BoxChild
+                       this.BTN_AddEntry = new global::Gtk.Button ();
+                       this.BTN_AddEntry.CanFocus = true;
+                       this.BTN_AddEntry.Name = "BTN_AddEntry";
+                       this.BTN_AddEntry.UseUnderline = true;
+                       // Container child 
BTN_AddEntry.Gtk.Container+ContainerChild
+                       global::Gtk.Alignment w24 = new global::Gtk.Alignment 
(0.5f, 0.5f, 0f, 0f);
+                       // Container child 
GtkAlignment.Gtk.Container+ContainerChild
+                       global::Gtk.HBox w25 = new global::Gtk.HBox ();
+                       w25.Spacing = 2;
+                       // Container child GtkHBox.Gtk.Container+ContainerChild
+                       global::Gtk.Image w26 = new global::Gtk.Image ();
+                       w26.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-add", global::Gtk.IconSize.Menu);
+                       w25.Add (w26);
+                       // Container child GtkHBox.Gtk.Container+ContainerChild
+                       global::Gtk.Label w28 = new global::Gtk.Label ();
+                       w28.LabelProp = global::Mono.Unix.Catalog.GetString 
("Add entry");
+                       w28.UseUnderline = true;
+                       w25.Add (w28);
+                       w24.Add (w25);
+                       this.BTN_AddEntry.Add (w24);
+                       this.hbox2.Add (this.BTN_AddEntry);
+                       global::Gtk.Box.BoxChild w32 = 
((global::Gtk.Box.BoxChild)(this.hbox2[this.BTN_AddEntry]));
+                       w32.Position = 2;
+                       w32.Expand = false;
+                       w32.Fill = false;
this.vbox1.Add (this.hbox2);
-                       global::Gtk.Box.BoxChild w24 = 
((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
-                       w24.Position = 4;
-                       w24.Expand = false;
-                       w24.Fill = false;
+                       global::Gtk.Box.BoxChild w33 = 
((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
+                       w33.Position = 4;
+                       w33.Expand = false;
+                       w33.Fill = false;
this.notebook1.Add (this.vbox1);
// Notebook tab
this.Entrys = new global::Gtk.Label ();
@@ -200,10 +228,10 @@ namespace frugalmonotools
this.label3.Name = "label3";
this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Default");
this.hbox3.Add (this.label3);
-                       global::Gtk.Box.BoxChild w26 = 
((global::Gtk.Box.BoxChild)(this.hbox3[this.label3]));
-                       w26.Position = 0;
-                       w26.Expand = false;
-                       w26.Fill = false;
+                       global::Gtk.Box.BoxChild w35 = 
((global::Gtk.Box.BoxChild)(this.hbox3[this.label3]));
+                       w35.Position = 0;
+                       w35.Expand = false;
+                       w35.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild
this.SAI_Default = new global::Gtk.Entry ();
this.SAI_Default.CanFocus = true;
@@ -211,13 +239,13 @@ namespace frugalmonotools
this.SAI_Default.IsEditable = true;
this.SAI_Default.InvisibleChar = '•';
this.hbox3.Add (this.SAI_Default);
-                       global::Gtk.Box.BoxChild w27 = 
((global::Gtk.Box.BoxChild)(this.hbox3[this.SAI_Default]));
-                       w27.Position = 1;
+                       global::Gtk.Box.BoxChild w36 = 
((global::Gtk.Box.BoxChild)(this.hbox3[this.SAI_Default]));
+                       w36.Position = 1;
this.vbox3.Add (this.hbox3);
-                       global::Gtk.Box.BoxChild w28 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
-                       w28.Position = 0;
-                       w28.Expand = false;
-                       w28.Fill = false;
+                       global::Gtk.Box.BoxChild w37 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
+                       w37.Position = 0;
+                       w37.Expand = false;
+                       w37.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox4 = new global::Gtk.HBox ();
this.hbox4.Name = "hbox4";
@@ -227,10 +255,10 @@ namespace frugalmonotools
this.label4.Name = "label4";
this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Time out");
this.hbox4.Add (this.label4);
-                       global::Gtk.Box.BoxChild w29 = 
((global::Gtk.Box.BoxChild)(this.hbox4[this.label4]));
-                       w29.Position = 0;
-                       w29.Expand = false;
-                       w29.Fill = false;
+                       global::Gtk.Box.BoxChild w38 = 
((global::Gtk.Box.BoxChild)(this.hbox4[this.label4]));
+                       w38.Position = 0;
+                       w38.Expand = false;
+                       w38.Fill = false;
// Container child hbox4.Gtk.Box+BoxChild
this.SAI_TimeOut = new global::Gtk.Entry ();
this.SAI_TimeOut.CanFocus = true;
@@ -238,13 +266,13 @@ namespace frugalmonotools
this.SAI_TimeOut.IsEditable = true;
this.SAI_TimeOut.InvisibleChar = '•';
this.hbox4.Add (this.SAI_TimeOut);
-                       global::Gtk.Box.BoxChild w30 = 
((global::Gtk.Box.BoxChild)(this.hbox4[this.SAI_TimeOut]));
-                       w30.Position = 1;
+                       global::Gtk.Box.BoxChild w39 = 
((global::Gtk.Box.BoxChild)(this.hbox4[this.SAI_TimeOut]));
+                       w39.Position = 1;
this.vbox3.Add (this.hbox4);
-                       global::Gtk.Box.BoxChild w31 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
-                       w31.Position = 1;
-                       w31.Expand = false;
-                       w31.Fill = false;
+                       global::Gtk.Box.BoxChild w40 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
+                       w40.Position = 1;
+                       w40.Expand = false;
+                       w40.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox5 = new global::Gtk.HBox ();
this.hbox5.Name = "hbox5";
@@ -254,10 +282,10 @@ namespace frugalmonotools
this.label5.Name = "label5";
this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Gfx");
this.hbox5.Add (this.label5);
-                       global::Gtk.Box.BoxChild w32 = 
((global::Gtk.Box.BoxChild)(this.hbox5[this.label5]));
-                       w32.Position = 0;
-                       w32.Expand = false;
-                       w32.Fill = false;
+                       global::Gtk.Box.BoxChild w41 = 
((global::Gtk.Box.BoxChild)(this.hbox5[this.label5]));
+                       w41.Position = 0;
+                       w41.Expand = false;
+                       w41.Fill = false;
// Container child hbox5.Gtk.Box+BoxChild
this.SAI_Gfx = new global::Gtk.Entry ();
this.SAI_Gfx.CanFocus = true;
@@ -265,16 +293,16 @@ namespace frugalmonotools
this.SAI_Gfx.IsEditable = true;
this.SAI_Gfx.InvisibleChar = '•';
this.hbox5.Add (this.SAI_Gfx);
-                       global::Gtk.Box.BoxChild w33 = 
((global::Gtk.Box.BoxChild)(this.hbox5[this.SAI_Gfx]));
-                       w33.Position = 1;
+                       global::Gtk.Box.BoxChild w42 = 
((global::Gtk.Box.BoxChild)(this.hbox5[this.SAI_Gfx]));
+                       w42.Position = 1;
this.vbox3.Add (this.hbox5);
-                       global::Gtk.Box.BoxChild w34 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
-                       w34.Position = 2;
-                       w34.Expand = false;
-                       w34.Fill = false;
+                       global::Gtk.Box.BoxChild w43 = 
((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
+                       w43.Position = 2;
+                       w43.Expand = false;
+                       w43.Fill = false;
this.notebook1.Add (this.vbox3);
-                       global::Gtk.Notebook.NotebookChild w35 = 
((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox3]));
-                       w35.Position = 1;
+                       global::Gtk.Notebook.NotebookChild w44 = 
((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.vbox3]));
+                       w44.Position = 1;
// Notebook tab
this.label2 = new global::Gtk.Label ();
this.label2.Name = "label2";
@@ -282,8 +310,8 @@ namespace frugalmonotools
this.notebook1.SetTabLabel (this.vbox3, this.label2);
this.label2.ShowAll ();
this.vbox2.Add (this.notebook1);
-                       global::Gtk.Box.BoxChild w36 = 
((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
-                       w36.Position = 0;
+                       global::Gtk.Box.BoxChild w45 = 
((global::Gtk.Box.BoxChild)(this.vbox2[this.notebook1]));
+                       w45.Position = 0;
// Container child vbox2.Gtk.Box+BoxChild
this.hbox6 = new global::Gtk.HBox ();
this.hbox6.Name = "hbox6";
@@ -293,63 +321,63 @@ namespace frugalmonotools
this.LIB_Root.Name = "LIB_Root";
this.LIB_Root.LabelProp = global::Mono.Unix.Catalog.GetString ("Can't save, 
should be started as root");
this.hbox6.Add (this.LIB_Root);
-                       global::Gtk.Box.BoxChild w37 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.LIB_Root]));
-                       w37.Position = 0;
-                       w37.Expand = false;
-                       w37.Fill = false;
+                       global::Gtk.Box.BoxChild w46 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.LIB_Root]));
+                       w46.Position = 0;
+                       w46.Expand = false;
+                       w46.Fill = false;
// Container child hbox6.Gtk.Box+BoxChild
this.BTN_Save = new global::Gtk.Button ();
this.BTN_Save.CanFocus = true;
this.BTN_Save.Name = "BTN_Save";
this.BTN_Save.UseUnderline = true;
// Container child BTN_Save.Gtk.Container+ContainerChild
-                       global::Gtk.Alignment w38 = new global::Gtk.Alignment 
(0.5f, 0.5f, 0f, 0f);
-                       // Container child 
GtkAlignment.Gtk.Container+ContainerChild
-                       global::Gtk.HBox w39 = new global::Gtk.HBox ();
-                       w39.Spacing = 2;
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Image w40 = new global::Gtk.Image ();
-                       w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-save", global::Gtk.IconSize.Menu);
-                       w39.Add (w40);
-                       // Container child GtkHBox.Gtk.Container+ContainerChild
-                       global::Gtk.Label w42 = new global::Gtk.Label ();
-                       w42.LabelProp = global::Mono.Unix.Catalog.GetString 
("Save");
-                       w42.UseUnderline = true;
-                       w39.Add (w42);
-                       w38.Add (w39);
-                       this.BTN_Save.Add (w38);
-                       this.hbox6.Add (this.BTN_Save);
-                       global::Gtk.Box.BoxChild w46 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.BTN_Save]));
-                       w46.Position = 1;
-                       w46.Expand = false;
-                       w46.Fill = false;
-                       // Container child hbox6.Gtk.Box+BoxChild
-                       this.BTN_Apply = new global::Gtk.Button ();
-                       this.BTN_Apply.CanFocus = true;
-                       this.BTN_Apply.Name = "BTN_Apply";
-                       this.BTN_Apply.UseUnderline = true;
-                       // Container child 
BTN_Apply.Gtk.Container+ContainerChild
global::Gtk.Alignment w47 = new global::Gtk.Alignment (0.5f, 0.5f, 0f, 0f);
// Container child GtkAlignment.Gtk.Container+ContainerChild
global::Gtk.HBox w48 = new global::Gtk.HBox ();
w48.Spacing = 2;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Image w49 = new global::Gtk.Image ();
-                       w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-apply", global::Gtk.IconSize.Menu);
+                       w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-save", global::Gtk.IconSize.Menu);
w48.Add (w49);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w51 = new global::Gtk.Label ();
-                       w51.LabelProp = global::Mono.Unix.Catalog.GetString 
("Install Grub to");
+                       w51.LabelProp = global::Mono.Unix.Catalog.GetString 
("Save");
w51.UseUnderline = true;
w48.Add (w51);
w47.Add (w48);
-                       this.BTN_Apply.Add (w47);
-                       this.hbox6.Add (this.BTN_Apply);
-                       global::Gtk.Box.BoxChild w55 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.BTN_Apply]));
-                       w55.Position = 2;
+                       this.BTN_Save.Add (w47);
+                       this.hbox6.Add (this.BTN_Save);
+                       global::Gtk.Box.BoxChild w55 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.BTN_Save]));
+                       w55.Position = 1;
w55.Expand = false;
w55.Fill = false;
// Container child hbox6.Gtk.Box+BoxChild
+                       this.BTN_Apply = new global::Gtk.Button ();
+                       this.BTN_Apply.CanFocus = true;
+                       this.BTN_Apply.Name = "BTN_Apply";
+                       this.BTN_Apply.UseUnderline = true;
+                       // Container child 
BTN_Apply.Gtk.Container+ContainerChild
+                       global::Gtk.Alignment w56 = new global::Gtk.Alignment 
(0.5f, 0.5f, 0f, 0f);
+                       // Container child 
GtkAlignment.Gtk.Container+ContainerChild
+                       global::Gtk.HBox w57 = new global::Gtk.HBox ();
+                       w57.Spacing = 2;
+                       // Container child GtkHBox.Gtk.Container+ContainerChild
+                       global::Gtk.Image w58 = new global::Gtk.Image ();
+                       w58.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, 
"gtk-apply", global::Gtk.IconSize.Menu);
+                       w57.Add (w58);
+                       // Container child GtkHBox.Gtk.Container+ContainerChild
+                       global::Gtk.Label w60 = new global::Gtk.Label ();
+                       w60.LabelProp = global::Mono.Unix.Catalog.GetString 
("Install Grub to");
+                       w60.UseUnderline = true;
+                       w57.Add (w60);
+                       w56.Add (w57);
+                       this.BTN_Apply.Add (w56);
+                       this.hbox6.Add (this.BTN_Apply);
+                       global::Gtk.Box.BoxChild w64 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.BTN_Apply]));
+                       w64.Position = 2;
+                       w64.Expand = false;
+                       w64.Fill = false;
+                       // Container child hbox6.Gtk.Box+BoxChild
this.SAI_Hdd = new global::Gtk.Entry ();
this.SAI_Hdd.CanFocus = true;
this.SAI_Hdd.Name = "SAI_Hdd";
@@ -357,14 +385,14 @@ namespace frugalmonotools
this.SAI_Hdd.IsEditable = true;
this.SAI_Hdd.InvisibleChar = '•';
this.hbox6.Add (this.SAI_Hdd);
-                       global::Gtk.Box.BoxChild w56 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.SAI_Hdd]));
-                       w56.PackType = ((global::Gtk.PackType)(1));
-                       w56.Position = 3;
+                       global::Gtk.Box.BoxChild w65 = 
((global::Gtk.Box.BoxChild)(this.hbox6[this.SAI_Hdd]));
+                       w65.PackType = ((global::Gtk.PackType)(1));
+                       w65.Position = 3;
this.vbox2.Add (this.hbox6);
-                       global::Gtk.Box.BoxChild w57 = 
((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6]));
-                       w57.Position = 1;
-                       w57.Expand = false;
-                       w57.Fill = false;
+                       global::Gtk.Box.BoxChild w66 = 
((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox6]));
+                       w66.Position = 1;
+                       w66.Expand = false;
+                       w66.Fill = false;
this.Add (this.vbox2);
if ((this.Child != null)) {
this.Child.ShowAll ();
@@ -372,6 +400,7 @@ namespace frugalmonotools
this.LIB_Root.Hide ();
this.Hide ();
this.CBO_Entry.Changed += new global::System.EventHandler 
(this.OnCBOEntryChanged);
+                       this.BTN_Modify.Clicked += new 
global::System.EventHandler (this.OnBTNModifyClicked);
this.BTN_RemoveEntry.Clicked += new global::System.EventHandler 
(this.OnBTNRemoveEntryClicked);
this.BTN_AddEntry.Clicked += new global::System.EventHandler 
(this.OnBTNAddEntryClicked);
this.BTN_Save.Clicked += new global::System.EventHandler 
(this.OnBTNSaveClicked);
diff --git a/frugal-mono-tools/gtk-gui/gui.stetic 
b/frugal-mono-tools/gtk-gui/gui.stetic
index 221cb3a..837783d 100644
--- a/frugal-mono-tools/gtk-gui/gui.stetic
+++ b/frugal-mono-tools/gtk-gui/gui.stetic
@@ -2917,6 +2917,23 @@ Public License instead of this License.
<property name="MemberName" />
<property name="Spacing">6</property>
<child>
+                      <widget class="Gtk.Button" id="BTN_Modify">
+                        <property name="MemberName" />
+                        <property name="CanFocus">True</property>
+                        <property name="Type">TextAndIcon</property>
+                        <property name="Icon">stock:gtk-apply Menu</property>
+                        <property name="Label" translatable="yes">Modify 
entry</property>
+                        <property name="UseUnderline">True</property>
+                        <signal name="Clicked" handler="OnBTNModifyClicked" />
+                      </widget>
+                      <packing>
+                        <property name="Position">0</property>
+                        <property name="AutoSize">True</property>
+                        <property name="Expand">False</property>
+                        <property name="Fill">False</property>
+                      </packing>
+                    </child>
+                    <child>
<widget class="Gtk.Button" id="BTN_RemoveEntry">
<property name="MemberName" />
<property name="CanFocus">True</property>
@@ -2927,7 +2944,7 @@ Public License instead of this License.
<signal name="Clicked" handler="OnBTNRemoveEntryClicked" />
</widget>
<packing>
-                        <property name="Position">0</property>
+                        <property name="Position">1</property>
<property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
@@ -2944,7 +2961,7 @@ Public License instead of this License.
<signal name="Clicked" handler="OnBTNAddEntryClicked" />
</widget>
<packing>
-                        <property name="Position">1</property>
+                        <property name="Position">2</property>
<property name="AutoSize">True</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
@@ -2953,9 +2970,6 @@ Public License instead of this License.
<child>
<placeholder />
</child>
-                    <child>
-                      <placeholder />
-                    </child>
</widget>
<packing>
<property name="Position">4</property>
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to