Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=52beab64b99e0f50c9a10cca98ee22a27dc0e08a
commit 52beab64b99e0f50c9a10cca98ee22a27dc0e08a Author: bouleetbil <bouleet...@frogdev.info> Date: Fri Sep 3 22:01:07 2010 +0200 *added menu to systray for start it as root diff --git a/frugal-mono-tools/Main.cs b/frugal-mono-tools/Main.cs index 53bae35..dbe403e 100644 --- a/frugal-mono-tools/Main.cs +++ b/frugal-mono-tools/Main.cs @@ -78,6 +78,12 @@ namespace frugalmonotools menuItemcc.Image = ccimg; popupMenu.Add(menuItemcc); + Menu popupMenuRoot = new Menu(); + ImageMenuItem menuItemccRoot = new ImageMenuItem ("Start Control Center as root"); + Gtk.Image ccimgRoot = new Gtk.Image(Stock.Execute, IconSize.Menu); + menuItemccRoot.Image = ccimgRoot; + popupMenu.Add(menuItemccRoot); + ImageMenuItem menuItemForum = new ImageMenuItem ("Forums Frugalware"); Gtk.Image Forumimg = new Gtk.Image(Stock.Help, IconSize.Menu); menuItemForum.Image = Forumimg; @@ -102,6 +108,8 @@ namespace frugalmonotools browser.Show(); }; menuItemcc.Activated += delegate { Outils.Excecute("frugal-mono-tools","",false); }; + menuItemccRoot.Activated += delegate { Outils.Excecute("sucontrolcenter","",false); }; + // Quit the application when quit has been clicked. menuItemQuit.Activated += delegate { Application.Quit(); }; popupMenu.ShowAll(); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git