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

commit 4f2f33f7bb5c7dac1966124b05e65352610e24c7
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Sun Sep 19 22:59:26 2010 +0200

*don't crach without internet when check rss

diff --git a/frugal-mono-tools/Main.cs b/frugal-mono-tools/Main.cs
index 611d2fd..0a2b179 100644
--- a/frugal-mono-tools/Main.cs
+++ b/frugal-mono-tools/Main.cs
@@ -56,6 +56,8 @@ namespace frugalmonotools

public static void check()
{
+                       try
+                       {
RssFeed rssFeed =RssFeed.Read(UrlPlanet);
RssChannel rssChannel = (RssChannel)rssFeed.Channels[0];
string latest="";
@@ -71,6 +73,8 @@ namespace frugalmonotools
}

}
+                       }
+                       catch{}
if (Update.CheckUpdate())
{
Pixbuf ico = global::Gdk.Pixbuf.LoadFromResource 
("frugalmonotools.Pictures.systrayupdate.png");
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to