Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=c1baaf7c286a0cd43dd265633b4de4388588387f
commit c1baaf7c286a0cd43dd265633b4de4388588387f Author: bouleetbil <bouleet...@frogdev.info> Date: Wed Sep 15 20:52:41 2010 +0200 *check rss on startup diff --git a/frugal-mono-tools/Fen_Menu.cs b/frugal-mono-tools/Fen_Menu.cs index d251146..37a1c5b 100644 --- a/frugal-mono-tools/Fen_Menu.cs +++ b/frugal-mono-tools/Fen_Menu.cs @@ -107,7 +107,8 @@ namespace frugalmonotools aTimer.Elapsed+=new ElapsedEventHandler(checkRSS); // Set the Interval to 1 hour. aTimer.Interval=3600000; - aTimer.Enabled=true; + aTimer.Enabled=true; + _checkRss(); } protected void OnSelectionEntryUpdate(object o, EventArgs args) @@ -231,7 +232,11 @@ namespace frugalmonotools } private void checkRSS(object source, ElapsedEventArgs e) { - //RSS + _checkRss(); + } + private void _checkRss() + { + //RSS try{ if (CurrentWidget==cch_news) { @@ -258,7 +263,6 @@ namespace frugalmonotools catch{} } - } } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git