[Xfce4-commits] <postler:master> Don't show attachments and respect the option properly
Christian Dywan
noreply at xfce.org
Thu Jul 29 12:26:01 CEST 2010
Updating branch refs/heads/master
to bcb7cfd450c0ad8eecb95b8d616f559780b5ebab (commit)
from c6d8169c7f32151d96923e7a275c3249d634c7c3 (commit)
commit bcb7cfd450c0ad8eecb95b8d616f559780b5ebab
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Jul 19 22:11:21 2010 +0200
Don't show attachments and respect the option properly
postler/postler-messages.vala | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 47a7895..4403d23 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -17,7 +17,7 @@ public class Postler.Messages : Gtk.TreeView {
public Postler.Content content { get; set; }
public bool hide_read { get; set; }
public bool rich_rows { get; set; default = true; }
- public bool show_attachments { get; set; default = true; }
+ public bool show_attachments { get; set; default = false; }
public string? selected_location { get; set; }
string last_location;
@@ -551,7 +551,9 @@ public class Postler.Messages : Gtk.TreeView {
}
unowned string attachment = null;
- if (content_type != null && content_type.has_prefix ("multipart/mixed"))
+ if (show_attachments
+ && content_type != null
+ && content_type.has_prefix ("multipart/mixed"))
attachment = STOCK_MAIL_ATTACHMENT;
store.insert_with_values (out account_iter, null, -1,
More information about the Xfce4-commits
mailing list