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

commit c8a88fee67039803aebba68b28780a4079a769af
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Sep 17 18:07:19 2010 +0200

*added an icon
*hide some useless informations

diff --git a/frugal-irc/frugal-irc.csproj b/frugal-irc/frugal-irc.csproj
index 89cb87f..c607096 100644
--- a/frugal-irc/frugal-irc.csproj
+++ b/frugal-irc/frugal-irc.csproj
@@ -50,6 +50,8 @@
</EmbeddedResource>
<EmbeddedResource Include="..\frugal-mono-tools\Pictures\header.svg" />
<EmbeddedResource Include="..\frugal-mono-tools\Pictures\fw.png" />
+    <EmbeddedResource Include="..\frugal-mono-tools\Pictures\fw-mini.png" />
+    <EmbeddedResource Include="..\frugal-mono-tools\Pictures\systray.png" />
</ItemGroup>
<ItemGroup>
<Compile Include="gtk-gui\generated.cs" />
diff --git a/frugal-irc/gtk-gui/MainWindow.cs b/frugal-irc/gtk-gui/MainWindow.cs
index 5657839..2c9cfd9 100644
--- a/frugal-irc/gtk-gui/MainWindow.cs
+++ b/frugal-irc/gtk-gui/MainWindow.cs
@@ -31,6 +31,10 @@ public partial class MainWindow

private global::Gtk.Button BTN_Send;

+       private global::Gtk.VBox vbox1;
+
+       private global::Gtk.Image image1;
+
private global::Gtk.ScrolledWindow GtkScrolledWindow;

private global::Gtk.TreeView TREE_Users;
@@ -173,6 +177,19 @@ public partial class MainWindow
global::Gtk.Box.BoxChild w13 = 
((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
w13.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild
+               this.vbox1 = new global::Gtk.VBox ();
+               this.vbox1.Name = "vbox1";
+               this.vbox1.Spacing = 6;
+               // Container child vbox1.Gtk.Box+BoxChild
+               this.image1 = new global::Gtk.Image ();
+               this.image1.Name = "image1";
+               this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource 
("frugalirc.fw.png");
+               this.vbox1.Add (this.image1);
+               global::Gtk.Box.BoxChild w14 = 
((global::Gtk.Box.BoxChild)(this.vbox1[this.image1]));
+               w14.Position = 0;
+               w14.Expand = false;
+               w14.Fill = false;
+               // Container child vbox1.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
@@ -181,13 +198,20 @@ public partial class MainWindow
this.TREE_Users.CanFocus = true;
this.TREE_Users.Name = "TREE_Users";
this.GtkScrolledWindow.Add (this.TREE_Users);
-               this.hbox1.Add (this.GtkScrolledWindow);
-               global::Gtk.Box.BoxChild w15 = 
((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
-               w15.Position = 1;
+               this.vbox1.Add (this.GtkScrolledWindow);
+               global::Gtk.Box.BoxChild w16 = 
((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
+               w16.Position = 1;
+               this.hbox1.Add (this.vbox1);
+               global::Gtk.Box.BoxChild w17 = 
((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1]));
+               w17.Position = 1;
+               w17.Expand = false;
+               w17.Fill = false;
this.Add (this.hbox1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
+               this.SAI_Serveur.Hide ();
+               this.SAI_Port.Hide ();
this.Show ();
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
this.BTN_Connect.Clicked += new global::System.EventHandler 
(this.OnBTNConnectClicked);
diff --git a/frugal-irc/gtk-gui/gui.stetic b/frugal-irc/gtk-gui/gui.stetic
index 789545b..b95c983 100644
--- a/frugal-irc/gtk-gui/gui.stetic
+++ b/frugal-irc/gtk-gui/gui.stetic
@@ -8,7 +8,7 @@
<widget-library name="glade-sharp, Version=2.12.0.0, Culture=neutral, 
PublicKeyToken=35e10195dab3c99f" />
<widget-library name="../bin/Debug/frugal-irc.exe" internal="true" />
</import>
-  <widget class="Gtk.Window" id="MainWindow" design-size="497 300">
+  <widget class="Gtk.Window" id="MainWindow" design-size="681 390">
<property name="MemberName" />
<property name="Title" translatable="yes">FrugalIRC</property>
<property name="Icon">resource:frugalirc.fw.png</property>
@@ -31,6 +31,7 @@
<child>
<widget class="Gtk.Entry" id="SAI_Serveur">
<property name="MemberName" />
+                    <property name="Visible">False</property>
<property name="CanFocus">True</property>
<property name="Text" translatable="yes">irc.freenode.net</property>
<property name="IsEditable">False</property>
@@ -65,6 +66,7 @@
<child>
<widget class="Gtk.Entry" id="SAI_Port">
<property name="MemberName" />
+                        <property name="Visible">False</property>
<property name="CanFocus">True</property>
<property name="Text" translatable="yes">6667</property>
<property name="IsEditable">False</property>
@@ -187,20 +189,44 @@
</packing>
</child>
<child>
-          <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
+          <widget class="Gtk.VBox" id="vbox1">
<property name="MemberName" />
-            <property name="ShadowType">In</property>
+            <property name="Spacing">6</property>
+            <child>
+              <widget class="Gtk.Image" id="image1">
+                <property name="MemberName" />
+                <property name="Pixbuf">resource:frugalirc.fw.png</property>
+              </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.TreeView" id="TREE_Users">
+              <widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
<property name="MemberName" />
-                <property name="CanFocus">True</property>
-                <property name="ShowScrollbars">True</property>
+                <property name="ShadowType">In</property>
+                <child>
+                  <widget class="Gtk.TreeView" id="TREE_Users">
+                    <property name="MemberName" />
+                    <property name="CanFocus">True</property>
+                    <property name="ShowScrollbars">True</property>
+                  </widget>
+                </child>
</widget>
+              <packing>
+                <property name="Position">1</property>
+                <property name="AutoSize">True</property>
+              </packing>
</child>
</widget>
<packing>
<property name="Position">1</property>
<property name="AutoSize">True</property>
+            <property name="Expand">False</property>
+            <property name="Fill">False</property>
</packing>
</child>
</widget>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to