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

commit 6c240b8748bfb5ed7215e913b745fd45b489982d
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Sep 23 21:45:47 2010 +0200

*added pacman-g2 log

diff --git a/frugal-mono-tools/WID_Logs.cs b/frugal-mono-tools/WID_Logs.cs
index c491bf2..1575d14 100644
--- a/frugal-mono-tools/WID_Logs.cs
+++ b/frugal-mono-tools/WID_Logs.cs
@@ -33,6 +33,8 @@ namespace frugalmonotools
string logXorg = "/var/log/Xorg."+display+".log";
TXT_Xorg.Buffer.Text=Outils.getoutput("cat "+logXorg);
TXT_XsessionErrors.Buffer.Text=Outils.ReadFile(Environment.GetFolderPath(Environment.SpecialFolder.Personal)+"/.xsession-errors");
+                       
TXT_pacmang2.Buffer.Text=Outils.ReadFile("/var/log/pacman-g2.log");
+
}
}
}
diff --git a/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Logs.cs 
b/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Logs.cs
index f3574eb..55edad6 100644
--- a/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Logs.cs
+++ b/frugal-mono-tools/gtk-gui/frugalmonotools.WID_Logs.cs
@@ -18,11 +18,17 @@ namespace frugalmonotools

private global::Gtk.Label label2;

+               private global::Gtk.ScrolledWindow GtkScrolledWindow3;
+
+               private global::Gtk.TextView TXT_pacmang2;
+
+               private global::Gtk.Label label3;
+
private global::Gtk.ScrolledWindow GtkScrolledWindow2;

private global::Gtk.TextView TXT_XsessionErrors;

-               private global::Gtk.Label label3;
+               private global::Gtk.Label label4;

protected virtual void Build ()
{
@@ -70,6 +76,24 @@ namespace frugalmonotools
this.notebook1.SetTabLabel (this.GtkScrolledWindow1, this.label2);
this.label2.ShowAll ();
// Container child notebook1.Gtk.Notebook+NotebookChild
+                       this.GtkScrolledWindow3 = new 
global::Gtk.ScrolledWindow ();
+                       this.GtkScrolledWindow3.Name = "GtkScrolledWindow3";
+                       this.GtkScrolledWindow3.ShadowType = 
((global::Gtk.ShadowType)(1));
+                       // Container child 
GtkScrolledWindow3.Gtk.Container+ContainerChild
+                       this.TXT_pacmang2 = new global::Gtk.TextView ();
+                       this.TXT_pacmang2.CanFocus = true;
+                       this.TXT_pacmang2.Name = "TXT_pacmang2";
+                       this.GtkScrolledWindow3.Add (this.TXT_pacmang2);
+                       this.notebook1.Add (this.GtkScrolledWindow3);
+                       global::Gtk.Notebook.NotebookChild w6 = 
((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow3]));
+                       w6.Position = 2;
+                       // Notebook tab
+                       this.label3 = new global::Gtk.Label ();
+                       this.label3.Name = "label3";
+                       this.label3.LabelProp = 
global::Mono.Unix.Catalog.GetString ("pacman-g2");
+                       this.notebook1.SetTabLabel (this.GtkScrolledWindow3, 
this.label3);
+                       this.label3.ShowAll ();
+                       // Container child notebook1.Gtk.Notebook+NotebookChild
this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
@@ -79,14 +103,14 @@ namespace frugalmonotools
this.TXT_XsessionErrors.Name = "TXT_XsessionErrors";
this.GtkScrolledWindow2.Add (this.TXT_XsessionErrors);
this.notebook1.Add (this.GtkScrolledWindow2);
-                       global::Gtk.Notebook.NotebookChild w6 = 
((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2]));
-                       w6.Position = 2;
+                       global::Gtk.Notebook.NotebookChild w8 = 
((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow2]));
+                       w8.Position = 3;
// Notebook tab
-                       this.label3 = new global::Gtk.Label ();
-                       this.label3.Name = "label3";
-                       this.label3.LabelProp = 
global::Mono.Unix.Catalog.GetString ("xsession-errors");
-                       this.notebook1.SetTabLabel (this.GtkScrolledWindow2, 
this.label3);
-                       this.label3.ShowAll ();
+                       this.label4 = new global::Gtk.Label ();
+                       this.label4.Name = "label4";
+                       this.label4.LabelProp = 
global::Mono.Unix.Catalog.GetString ("xsession-errors");
+                       this.notebook1.SetTabLabel (this.GtkScrolledWindow2, 
this.label4);
+                       this.label4.ShowAll ();
this.Add (this.notebook1);
if ((this.Child != null)) {
this.Child.ShowAll ();
diff --git a/frugal-mono-tools/gtk-gui/gui.stetic 
b/frugal-mono-tools/gtk-gui/gui.stetic
index 35205a1..79b7743 100644
--- a/frugal-mono-tools/gtk-gui/gui.stetic
+++ b/frugal-mono-tools/gtk-gui/gui.stetic
@@ -2784,11 +2784,11 @@ Public License instead of this License.
</packing>
</child>
<child>
-          <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow2">
+          <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow3">
<property name="MemberName" />
<property name="ShadowType">In</property>
<child>
-              <widget class="Gtk.TextView" id="TXT_XsessionErrors">
+              <widget class="Gtk.TextView" id="TXT_pacmang2">
<property name="MemberName" />
<property name="CanFocus">True</property>
<property name="ShowScrollbars">True</property>
@@ -2803,6 +2803,32 @@ Public License instead of this License.
<child>
<widget class="Gtk.Label" id="label3">
<property name="MemberName" />
+            <property name="LabelProp" translatable="yes">pacman-g2</property>
+          </widget>
+          <packing>
+            <property name="type">tab</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow2">
+            <property name="MemberName" />
+            <property name="ShadowType">In</property>
+            <child>
+              <widget class="Gtk.TextView" id="TXT_XsessionErrors">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="ShowScrollbars">True</property>
+                <property name="Text" translatable="yes" />
+              </widget>
+            </child>
+          </widget>
+          <packing>
+            <property name="Position">3</property>
+          </packing>
+        </child>
+        <child>
+          <widget class="Gtk.Label" id="label4">
+            <property name="MemberName" />
<property name="LabelProp" translatable="yes">xsession-errors</property>
</widget>
<packing>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to