[Xfce4-commits] <postler:master> Catch change events on messages and ignore them

Christian Dywan noreply at xfce.org
Tue Nov 30 17:20:02 CET 2010


Updating branch refs/heads/master
         to 4319a34239c24aab1be4d853d69c727ff81b61ff (commit)
       from 424f483717bafa5be7e2f94ea6759f27544ded36 (commit)

commit 4319a34239c24aab1be4d853d69c727ff81b61ff
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Nov 29 23:19:32 2010 +0100

    Catch change events on messages and ignore them

 postler/postler-messages.vala |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 3f09be6..eea23c1 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -845,6 +845,10 @@ public class Postler.Messages : Gtk.TreeView {
             if (get_message_iter (file.get_path (), out iter))
                 store.remove (iter);
             break;
+        case FileMonitorEvent.CHANGED:
+        case FileMonitorEvent.CHANGES_DONE_HINT:
+        case FileMonitorEvent.ATTRIBUTE_CHANGED:
+            break;
         default:
             GLib.warning ("Unhandled folder change: " + event.to_string ());
             break;



More information about the Xfce4-commits mailing list