[Xfce4-commits] <postler:master> Re-introduce error handling in convo renderer
Christian Dywan
noreply at xfce.org
Sat Jul 9 15:06:01 CEST 2011
Updating branch refs/heads/master
to ee6b41eaf664bf7f300e14d72f6768f3908ac100 (commit)
from e889c75446e557ec0f20f8d439bd83f640baf311 (commit)
commit ee6b41eaf664bf7f300e14d72f6768f3908ac100
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jul 9 15:04:54 2011 +0200
Re-introduce error handling in convo renderer
This was accidentally removed.
postler/postler-messages.vala | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index a6e0061..1d6ee4a 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -87,6 +87,14 @@ public class Postler.Messages : Gtk.TreeView {
model.get (iter, Columns.MESSAGE, out message);
+ if (message.uri == "error:") {
+ renderer.subject = message.subject;
+ renderer.sender = renderer.date = renderer.text = "";
+ renderer.replies = 0;
+ renderer.priority = false;
+ return;
+ }
+
if (message.uri == null) {
new Client ().get_message.begin (message, MessageFlags.NONE,
new Gtk.TreeRowReference (model, model.get_path (iter)));
More information about the Xfce4-commits
mailing list