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

commit a1f7c755ad25d2001f60a88b4fa88c1d7f629672
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Fri Sep 3 11:53:32 2010 +0000

*added a webkit browser
*added some links forums, wiki, bugs, french, danish
*added a link to systray for open forums and wiki in the mini browser

diff --git a/frugal-mono-tools/Main.cs b/frugal-mono-tools/Main.cs
index e5fe7b9..53bae35 100644
--- a/frugal-mono-tools/Main.cs
+++ b/frugal-mono-tools/Main.cs
@@ -77,11 +77,30 @@ namespace frugalmonotools
Gtk.Image ccimg = new Gtk.Image(Stock.Execute, IconSize.Menu);
menuItemcc.Image = ccimg;
popupMenu.Add(menuItemcc);
+
+                               ImageMenuItem menuItemForum = new ImageMenuItem 
("Forums Frugalware");
+                               Gtk.Image Forumimg = new Gtk.Image(Stock.Help, 
IconSize.Menu);
+                               menuItemForum.Image = Forumimg;
+                               popupMenu.Add(menuItemForum);
+
+                               ImageMenuItem menuItemWiki = new ImageMenuItem 
("Wiki Frugalware");
+                               Gtk.Image Wikiimg = new Gtk.Image(Stock.Help, 
IconSize.Menu);
+                               menuItemWiki.Image = Wikiimg;
+                               popupMenu.Add(menuItemWiki);

ImageMenuItem menuItemQuit = new ImageMenuItem ("Quit");
Gtk.Image appimg = new Gtk.Image(Stock.Quit, IconSize.Menu);
menuItemQuit.Image = appimg;
popupMenu.Add(menuItemQuit);
+
+                               menuItemForum.Activated += delegate {
+                                                                               
                        WebkitBrowser browser = new 
WebkitBrowser("http://forums.frugalware.org";);
+                                                                               
                        browser.Show();
+                                                                               
                        };
+                               menuItemWiki.Activated += delegate {
+                                                                               
                        WebkitBrowser browser = new 
WebkitBrowser("http://wiki.frugalware.org";);
+                                                                               
                        browser.Show();
+                                                                               
                        };
menuItemcc.Activated += delegate { 
Outils.Excecute("frugal-mono-tools","",false); };
// Quit the application when quit has been clicked.
menuItemQuit.Activated += delegate { Application.Quit(); };
diff --git a/frugal-mono-tools/MainWindow.cs b/frugal-mono-tools/MainWindow.cs
index 61f6926..c68008b 100644
--- a/frugal-mono-tools/MainWindow.cs
+++ b/frugal-mono-tools/MainWindow.cs
@@ -52,9 +52,10 @@ public partial class MainWindow : Gtk.Window
ListStore modelFlux = new ListStore (typeof (string),typeof (int));
RSS FluxRss;

+
public MainWindow () : base(Gtk.WindowType.Toplevel)
{
-
+               this.SetDefaultSize (700, 500);
Build ();

//graphical debug
@@ -813,6 +814,44 @@ public partial class MainWindow : Gtk.Window
Outils.Excecute("python","/usr/bin/PyFrugalVTE python 
/usr/bin/PyFrugalIRC",false);
}

+       protected virtual void OnBTNForumsClicked (object sender, 
System.EventArgs e)
+       {
+               WebkitBrowser browser = new 
WebkitBrowser("http://forums.frugalware.org";);
+               browser.Show();
+       }
+
+       protected virtual void OnBTNWikiClicked (object sender, 
System.EventArgs e)
+       {
+               WebkitBrowser browser = new 
WebkitBrowser("http://wiki.frugalware.org";);
+               browser.Show();
+       }
+
+
+
+       protected virtual void OnBTNDanishClicked (object sender, 
System.EventArgs e)
+       {
+               WebkitBrowser browser = new 
WebkitBrowser("http://frugalware.dk/";);
+               browser.Show();
+       }
+
+       protected virtual void OnBTNFrenchClicked (object sender, 
System.EventArgs e)
+       {
+               WebkitBrowser browser = new 
WebkitBrowser("http://www.frugalware.fr";);
+               browser.Show();
+       }
+
+       protected virtual void OnBTNBugsClicked (object sender, 
System.EventArgs e)
+       {
+               WebkitBrowser browser = new 
WebkitBrowser("http://bugs.frugalware.org";);
+               browser.Show();
+       }
+
+
+
+
+
+
+



diff --git a/frugal-mono-tools/WebkitBrowser.cs 
b/frugal-mono-tools/WebkitBrowser.cs
new file mode 100644
index 0000000..6c457d3
--- /dev/null
+++ b/frugal-mono-tools/WebkitBrowser.cs
@@ -0,0 +1,227 @@
+//
+// WebKit# - WebKit bindings for Mono
+//
+// Authors:
+//      2010 by Gaetan Gourdin <bouleet...@frogdev.info>
+//   Everaldo Canuto <ecan...@novell.com>
+//
+// Copyright (c) 2008 Novell, Inc. All rights reserved.
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+
+using System;
+using Gtk;
+using GtkSharp;
+using WebKit;
+
+namespace frugalmonotools
+{
+
+
+       public class WebkitBrowser: Gtk.Window
+       {
+               const string APP_NAME = "FugalBrowser";
+
+               private string url = "http://www.frugalware.org/";;
+
+               private Gtk.VBox vbox = null;
+               private Gtk.Toolbar toolbar = null;
+               private Gtk.Toolbar findbar = null;
+               private Gtk.Entry uri_entry = null;
+               private Gtk.Entry find_entry = null;
+               private WebKit.WebView webview = null;
+               private Gtk.Statusbar statusbar = null;
+
+               private Gtk.Action action_back;
+               private Gtk.Action action_forward;
+               private Gtk.Action action_reload;
+               private Gtk.Action action_stop;
+               private Gtk.Action action_jump;
+
+               public WebkitBrowser (string url): base 
(Gtk.WindowType.Toplevel)
+               {
+                       if (url != "")
+                               this.url = url;
+
+                       CreateWidgets ();
+                       webview.Open (this.url);
+               }
+
+               private void CreateWidgets ()
+               {
+                       this.Title = APP_NAME;
+                       this.SetDefaultSize (700, 500);
+
+                       CreateActions ();
+                       CreateToolbar ();
+                       CreateWebView ();
+                       CreateFindbar ();
+                       CreateStatusBar ();
+
+                       Gtk.ScrolledWindow scroll = new Gtk.ScrolledWindow ();
+                       scroll.Add (webview);
+
+                       vbox = new Gtk.VBox (false, 1);
+                       vbox.PackStart (toolbar, false, false, 0);
+                       vbox.PackStart (scroll);
+                       //vbox.PackStart (findbar, false, false, 0);
+                       vbox.PackEnd (statusbar, false, true, 0);
+
+                       this.Add (vbox);
+                       this.ShowAll ();
+               }
+
+               private void CreateActions ()
+               {
+                       action_back    = new Gtk.Action("go-back",    "Go 
Back",    null, "gtk-go-back");
+                       action_forward = new Gtk.Action("go-forward", "Go 
Forward", null, "gtk-go-forward");
+                       action_reload  = new Gtk.Action("reload",     "Reload", 
    null, "gtk-refresh");
+                       action_stop    = new Gtk.Action("stop",       "Stop",   
    null, "gtk-stop");
+                       action_jump    = new Gtk.Action("jump",       "Jump",   
    null, "gtk-jump-to");
+
+                       action_back.Activated    += new 
EventHandler(on_back_activate);
+                       action_forward.Activated += new 
EventHandler(on_forward_activate);
+                       action_reload.Activated  += new 
EventHandler(on_reload_activate);
+                       action_stop.Activated    += new 
EventHandler(on_stop_activate);
+                       action_jump.Activated    += new 
EventHandler(on_uri_activate);
+               }
+
+               private void CreateToolbar ()
+               {
+                       // UrlEntry
+                       uri_entry = new Gtk.Entry ();
+                       uri_entry.Activated += new 
EventHandler(on_uri_activate);
+
+                       Gtk.ToolItem uri_item = new Gtk.ToolItem ();
+                       uri_item.Expand = true;
+                       uri_item.Add (uri_entry);
+
+                       // Toolbar
+                       toolbar = new Toolbar ();
+                       toolbar.ToolbarStyle = ToolbarStyle.Icons;
+                       toolbar.Orientation = Orientation.Horizontal;
+                       toolbar.ShowArrow = true;
+
+                       // Toolbar Itens
+                       toolbar.Add (action_back.CreateToolItem());
+                       toolbar.Add (action_forward.CreateToolItem());
+                       toolbar.Add (action_reload.CreateToolItem());
+                       toolbar.Add (action_stop.CreateToolItem());
+                       toolbar.Add (uri_item);
+                       toolbar.Add (action_jump.CreateToolItem());
+               }
+
+               private void CreateWebView ()
+               {
+                       webview = new WebView ();
+                       webview.Editable = false;
+                       webview.TitleChanged += new TitleChangedHandler 
(OnTitleChanged);
+                       webview.HoveringOverLink += new HoveringOverLinkHandler 
(OnHoveringOverLink);
+                       webview.LoadCommitted += new LoadCommittedHandler 
(OnLoadCommitted);
+                       webview.LoadFinished += new LoadFinishedHandler 
(OnLoadFinished);
+               }
+
+               private void CreateStatusBar ()
+               {
+                       statusbar = new Gtk.Statusbar ();
+               }
+
+               private void CreateFindbar ()
+               {
+                       // FindEntry
+                       find_entry = new Gtk.Entry ();
+                       //find_entry.Activated += new 
EventHandler(on_uri_activate);
+
+                       Gtk.ToolItem find_item = new Gtk.ToolItem ();
+                       //find_item.Expand = true;
+                       find_item.Add (find_entry);
+
+                       // Toolbar
+                       findbar = new Toolbar ();
+                       findbar.ToolbarStyle = ToolbarStyle.Icons;
+                       findbar.Orientation = Orientation.Horizontal;
+                       findbar.ShowArrow = true;
+
+                       // Toolbar Itens
+                       findbar.Add (action_stop.CreateToolItem());
+                       findbar.Add (find_item);
+                       findbar.Add (action_back.CreateToolItem());
+                       findbar.Add (action_forward.CreateToolItem());
+               }
+
+
+               private void OnTitleChanged (object o, TitleChangedArgs args)
+               {
+                       if (args.Title == String.Empty)
+                               this.Title = APP_NAME;
+                       else
+                               this.Title = String.Format ("{0} - {1}", 
args.Title, APP_NAME);
+               }
+
+               private void OnHoveringOverLink (object o, HoveringOverLinkArgs 
args)
+               {
+                       statusbar.Pop (1);
+                       if (args.Link != null) {
+                               statusbar.Push (1, args.Link);
+                       }
+               }
+
+               private void OnLoadCommitted (object o, LoadCommittedArgs args)
+               {
+                       action_back.Sensitive = webview.CanGoBack ();
+                       action_forward.Sensitive = webview.CanGoForward ();
+
+                       uri_entry.Text = args.Frame.Uri;
+               }
+
+               private void OnLoadFinished (object o, LoadFinishedArgs args)
+               {
+                       //
+               }
+
+               private void on_back_activate (object o, EventArgs args)
+               {
+                       webview.GoBack ();
+               }
+
+               private void on_forward_activate (object o, EventArgs args)
+               {
+                       webview.GoForward ();
+               }
+
+               private void on_reload_activate (object o, EventArgs args)
+               {
+                       webview.Reload ();
+               }
+
+               private void on_stop_activate (object o, EventArgs args)
+               {
+                       webview.StopLoading ();
+               }
+
+               private void on_uri_activate (object o, EventArgs args)
+               {
+                       webview.Open (uri_entry.Text);
+               }
+       }
+}
+
diff --git a/frugal-mono-tools/frugal-mono-tools.csproj 
b/frugal-mono-tools/frugal-mono-tools.csproj
index 468d378..64d7873 100644
--- a/frugal-mono-tools/frugal-mono-tools.csproj
+++ b/frugal-mono-tools/frugal-mono-tools.csproj
@@ -85,6 +85,7 @@
<Compile Include="Configuration.cs" />
<Compile Include="Service.cs" />
<Compile Include="Services.cs" />
+    <Compile Include="WebkitBrowser.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions>
diff --git a/frugal-mono-tools/gtk-gui/MainWindow.cs 
b/frugal-mono-tools/gtk-gui/MainWindow.cs
index 1edab76..00a4485 100644
--- a/frugal-mono-tools/gtk-gui/MainWindow.cs
+++ b/frugal-mono-tools/gtk-gui/MainWindow.cs
@@ -187,6 +187,18 @@ public partial class MainWindow

private global::Gtk.Button BTN_Irc;

+       private global::Gtk.Button BTN_Forums;
+
+       private global::Gtk.Button BTN_Wiki;
+
+       private global::Gtk.Button BTN_Bugs;
+
+       private global::Gtk.Label label8;
+
+       private global::Gtk.Button BTN_French;
+
+       private global::Gtk.Button BTN_Danish;
+
private global::Gtk.Label label5;

private global::Gtk.VBox vbox5;
@@ -1069,7 +1081,7 @@ public partial class MainWindow
// Container child vbox9.Gtk.Box+BoxChild
this.label7 = new global::Gtk.Label ();
this.label7.Name = "label7";
-               this.label7.LabelProp = global::Mono.Unix.Catalog.GetString 
("Frugalware provide some helps supports :\n\nforums : 
http://forums.frugalware.org\n\nWiki : http://wiki.frugalware.org\n\nirc : 
irc.freenode.net channel #frugalware");
+               this.label7.LabelProp = global::Mono.Unix.Catalog.GetString 
("Frugalware provide some helps supports :\n\nForums : 
http://forums.frugalware.org\n\nWiki : http://wiki.frugalware.org\n\nirc : 
irc.freenode.net channel #frugalware");
this.vbox9.Add (this.label7);
global::Gtk.Box.BoxChild w83 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.label7]));
w83.Position = 0;
@@ -1086,9 +1098,73 @@ public partial class MainWindow
w84.Position = 1;
w84.Expand = false;
w84.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.BTN_Forums = new global::Gtk.Button ();
+               this.BTN_Forums.CanFocus = true;
+               this.BTN_Forums.Name = "BTN_Forums";
+               this.BTN_Forums.UseUnderline = true;
+               this.BTN_Forums.Label = global::Mono.Unix.Catalog.GetString 
("Forums Frugalware");
+               this.vbox9.Add (this.BTN_Forums);
+               global::Gtk.Box.BoxChild w85 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.BTN_Forums]));
+               w85.Position = 2;
+               w85.Expand = false;
+               w85.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.BTN_Wiki = new global::Gtk.Button ();
+               this.BTN_Wiki.CanFocus = true;
+               this.BTN_Wiki.Name = "BTN_Wiki";
+               this.BTN_Wiki.UseUnderline = true;
+               this.BTN_Wiki.Label = global::Mono.Unix.Catalog.GetString 
("Wiki Frugalware");
+               this.vbox9.Add (this.BTN_Wiki);
+               global::Gtk.Box.BoxChild w86 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.BTN_Wiki]));
+               w86.Position = 3;
+               w86.Expand = false;
+               w86.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.BTN_Bugs = new global::Gtk.Button ();
+               this.BTN_Bugs.CanFocus = true;
+               this.BTN_Bugs.Name = "BTN_Bugs";
+               this.BTN_Bugs.UseUnderline = true;
+               this.BTN_Bugs.Label = global::Mono.Unix.Catalog.GetString 
("Bugs tracker");
+               this.vbox9.Add (this.BTN_Bugs);
+               global::Gtk.Box.BoxChild w87 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.BTN_Bugs]));
+               w87.Position = 4;
+               w87.Expand = false;
+               w87.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.label8 = new global::Gtk.Label ();
+               this.label8.Name = "label8";
+               this.label8.LabelProp = global::Mono.Unix.Catalog.GetString 
("Internationalized Frugalware sites");
+               this.vbox9.Add (this.label8);
+               global::Gtk.Box.BoxChild w88 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.label8]));
+               w88.Position = 5;
+               w88.Expand = false;
+               w88.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.BTN_French = new global::Gtk.Button ();
+               this.BTN_French.CanFocus = true;
+               this.BTN_French.Name = "BTN_French";
+               this.BTN_French.UseUnderline = true;
+               this.BTN_French.Label = global::Mono.Unix.Catalog.GetString 
("French");
+               this.vbox9.Add (this.BTN_French);
+               global::Gtk.Box.BoxChild w89 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.BTN_French]));
+               w89.Position = 6;
+               w89.Expand = false;
+               w89.Fill = false;
+               // Container child vbox9.Gtk.Box+BoxChild
+               this.BTN_Danish = new global::Gtk.Button ();
+               this.BTN_Danish.CanFocus = true;
+               this.BTN_Danish.Name = "BTN_Danish";
+               this.BTN_Danish.UseUnderline = true;
+               this.BTN_Danish.Label = global::Mono.Unix.Catalog.GetString 
("Danish");
+               this.vbox9.Add (this.BTN_Danish);
+               global::Gtk.Box.BoxChild w90 = 
((global::Gtk.Box.BoxChild)(this.vbox9[this.BTN_Danish]));
+               w90.Position = 7;
+               w90.Expand = false;
+               w90.Fill = false;
this.ONG_principal.Add (this.vbox9);
-               global::Gtk.Notebook.NotebookChild w85 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox9]));
-               w85.Position = 6;
+               global::Gtk.Notebook.NotebookChild w91 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox9]));
+               w91.Position = 6;
// Notebook tab
this.label5 = new global::Gtk.Label ();
this.label5.Name = "label5";
@@ -1103,18 +1179,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 w86 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.CBO_TitleNews]));
-               w86.Position = 0;
-               w86.Expand = false;
-               w86.Fill = false;
+               global::Gtk.Box.BoxChild w92 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.CBO_TitleNews]));
+               w92.Position = 0;
+               w92.Expand = false;
+               w92.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 w87 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.LIB_Titre]));
-               w87.Position = 1;
-               w87.Expand = false;
-               w87.Fill = false;
+               global::Gtk.Box.BoxChild w93 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.LIB_Titre]));
+               w93.Position = 1;
+               w93.Expand = false;
+               w93.Fill = false;
// Container child vbox5.Gtk.Box+BoxChild
this.BTN_Link = new global::Gtk.Button ();
this.BTN_Link.CanFocus = true;
@@ -1122,13 +1198,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 w88 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.BTN_Link]));
-               w88.Position = 3;
-               w88.Expand = false;
-               w88.Fill = false;
+               global::Gtk.Box.BoxChild w94 = 
((global::Gtk.Box.BoxChild)(this.vbox5[this.BTN_Link]));
+               w94.Position = 3;
+               w94.Expand = false;
+               w94.Fill = false;
this.ONG_principal.Add (this.vbox5);
-               global::Gtk.Notebook.NotebookChild w89 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox5]));
-               w89.Position = 7;
+               global::Gtk.Notebook.NotebookChild w95 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox5]));
+               w95.Position = 7;
// Notebook tab
this.LIB_News = new global::Gtk.Label ();
this.LIB_News.Name = "LIB_News";
@@ -1147,10 +1223,10 @@ public partial class MainWindow
this.INT_CheckStartup.DrawIndicator = true;
this.INT_CheckStartup.UseUnderline = true;
this.vbox8.Add (this.INT_CheckStartup);
-               global::Gtk.Box.BoxChild w90 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_CheckStartup]));
-               w90.Position = 0;
-               w90.Expand = false;
-               w90.Fill = false;
+               global::Gtk.Box.BoxChild w96 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_CheckStartup]));
+               w96.Position = 0;
+               w96.Expand = false;
+               w96.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.INT_StartWithXSession = new global::Gtk.CheckButton ();
this.INT_StartWithXSession.CanFocus = true;
@@ -1160,10 +1236,10 @@ public partial class MainWindow
this.INT_StartWithXSession.DrawIndicator = true;
this.INT_StartWithXSession.UseUnderline = true;
this.vbox8.Add (this.INT_StartWithXSession);
-               global::Gtk.Box.BoxChild w91 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_StartWithXSession]));
-               w91.Position = 1;
-               w91.Expand = false;
-               w91.Fill = false;
+               global::Gtk.Box.BoxChild w97 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_StartWithXSession]));
+               w97.Position = 1;
+               w97.Expand = false;
+               w97.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.INT_ShowNotif = new global::Gtk.CheckButton ();
this.INT_ShowNotif.CanFocus = true;
@@ -1173,10 +1249,10 @@ public partial class MainWindow
this.INT_ShowNotif.DrawIndicator = true;
this.INT_ShowNotif.UseUnderline = true;
this.vbox8.Add (this.INT_ShowNotif);
-               global::Gtk.Box.BoxChild w92 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_ShowNotif]));
-               w92.Position = 2;
-               w92.Expand = false;
-               w92.Fill = false;
+               global::Gtk.Box.BoxChild w98 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_ShowNotif]));
+               w98.Position = 2;
+               w98.Expand = false;
+               w98.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.INT_ShowSplash = new global::Gtk.CheckButton ();
this.INT_ShowSplash.CanFocus = true;
@@ -1186,10 +1262,10 @@ public partial class MainWindow
this.INT_ShowSplash.DrawIndicator = true;
this.INT_ShowSplash.UseUnderline = true;
this.vbox8.Add (this.INT_ShowSplash);
-               global::Gtk.Box.BoxChild w93 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_ShowSplash]));
-               w93.Position = 3;
-               w93.Expand = false;
-               w93.Fill = false;
+               global::Gtk.Box.BoxChild w99 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.INT_ShowSplash]));
+               w99.Position = 3;
+               w99.Expand = false;
+               w99.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.hbox21 = new global::Gtk.HBox ();
this.hbox21.Name = "hbox21";
@@ -1201,18 +1277,18 @@ public partial class MainWindow
this.BTN_SaveConf.UseUnderline = true;
this.BTN_SaveConf.Label = global::Mono.Unix.Catalog.GetString ("Apply");
this.hbox21.Add (this.BTN_SaveConf);
-               global::Gtk.Box.BoxChild w94 = 
((global::Gtk.Box.BoxChild)(this.hbox21[this.BTN_SaveConf]));
-               w94.Position = 2;
-               w94.Expand = false;
-               w94.Fill = false;
+               global::Gtk.Box.BoxChild w100 = 
((global::Gtk.Box.BoxChild)(this.hbox21[this.BTN_SaveConf]));
+               w100.Position = 2;
+               w100.Expand = false;
+               w100.Fill = false;
this.vbox8.Add (this.hbox21);
-               global::Gtk.Box.BoxChild w95 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox21]));
-               w95.Position = 5;
-               w95.Expand = false;
-               w95.Fill = false;
+               global::Gtk.Box.BoxChild w101 = 
((global::Gtk.Box.BoxChild)(this.vbox8[this.hbox21]));
+               w101.Position = 5;
+               w101.Expand = false;
+               w101.Fill = false;
this.ONG_principal.Add (this.vbox8);
-               global::Gtk.Notebook.NotebookChild w96 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox8]));
-               w96.Position = 8;
+               global::Gtk.Notebook.NotebookChild w102 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.vbox8]));
+               w102.Position = 8;
// Notebook tab
this.Configuration = new global::Gtk.Label ();
this.Configuration.Name = "Configuration";
@@ -1230,8 +1306,8 @@ public partial class MainWindow
this.textview2.Name = "textview2";
this.GtkScrolledWindow2.Add (this.textview2);
this.ONG_principal.Add (this.GtkScrolledWindow2);
-               global::Gtk.Notebook.NotebookChild w98 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.GtkScrolledWindow2]));
-               w98.Position = 9;
+               global::Gtk.Notebook.NotebookChild w104 = 
((global::Gtk.Notebook.NotebookChild)(this.ONG_principal[this.GtkScrolledWindow2]));
+               w104.Position = 9;
// Notebook tab
this.label6 = new global::Gtk.Label ();
this.label6.Name = "label6";
@@ -1275,6 +1351,11 @@ public partial class MainWindow
this.INT_KDM.Clicked += new global::System.EventHandler (this.OnINTKDMClicked);
this.BTN_LoginManager.Clicked += new global::System.EventHandler 
(this.OnBTNLoginManagerClicked);
this.BTN_Irc.Clicked += new global::System.EventHandler (this.OnBTNIrcClicked);
+               this.BTN_Forums.Clicked += new global::System.EventHandler 
(this.OnBTNForumsClicked);
+               this.BTN_Wiki.Clicked += new global::System.EventHandler 
(this.OnBTNWikiClicked);
+               this.BTN_Bugs.Clicked += new global::System.EventHandler 
(this.OnBTNBugsClicked);
+               this.BTN_French.Clicked += new global::System.EventHandler 
(this.OnBTNFrenchClicked);
+               this.BTN_Danish.Clicked += new global::System.EventHandler 
(this.OnBTNDanishClicked);
this.CBO_TitleNews.Changed += new global::System.EventHandler (this.SelectItem);
this.BTN_Link.Clicked += new global::System.EventHandler (this.OpenLink);
this.BTN_SaveConf.Clicked += new global::System.EventHandler 
(this.OnBTNSaveConfClicked);
diff --git a/frugal-mono-tools/gtk-gui/gui.stetic 
b/frugal-mono-tools/gtk-gui/gui.stetic
index f044369..a44e2f9 100644
--- a/frugal-mono-tools/gtk-gui/gui.stetic
+++ b/frugal-mono-tools/gtk-gui/gui.stetic
@@ -1209,7 +1209,7 @@ ztv</property>
<property name="MemberName" />
<property name="LabelProp" translatable="yes">Frugalware provide some helps 
supports :

-forums : http://forums.frugalware.org
+Forums : http://forums.frugalware.org

Wiki : http://wiki.frugalware.org

@@ -1239,7 +1239,96 @@ irc : irc.freenode.net channel #frugalware</property>
</packing>
</child>
<child>
-              <placeholder />
+              <widget class="Gtk.Button" id="BTN_Forums">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextOnly</property>
+                <property name="Label" translatable="yes">Forums 
Frugalware</property>
+                <property name="UseUnderline">True</property>
+                <signal name="Clicked" handler="OnBTNForumsClicked" />
+              </widget>
+              <packing>
+                <property name="Position">2</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_Wiki">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextOnly</property>
+                <property name="Label" translatable="yes">Wiki 
Frugalware</property>
+                <property name="UseUnderline">True</property>
+                <signal name="Clicked" handler="OnBTNWikiClicked" />
+              </widget>
+              <packing>
+                <property name="Position">3</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_Bugs">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextOnly</property>
+                <property name="Label" translatable="yes">Bugs 
tracker</property>
+                <property name="UseUnderline">True</property>
+                <signal name="Clicked" handler="OnBTNBugsClicked" />
+              </widget>
+              <packing>
+                <property name="Position">4</property>
+                <property name="AutoSize">True</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
+            </child>
+            <child>
+              <widget class="Gtk.Label" id="label8">
+                <property name="MemberName" />
+                <property name="LabelProp" 
translatable="yes">Internationalized Frugalware sites</property>
+              </widget>
+              <packing>
+                <property name="Position">5</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_French">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextOnly</property>
+                <property name="Label" translatable="yes">French</property>
+                <property name="UseUnderline">True</property>
+                <signal name="Clicked" handler="OnBTNFrenchClicked" />
+              </widget>
+              <packing>
+                <property name="Position">6</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_Danish">
+                <property name="MemberName" />
+                <property name="CanFocus">True</property>
+                <property name="Type">TextOnly</property>
+                <property name="Label" translatable="yes">Danish</property>
+                <property name="UseUnderline">True</property>
+                <signal name="Clicked" handler="OnBTNDanishClicked" />
+              </widget>
+              <packing>
+                <property name="Position">7</property>
+                <property name="AutoSize">True</property>
+                <property name="Expand">False</property>
+                <property name="Fill">False</property>
+              </packing>
</child>
<child>
<placeholder />
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to