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

commit 050cd64ae95be36de3c8f1c4b4151e9aa9da5160
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Thu Sep 9 22:51:05 2010 +0200

*some fix
*hide apply ignorepkg

diff --git a/frugal-irc/Main.cs b/frugal-irc/Main.cs
index 01ee4e8..4384dd9 100644
--- a/frugal-irc/Main.cs
+++ b/frugal-irc/Main.cs
@@ -32,10 +32,7 @@ namespace frugalirc
Console.WriteLine("Connection to "+ChanParameter);
}
MainWindow win = new MainWindow ();
-                       win.Show ();
-                       //GUI readu
-                       if (ChanParameter!="")
-                                 Gtk.Application.Invoke (delegate 
{win.Connection();});
+                       win.Show ();
Application.Run ();
}
}
diff --git a/frugal-irc/MainWindow.cs b/frugal-irc/MainWindow.cs
index dde847e..b609511 100644
--- a/frugal-irc/MainWindow.cs
+++ b/frugal-irc/MainWindow.cs
@@ -278,7 +278,6 @@ public partial class MainWindow : Gtk.Window
irc.RfcJoin(channel);

// testing the delay and flood protection (messagebuffer work)
-                       irc.SendMessage(SendType.Notice, channel, "Hello");
irc.SendMessage(SendType.Message, channel, "Hello");
//ask list users
irc.RfcList(channel);
diff --git a/frugal-irc/frugal-irc.csproj b/frugal-irc/frugal-irc.csproj
index 366f1d9..85c8cc8 100644
--- a/frugal-irc/frugal-irc.csproj
+++ b/frugal-irc/frugal-irc.csproj
@@ -48,6 +48,7 @@
<EmbeddedResource Include="gtk-gui\gui.stetic">
<LogicalName>gui.stetic</LogicalName>
</EmbeddedResource>
+    <EmbeddedResource Include="..\frugal-mono-tools\Pictures\header.svg" />
</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 60031d0..9943fa9 100644
--- a/frugal-irc/gtk-gui/MainWindow.cs
+++ b/frugal-irc/gtk-gui/MainWindow.cs
@@ -41,6 +41,7 @@ public partial class MainWindow
// Widget MainWindow
this.Name = "MainWindow";
this.Title = global::Mono.Unix.Catalog.GetString ("FrugalIRC");
+               this.Icon = global::Gdk.Pixbuf.LoadFromResource 
("frugalirc.header.svg");
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
this.DefaultWidth = 800;
this.DefaultHeight = 400;
@@ -72,7 +73,7 @@ public partial class MainWindow
this.SAI_Chan = new global::Gtk.Entry ();
this.SAI_Chan.CanFocus = true;
this.SAI_Chan.Name = "SAI_Chan";
-               this.SAI_Chan.Text = global::Mono.Unix.Catalog.GetString 
("#test");
+               this.SAI_Chan.Text = global::Mono.Unix.Catalog.GetString 
("#frugalware");
this.SAI_Chan.IsEditable = false;
this.SAI_Chan.InvisibleChar = '•';
this.vbox3.Add (this.SAI_Chan);
diff --git a/frugal-irc/gtk-gui/gui.stetic b/frugal-irc/gtk-gui/gui.stetic
index faf985c..570d1c0 100644
--- a/frugal-irc/gtk-gui/gui.stetic
+++ b/frugal-irc/gtk-gui/gui.stetic
@@ -11,6 +11,7 @@
<widget class="Gtk.Window" id="MainWindow" design-size="497 300">
<property name="MemberName" />
<property name="Title" translatable="yes">FrugalIRC</property>
+    <property name="Icon">resource:frugalirc.header.svg</property>
<property name="WindowPosition">CenterOnParent</property>
<property name="DefaultWidth">800</property>
<property name="DefaultHeight">400</property>
diff --git a/frugal-mono-tools/MainWindow.cs b/frugal-mono-tools/MainWindow.cs
index 387600a..281c33a 100644
--- a/frugal-mono-tools/MainWindow.cs
+++ b/frugal-mono-tools/MainWindow.cs
@@ -990,7 +990,7 @@ public partial class MainWindow : Gtk.Window
_joinIrc("frugalware");
}
private void _joinIrc(string channel){
-               Outils.Excecute("frugalware-irc",channel,false);
+               
Outils.Excecute("mono","/usr/lib/frugalware-tweak/frugal-irc.exe 
"+channel,false);
}
protected virtual void OnBTNForumsClicked (object sender, System.EventArgs e)
{
diff --git a/frugal-mono-tools/gtk-gui/MainWindow.cs 
b/frugal-mono-tools/gtk-gui/MainWindow.cs
index 1f2f9af..ad7b6b9 100644
--- a/frugal-mono-tools/gtk-gui/MainWindow.cs
+++ b/frugal-mono-tools/gtk-gui/MainWindow.cs
@@ -1732,6 +1732,7 @@ public partial class MainWindow
}
this.DefaultWidth = 1064;
this.DefaultHeight = 536;
+               this.BTN_ApplyIgnorePkg.Hide ();
this.BTN_Hide.Hide ();
this.BTN_Setup.Hide ();
this.BTN_ServiceStart.Hide ();
diff --git a/frugal-mono-tools/gtk-gui/gui.stetic 
b/frugal-mono-tools/gtk-gui/gui.stetic
index bd048e3..c1bd95f 100644
--- a/frugal-mono-tools/gtk-gui/gui.stetic
+++ b/frugal-mono-tools/gtk-gui/gui.stetic
@@ -27,7 +27,7 @@
<widget class="Gtk.Notebook" id="ONG_principal">
<property name="MemberName" />
<property name="CanFocus">True</property>
-        <property name="CurrentPage">8</property>
+        <property name="CurrentPage">1</property>
<child>
<widget class="Gtk.VBox" id="vbox4">
<property name="MemberName" />
@@ -217,6 +217,7 @@
<child>
<widget class="Gtk.Button" id="BTN_ApplyIgnorePkg">
<property name="MemberName" />
+                    <property name="Visible">False</property>
<property name="CanFocus">True</property>
<property name="Type">TextOnly</property>
<property name="Label" translatable="yes">Apply</property>
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to