[Frugalware-git] frugal-mono-tools: *added lspci output graphical device for help the user to choose the driver
bouleetbil
bouleetbil at frogdev.info
Thu Aug 26 20:00:48 CEST 2010
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-mono-tools.git;a=commitdiff;h=a10980da51bf6d9e88d480b1c53fe7c12821647f
commit a10980da51bf6d9e88d480b1c53fe7c12821647f
Author: bouleetbil <bouleetbil at frogdev.info>
Date: Thu Aug 26 20:00:22 2010 +0200
*added lspci output graphical device for help the user to choose the driver
diff --git a/frugal-mono-tools/MainWindow.cs b/frugal-mono-tools/MainWindow.cs
index 85981f3..202fb12 100644
--- a/frugal-mono-tools/MainWindow.cs
+++ b/frugal-mono-tools/MainWindow.cs
@@ -123,7 +123,26 @@ public partial class MainWindow : Gtk.Window
//xorg configuration
SAI_Layout.Text=this.LayoutXorg();
-
+ string lspci ="/usr/sbin/lspci";
+ try
+ {
+ lspci=Outils.getoutput(lspci);
+ }
+ catch
+ {
+ lspci="";
+ }
+ string[] lspcis = lspci.Split('\n');
+ foreach (string line in lspcis)
+ {
+ if (line.IndexOf("VGA compatible controller") > 0)
+ {
+ lspci =line.Split(':')[2];
+ break;
+ }
+ }
+ LIB_Lspci.Text=lspci;
+
//network init
INT_NM.Active=Outils.ServiceOnStartUp("S99rc.networkmanager");
EnableDisable(INT_NM,"/usr/sbin/NetworkManager",LIB_NMNotInstalled);
diff --git a/frugal-mono-tools/OUTILS/Outils.cs b/frugal-mono-tools/OUTILS/Outils.cs
index d4133bd..848659f 100644
--- a/frugal-mono-tools/OUTILS/Outils.cs
+++ b/frugal-mono-tools/OUTILS/Outils.cs
@@ -16,10 +16,48 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
using System;
+using System.Diagnostics;
namespace frugalmonotools
{
public static class Outils
{
+ public static string getoutput( string cmd )
+ {
+ string[] parts = cmd.Split( ' ' );
+ string cmd_name = parts[ 0 ];
+ string arguments = "";
+ if( parts.Length > 1 ){
+ for( int i = 1; i < parts.Length; i++ ){
+ arguments += " " + parts[ i ];
+ }
+ }
+ Process proc = new Process( );
+ proc.StartInfo.FileName = cmd_name;
+ proc.StartInfo.Arguments = arguments;
+ proc.StartInfo.UseShellExecute = false;
+ proc.StartInfo.RedirectStandardError = true;
+ proc.StartInfo.RedirectStandardOutput = true;
+ try
+ {
+ if( proc.Start( ) )
+ {
+ proc.WaitForExit( );
+ string output = proc.StandardOutput.ReadToEnd().TrimEnd();
+ string error = proc.StandardError.ReadToEnd().TrimEnd();
+ if( output.Equals( "" ) || output.Equals( " " ) )
+ return error;
+ else
+ return output;
+ }
+ }
+ catch( System.ComponentModel.Win32Exception w32e )
+ {
+ string ret = "Error Thrown: " + w32e.ToString( );
+ return ret;
+ }
+ return "Broke";
+ }
+
public static Boolean Excecute(String Commande,string Arguments,bool wait)
{
System.Diagnostics.Process proc = new System.Diagnostics.Process();
diff --git a/frugal-mono-tools/gtk-gui/MainWindow.cs b/frugal-mono-tools/gtk-gui/MainWindow.cs
index f21418c..c7a5419 100644
--- a/frugal-mono-tools/gtk-gui/MainWindow.cs
+++ b/frugal-mono-tools/gtk-gui/MainWindow.cs
@@ -41,6 +41,8 @@ public partial class MainWindow
private global::Gtk.Label label4;
+ private global::Gtk.Label LIB_Lspci;
+
private global::Gtk.ComboBoxEntry CBO_GraphicalDevice;
private global::Gtk.HBox hbox14;
@@ -307,13 +309,22 @@ public partial class MainWindow
// Container child hbox16.Gtk.Box+BoxChild
this.label4 = new global::Gtk.Label ();
this.label4.Name = "label4";
- this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Graphical device");
+ this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Graphical device : ");
this.hbox16.Add (this.label4);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.label4]));
w15.Position = 0;
w15.Expand = false;
w15.Fill = false;
// Container child hbox16.Gtk.Box+BoxChild
+ this.LIB_Lspci = new global::Gtk.Label ();
+ this.LIB_Lspci.Name = "LIB_Lspci";
+ this.LIB_Lspci.LabelProp = global::Mono.Unix.Catalog.GetString ("lspci");
+ this.hbox16.Add (this.LIB_Lspci);
+ global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.LIB_Lspci]));
+ w16.Position = 1;
+ w16.Expand = false;
+ w16.Fill = false;
+ // Container child hbox16.Gtk.Box+BoxChild
this.CBO_GraphicalDevice = global::Gtk.ComboBoxEntry.NewText ();
this.CBO_GraphicalDevice.AppendText (global::Mono.Unix.Catalog.GetString ("apm"));
this.CBO_GraphicalDevice.AppendText (global::Mono.Unix.Catalog.GetString ("ark"));
@@ -358,16 +369,16 @@ public partial class MainWindow
this.CBO_GraphicalDevice.AppendText (global::Mono.Unix.Catalog.GetString ("ztv"));
this.CBO_GraphicalDevice.Name = "CBO_GraphicalDevice";
this.hbox16.Add (this.CBO_GraphicalDevice);
- global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.CBO_GraphicalDevice]));
- w16.PackType = ((global::Gtk.PackType)(1));
- w16.Position = 2;
- w16.Expand = false;
- w16.Fill = false;
- this.vbox6.Add (this.hbox16);
- global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox16]));
- w17.Position = 1;
+ global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox16[this.CBO_GraphicalDevice]));
+ w17.PackType = ((global::Gtk.PackType)(1));
+ w17.Position = 2;
w17.Expand = false;
w17.Fill = false;
+ this.vbox6.Add (this.hbox16);
+ global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox16]));
+ w18.Position = 1;
+ w18.Expand = false;
+ w18.Fill = false;
// Container child vbox6.Gtk.Box+BoxChild
this.hbox14 = new global::Gtk.HBox ();
this.hbox14.Name = "hbox14";
@@ -379,18 +390,18 @@ public partial class MainWindow
this.BTN_Xorg.UseUnderline = true;
this.BTN_Xorg.Label = global::Mono.Unix.Catalog.GetString ("Apply");
this.hbox14.Add (this.BTN_Xorg);
- global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.BTN_Xorg]));
- w18.Position = 2;
- w18.Expand = false;
- w18.Fill = false;
- this.vbox6.Add (this.hbox14);
- global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox14]));
- w19.Position = 3;
+ global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox14[this.BTN_Xorg]));
+ w19.Position = 2;
w19.Expand = false;
w19.Fill = false;
+ this.vbox6.Add (this.hbox14);
+ global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.hbox14]));
+ w20.Position = 3;
+ w20.Expand = false;
+ w20.Fill = false;
this.ONG_principal.Add (this.vbox6);
- global::Gtk.Notebook.NotebookChild w20 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox6]));
- w20.Position = 1;
+ global::Gtk.Notebook.NotebookChild w21 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox6]));
+ w21.Position = 1;
// Notebook tab
this.label1 = new global::Gtk.Label ();
this.label1.Name = "label1";
@@ -412,27 +423,27 @@ public partial class MainWindow
this.BTN_Printer.UseUnderline = true;
this.BTN_Printer.Label = global::Mono.Unix.Catalog.GetString ("System Configuration Printer");
this.hbox15.Add (this.BTN_Printer);
- global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.BTN_Printer]));
- w21.Position = 0;
- w21.Expand = false;
- w21.Fill = false;
+ global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.BTN_Printer]));
+ w22.Position = 0;
+ w22.Expand = false;
+ w22.Fill = false;
// Container child hbox15.Gtk.Box+BoxChild
this.LAB_Printer = new global::Gtk.Label ();
this.LAB_Printer.Name = "LAB_Printer";
this.LAB_Printer.LabelProp = global::Mono.Unix.Catalog.GetString ("You should install \"system-config-printer\"");
this.hbox15.Add (this.LAB_Printer);
- global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.LAB_Printer]));
- w22.Position = 1;
- w22.Expand = false;
- w22.Fill = false;
- this.vbox2.Add (this.hbox15);
- global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox15]));
- w23.Position = 0;
+ global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox15[this.LAB_Printer]));
+ w23.Position = 1;
w23.Expand = false;
w23.Fill = false;
+ this.vbox2.Add (this.hbox15);
+ global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox15]));
+ w24.Position = 0;
+ w24.Expand = false;
+ w24.Fill = false;
this.ONG_principal.Add (this.vbox2);
- global::Gtk.Notebook.NotebookChild w24 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox2]));
- w24.Position = 2;
+ global::Gtk.Notebook.NotebookChild w25 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox2]));
+ w25.Position = 2;
// Notebook tab
this.LIB_Materiel = new global::Gtk.Label ();
this.LIB_Materiel.Name = "LIB_Materiel";
@@ -452,10 +463,10 @@ public partial class MainWindow
this.image6.Name = "image6";
this.image6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.fw.png");
this.hbox1.Add (this.image6);
- global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.image6]));
- w25.Position = 0;
- w25.Expand = false;
- w25.Fill = false;
+ global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.image6]));
+ w26.Position = 0;
+ w26.Expand = false;
+ w26.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
this.INT_FW = new global::Gtk.CheckButton ();
this.INT_FW.CanFocus = true;
@@ -464,13 +475,13 @@ public partial class MainWindow
this.INT_FW.DrawIndicator = true;
this.INT_FW.UseUnderline = true;
this.hbox1.Add (this.INT_FW);
- global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.INT_FW]));
- w26.Position = 1;
+ global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.INT_FW]));
+ w27.Position = 1;
this.vbox1.Add (this.hbox1);
- global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
- w27.Position = 0;
- w27.Expand = false;
- w27.Fill = false;
+ global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
+ w28.Position = 0;
+ w28.Expand = false;
+ w28.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.hbox2 = new global::Gtk.HBox ();
this.hbox2.Name = "hbox2";
@@ -480,10 +491,10 @@ public partial class MainWindow
this.image7.Name = "image7";
this.image7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.nmlogo.png");
this.hbox2.Add (this.image7);
- global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.image7]));
- w28.Position = 0;
- w28.Expand = false;
- w28.Fill = false;
+ global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.image7]));
+ w29.Position = 0;
+ w29.Expand = false;
+ w29.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild
this.INT_NM = new global::Gtk.CheckButton ();
this.INT_NM.CanFocus = true;
@@ -492,22 +503,22 @@ public partial class MainWindow
this.INT_NM.DrawIndicator = true;
this.INT_NM.UseUnderline = true;
this.hbox2.Add (this.INT_NM);
- global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.INT_NM]));
- w29.Position = 1;
+ global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.INT_NM]));
+ w30.Position = 1;
// Container child hbox2.Gtk.Box+BoxChild
this.LIB_NMNotInstalled = new global::Gtk.Label ();
this.LIB_NMNotInstalled.Name = "LIB_NMNotInstalled";
this.LIB_NMNotInstalled.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox2.Add (this.LIB_NMNotInstalled);
- global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.LIB_NMNotInstalled]));
- w30.Position = 2;
- w30.Expand = false;
- w30.Fill = false;
- this.vbox1.Add (this.hbox2);
- global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
- w31.Position = 1;
+ global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.LIB_NMNotInstalled]));
+ w31.Position = 2;
w31.Expand = false;
w31.Fill = false;
+ this.vbox1.Add (this.hbox2);
+ global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
+ w32.Position = 1;
+ w32.Expand = false;
+ w32.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.hbox3 = new global::Gtk.HBox ();
this.hbox3.Name = "hbox3";
@@ -517,10 +528,10 @@ public partial class MainWindow
this.image8.Name = "image8";
this.image8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.wicdlogo.png");
this.hbox3.Add (this.image8);
- global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.image8]));
- w32.Position = 0;
- w32.Expand = false;
- w32.Fill = false;
+ global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.image8]));
+ w33.Position = 0;
+ w33.Expand = false;
+ w33.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild
this.INT_WICD = new global::Gtk.CheckButton ();
this.INT_WICD.CanFocus = true;
@@ -529,22 +540,22 @@ public partial class MainWindow
this.INT_WICD.DrawIndicator = true;
this.INT_WICD.UseUnderline = true;
this.hbox3.Add (this.INT_WICD);
- global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.INT_WICD]));
- w33.Position = 1;
+ global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.INT_WICD]));
+ w34.Position = 1;
// Container child hbox3.Gtk.Box+BoxChild
this.LIB_WICDNotInstalled = new global::Gtk.Label ();
this.LIB_WICDNotInstalled.Name = "LIB_WICDNotInstalled";
this.LIB_WICDNotInstalled.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox3.Add (this.LIB_WICDNotInstalled);
- global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.LIB_WICDNotInstalled]));
- w34.Position = 2;
- w34.Expand = false;
- w34.Fill = false;
- this.vbox1.Add (this.hbox3);
- global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
+ global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.LIB_WICDNotInstalled]));
w35.Position = 2;
w35.Expand = false;
w35.Fill = false;
+ this.vbox1.Add (this.hbox3);
+ global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
+ w36.Position = 2;
+ w36.Expand = false;
+ w36.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild
this.hbox4 = new global::Gtk.HBox ();
this.hbox4.Name = "hbox4";
@@ -556,19 +567,19 @@ public partial class MainWindow
this.BTN_Network.UseUnderline = true;
this.BTN_Network.Label = global::Mono.Unix.Catalog.GetString ("Apply");
this.hbox4.Add (this.BTN_Network);
- global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.BTN_Network]));
- w36.Position = 2;
- w36.Expand = false;
- w36.Fill = false;
- this.vbox1.Add (this.hbox4);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
- w37.PackType = ((global::Gtk.PackType)(1));
- w37.Position = 3;
+ global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.BTN_Network]));
+ w37.Position = 2;
w37.Expand = false;
w37.Fill = false;
- this.ONG_principal.Add (this.vbox1);
- global::Gtk.Notebook.NotebookChild w38 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox1]));
+ this.vbox1.Add (this.hbox4);
+ global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
+ w38.PackType = ((global::Gtk.PackType)(1));
w38.Position = 3;
+ w38.Expand = false;
+ w38.Fill = false;
+ this.ONG_principal.Add (this.vbox1);
+ global::Gtk.Notebook.NotebookChild w39 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox1]));
+ w39.Position = 3;
// Notebook tab
this.LIB_Network = new global::Gtk.Label ();
this.LIB_Network.Name = "LIB_Network";
@@ -588,10 +599,10 @@ public partial class MainWindow
this.image1.Name = "image1";
this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.xorglogo.png");
this.hbox5.Add (this.image1);
- global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.image1]));
- w39.Position = 0;
- w39.Expand = false;
- w39.Fill = false;
+ global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.image1]));
+ w40.Position = 0;
+ w40.Expand = false;
+ w40.Fill = false;
// Container child hbox5.Gtk.Box+BoxChild
this.INT_XDM = new global::Gtk.CheckButton ();
this.INT_XDM.CanFocus = true;
@@ -600,22 +611,22 @@ public partial class MainWindow
this.INT_XDM.DrawIndicator = true;
this.INT_XDM.UseUnderline = true;
this.hbox5.Add (this.INT_XDM);
- global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.INT_XDM]));
- w40.Position = 1;
+ global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.INT_XDM]));
+ w41.Position = 1;
// Container child hbox5.Gtk.Box+BoxChild
this.LIB_XDM = new global::Gtk.Label ();
this.LIB_XDM.Name = "LIB_XDM";
this.LIB_XDM.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox5.Add (this.LIB_XDM);
- global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.LIB_XDM]));
- w41.Position = 2;
- w41.Expand = false;
- w41.Fill = false;
- this.vbox3.Add (this.hbox5);
- global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
- w42.Position = 0;
+ global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.LIB_XDM]));
+ w42.Position = 2;
w42.Expand = false;
w42.Fill = false;
+ this.vbox3.Add (this.hbox5);
+ global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox5]));
+ w43.Position = 0;
+ w43.Expand = false;
+ w43.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox6 = new global::Gtk.HBox ();
this.hbox6.Name = "hbox6";
@@ -625,10 +636,10 @@ public partial class MainWindow
this.image2.Name = "image2";
this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.lxdelogo.png");
this.hbox6.Add (this.image2);
- global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.image2]));
- w43.Position = 0;
- w43.Expand = false;
- w43.Fill = false;
+ global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.image2]));
+ w44.Position = 0;
+ w44.Expand = false;
+ w44.Fill = false;
// Container child hbox6.Gtk.Box+BoxChild
this.INT_LXDM = new global::Gtk.CheckButton ();
this.INT_LXDM.CanFocus = true;
@@ -637,22 +648,22 @@ public partial class MainWindow
this.INT_LXDM.DrawIndicator = true;
this.INT_LXDM.UseUnderline = true;
this.hbox6.Add (this.INT_LXDM);
- global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.INT_LXDM]));
- w44.Position = 1;
+ global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.INT_LXDM]));
+ w45.Position = 1;
// Container child hbox6.Gtk.Box+BoxChild
this.LIB_LXDM = new global::Gtk.Label ();
this.LIB_LXDM.Name = "LIB_LXDM";
this.LIB_LXDM.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox6.Add (this.LIB_LXDM);
- global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.LIB_LXDM]));
- w45.Position = 2;
- w45.Expand = false;
- w45.Fill = false;
- this.vbox3.Add (this.hbox6);
- global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox6]));
- w46.Position = 1;
+ global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.hbox6[this.LIB_LXDM]));
+ w46.Position = 2;
w46.Expand = false;
w46.Fill = false;
+ this.vbox3.Add (this.hbox6);
+ global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox6]));
+ w47.Position = 1;
+ w47.Expand = false;
+ w47.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox7 = new global::Gtk.HBox ();
this.hbox7.Name = "hbox7";
@@ -662,10 +673,10 @@ public partial class MainWindow
this.image3.Name = "image3";
this.image3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.xfcelogo.png");
this.hbox7.Add (this.image3);
- global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.image3]));
- w47.Position = 0;
- w47.Expand = false;
- w47.Fill = false;
+ global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.image3]));
+ w48.Position = 0;
+ w48.Expand = false;
+ w48.Fill = false;
// Container child hbox7.Gtk.Box+BoxChild
this.INT_Slim = new global::Gtk.CheckButton ();
this.INT_Slim.CanFocus = true;
@@ -674,22 +685,22 @@ public partial class MainWindow
this.INT_Slim.DrawIndicator = true;
this.INT_Slim.UseUnderline = true;
this.hbox7.Add (this.INT_Slim);
- global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.INT_Slim]));
- w48.Position = 1;
+ global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.INT_Slim]));
+ w49.Position = 1;
// Container child hbox7.Gtk.Box+BoxChild
this.LIB_SLIM = new global::Gtk.Label ();
this.LIB_SLIM.Name = "LIB_SLIM";
this.LIB_SLIM.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox7.Add (this.LIB_SLIM);
- global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.LIB_SLIM]));
- w49.Position = 2;
- w49.Expand = false;
- w49.Fill = false;
- this.vbox3.Add (this.hbox7);
- global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox7]));
+ global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.LIB_SLIM]));
w50.Position = 2;
w50.Expand = false;
w50.Fill = false;
+ this.vbox3.Add (this.hbox7);
+ global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox7]));
+ w51.Position = 2;
+ w51.Expand = false;
+ w51.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox9 = new global::Gtk.HBox ();
this.hbox9.Name = "hbox9";
@@ -699,10 +710,10 @@ public partial class MainWindow
this.image4.Name = "image4";
this.image4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.gnomelogo.png");
this.hbox9.Add (this.image4);
- global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.image4]));
- w51.Position = 0;
- w51.Expand = false;
- w51.Fill = false;
+ global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.image4]));
+ w52.Position = 0;
+ w52.Expand = false;
+ w52.Fill = false;
// Container child hbox9.Gtk.Box+BoxChild
this.INT_GDM = new global::Gtk.CheckButton ();
this.INT_GDM.CanFocus = true;
@@ -711,22 +722,22 @@ public partial class MainWindow
this.INT_GDM.DrawIndicator = true;
this.INT_GDM.UseUnderline = true;
this.hbox9.Add (this.INT_GDM);
- global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.INT_GDM]));
- w52.Position = 1;
+ global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.INT_GDM]));
+ w53.Position = 1;
// Container child hbox9.Gtk.Box+BoxChild
this.LIB_GDM = new global::Gtk.Label ();
this.LIB_GDM.Name = "LIB_GDM";
this.LIB_GDM.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox9.Add (this.LIB_GDM);
- global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.LIB_GDM]));
- w53.Position = 2;
- w53.Expand = false;
- w53.Fill = false;
- this.vbox3.Add (this.hbox9);
- global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox9]));
- w54.Position = 3;
+ global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.LIB_GDM]));
+ w54.Position = 2;
w54.Expand = false;
w54.Fill = false;
+ this.vbox3.Add (this.hbox9);
+ global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox9]));
+ w55.Position = 3;
+ w55.Expand = false;
+ w55.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox10 = new global::Gtk.HBox ();
this.hbox10.Name = "hbox10";
@@ -736,10 +747,10 @@ public partial class MainWindow
this.image5.Name = "image5";
this.image5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("frugalmonotools.kdelogo.png");
this.hbox10.Add (this.image5);
- global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.image5]));
- w55.Position = 0;
- w55.Expand = false;
- w55.Fill = false;
+ global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.image5]));
+ w56.Position = 0;
+ w56.Expand = false;
+ w56.Fill = false;
// Container child hbox10.Gtk.Box+BoxChild
this.INT_KDM = new global::Gtk.CheckButton ();
this.INT_KDM.CanFocus = true;
@@ -748,22 +759,22 @@ public partial class MainWindow
this.INT_KDM.DrawIndicator = true;
this.INT_KDM.UseUnderline = true;
this.hbox10.Add (this.INT_KDM);
- global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.INT_KDM]));
- w56.Position = 1;
+ global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.INT_KDM]));
+ w57.Position = 1;
// Container child hbox10.Gtk.Box+BoxChild
this.LIB_KDM = new global::Gtk.Label ();
this.LIB_KDM.Name = "LIB_KDM";
this.LIB_KDM.LabelProp = global::Mono.Unix.Catalog.GetString ("Not installed");
this.hbox10.Add (this.LIB_KDM);
- global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.LIB_KDM]));
- w57.Position = 2;
- w57.Expand = false;
- w57.Fill = false;
- this.vbox3.Add (this.hbox10);
- global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox10]));
- w58.Position = 4;
+ global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox10[this.LIB_KDM]));
+ w58.Position = 2;
w58.Expand = false;
w58.Fill = false;
+ this.vbox3.Add (this.hbox10);
+ global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox10]));
+ w59.Position = 4;
+ w59.Expand = false;
+ w59.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild
this.hbox8 = new global::Gtk.HBox ();
this.hbox8.Name = "hbox8";
@@ -775,19 +786,19 @@ public partial class MainWindow
this.BTN_LoginManager.UseUnderline = true;
this.BTN_LoginManager.Label = global::Mono.Unix.Catalog.GetString ("Apply");
this.hbox8.Add (this.BTN_LoginManager);
- global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.BTN_LoginManager]));
- w59.Position = 2;
- w59.Expand = false;
- w59.Fill = false;
- this.vbox3.Add (this.hbox8);
- global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8]));
- w60.PackType = ((global::Gtk.PackType)(1));
- w60.Position = 5;
+ global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox8[this.BTN_LoginManager]));
+ w60.Position = 2;
w60.Expand = false;
w60.Fill = false;
+ this.vbox3.Add (this.hbox8);
+ global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox8]));
+ w61.PackType = ((global::Gtk.PackType)(1));
+ w61.Position = 5;
+ w61.Expand = false;
+ w61.Fill = false;
this.ONG_principal.Add (this.vbox3);
- global::Gtk.Notebook.NotebookChild w61 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox3]));
- w61.Position = 4;
+ global::Gtk.Notebook.NotebookChild w62 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox3]));
+ w62.Position = 4;
// Notebook tab
this.LIB_LoginManager = new global::Gtk.Label ();
this.LIB_LoginManager.Name = "LIB_LoginManager";
@@ -802,18 +813,18 @@ public partial class MainWindow
this.CBO_TitleNews = global::Gtk.ComboBox.NewText ();
this.CBO_TitleNews.Name = "CBO_TitleNews";
this.vbox5.Add (this.CBO_TitleNews);
- global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.CBO_TitleNews]));
- w62.Position = 0;
- w62.Expand = false;
- w62.Fill = false;
+ global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.CBO_TitleNews]));
+ w63.Position = 0;
+ w63.Expand = false;
+ w63.Fill = false;
// Container child vbox5.Gtk.Box+BoxChild
this.LIB_Titre = new global::Gtk.Label ();
this.LIB_Titre.Name = "LIB_Titre";
this.vbox5.Add (this.LIB_Titre);
- global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.LIB_Titre]));
- w63.Position = 1;
- w63.Expand = false;
- w63.Fill = false;
+ global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.LIB_Titre]));
+ w64.Position = 1;
+ w64.Expand = false;
+ w64.Fill = false;
// Container child vbox5.Gtk.Box+BoxChild
this.BTN_Link = new global::Gtk.Button ();
this.BTN_Link.CanFocus = true;
@@ -821,13 +832,13 @@ public partial class MainWindow
this.BTN_Link.UseUnderline = true;
this.BTN_Link.Label = global::Mono.Unix.Catalog.GetString ("Link");
this.vbox5.Add (this.BTN_Link);
- global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BTN_Link]));
- w64.Position = 3;
- w64.Expand = false;
- w64.Fill = false;
+ global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.BTN_Link]));
+ w65.Position = 3;
+ w65.Expand = false;
+ w65.Fill = false;
this.ONG_principal.Add (this.vbox5);
- global::Gtk.Notebook.NotebookChild w65 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox5]));
- w65.Position = 5;
+ global::Gtk.Notebook.NotebookChild w66 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox5]));
+ w66.Position = 5;
// Notebook tab
this.LIB_News = new global::Gtk.Label ();
this.LIB_News.Name = "LIB_News";
@@ -845,8 +856,8 @@ public partial class MainWindow
this.textview2.Name = "textview2";
this.GtkScrolledWindow2.Add (this.textview2);
this.ONG_principal.Add (this.GtkScrolledWindow2);
- global::Gtk.Notebook.NotebookChild w67 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.GtkScrolledWindow2]));
- w67.Position = 6;
+ global::Gtk.Notebook.NotebookChild w68 = ((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.GtkScrolledWindow2]));
+ w68.Position = 6;
// Notebook tab
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
diff --git a/frugal-mono-tools/gtk-gui/gui.stetic b/frugal-mono-tools/gtk-gui/gui.stetic
index 4e830e8..9a465b0 100644
--- a/frugal-mono-tools/gtk-gui/gui.stetic
+++ b/frugal-mono-tools/gtk-gui/gui.stetic
@@ -217,7 +217,7 @@
<child>
<widget class="Gtk.Label" id="label4">
<property name="MemberName" />
- <property name="LabelProp" translatable="yes">Graphical device</property>
+ <property name="LabelProp" translatable="yes">Graphical device : </property>
</widget>
<packing>
<property name="Position">0</property>
@@ -227,7 +227,16 @@
</packing>
</child>
<child>
- <placeholder />
+ <widget class="Gtk.Label" id="LIB_Lspci">
+ <property name="MemberName" />
+ <property name="LabelProp" translatable="yes">lspci</property>
+ </widget>
+ <packing>
+ <property name="Position">1</property>
+ <property name="AutoSize">True</property>
+ <property name="Expand">False</property>
+ <property name="Fill">False</property>
+ </packing>
</child>
<child>
<widget class="Gtk.ComboBoxEntry" id="CBO_GraphicalDevice">
More information about the Frugalware-git
mailing list