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

commit 5def1cd8c065f31c77ab3a513b5ccd1398a08e9b
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Tue Sep 7 00:16:47 2010 +0200

*inform user when rss change

diff --git a/frugal-mono-tools/MainWindow.cs b/frugal-mono-tools/MainWindow.cs
index c4c051d..5f51b28 100644
--- a/frugal-mono-tools/MainWindow.cs
+++ b/frugal-mono-tools/MainWindow.cs
@@ -407,6 +407,7 @@ public partial class MainWindow : Gtk.Window
{
//RSS
try{
+                       int count = modelFlux.Data.Count;
modelFlux.Clear();
FluxRss = new RSS(UrlPlanet);
int i = 0;
@@ -417,6 +418,14 @@ public partial class MainWindow : Gtk.Window
modelFlux.AppendValues(titre,i);
i++;
}
+                       if(modelFlux.Data.Count!=count)
+                       {
+                               if(MainClass.configuration.Get_ShowNotif())
+                               {
+                                       IconSummaryBody notif= new 
IconSummaryBody();
+                                       notif.ShowMessage("Frugalware","New RSS 
entry");
+                               }
+                       }
}
catch{}
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to