[Frugalware-git] frugal-mono-tools: *start control center to simple click on systray icon

bouleetbil bouleetbil at frogdev.info
Wed Sep 1 07:26:25 CEST 2010


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

commit f5a8d81390cda8f83132caca8ca577875105a51d
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Wed Sep 1 07:25:39 2010 +0200

*start control center to simple click on systray icon

diff --git a/frugal-mono-tools/Main.cs b/frugal-mono-tools/Main.cs
index fa7b55b..44613e4 100644
--- a/frugal-mono-tools/Main.cs
+++ b/frugal-mono-tools/Main.cs
@@ -132,7 +132,9 @@ namespace frugalmonotools
// Creation of the Icon
trayIcon = new StatusIcon(new Pixbuf ("/usr/share/pixmaps/FrugalTools.png"));
trayIcon.Visible = true;
-
+
+							trayIcon.Activate += delegate { Outils.Excecute("frugal-mono-tools","",false); };
+
// Show a pop up menu when the icon has been right clicked.
trayIcon.PopupMenu += OnTrayIconPopup;


More information about the Frugalware-git mailing list