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

commit 5ec05ca2624efae9b0708b12a0852530b6d2f75d
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Aug 30 00:28:58 2010 +0200

*some Window Manager don't support notification as wmii just ignore it

diff --git a/frugal-mono-tools/splash.cs b/frugal-mono-tools/splash.cs
index fb866c5..ec235f7 100644
--- a/frugal-mono-tools/splash.cs
+++ b/frugal-mono-tools/splash.cs
@@ -18,8 +18,7 @@ namespace frugalmonotools

//now notifications
if (MainClass.updatePkg)
-                       {
-                               IconSummaryBody notif= new IconSummaryBody();
+                       {
if(Debug.ModeDebug)
{
foreach (packageCheck pkg in Update.UpdatePkg)
@@ -27,7 +26,11 @@ namespace frugalmonotools
Console.WriteLine(pkg.packagename+" can be updated to "+pkg.packageversion);
}
}
+                               try{
+                               IconSummaryBody notif= new IconSummaryBody();
notif.ShowMessage("Frugalware","Some update are available.");
+                               }
+                               catch{}
Console.WriteLine("Some packages can be updated.");
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to