[Xfce4-commits] <postler:master> Store indicator monitor as object data
Christian Dywan
noreply at xfce.org
Tue Jan 4 06:12:01 CET 2011
Updating branch refs/heads/master
to 3af35a4ce8932c9ce3cae08c8255149fa97fc6f8 (commit)
from 8ad387cd633510b4e0967119b0397166d8bc3352 (commit)
commit 3af35a4ce8932c9ce3cae08c8255149fa97fc6f8
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Jan 4 06:10:18 2011 +0100
Store indicator monitor as object data
Without this, the monitor disappears since it has no reference.
postler/postler-service.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/postler/postler-service.vala b/postler/postler-service.vala
index f5250da..6c80020 100644
--- a/postler/postler-service.vala
+++ b/postler/postler-service.vala
@@ -30,6 +30,8 @@ namespace Postler {
monitor.changed.connect ((monitor, file, other, event) => {
update_inbox_indicator (item);
});
+ indicator.set_data ("monitor", monitor);
+
} catch (Error error) {
GLib.warning ("Indicator: %s", error.message);
}
More information about the Xfce4-commits
mailing list