[Xfce4-commits] <postler:master> Don't display message sizes in rich rows
Christian Dywan
noreply at xfce.org
Mon Jun 21 20:12:04 CEST 2010
Updating branch refs/heads/master
to 130cba583489c1ac2ffccc91556488e1f9848cee (commit)
from 6e5ac56571878b25c5fec6ca596f4e81ba285a11 (commit)
commit 130cba583489c1ac2ffccc91556488e1f9848cee
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Jun 19 21:24:12 2010 +0200
Don't display message sizes in rich rows
Most of the size is not important but rather distracting.
postler/postler-messages.vala | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index a9c81ca..be993af 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -107,19 +107,16 @@ public class Postler.Messages : Gtk.TreeView {
string from;
time_t timestamp;
- int64 size;
model.get (iter, Columns.SUBJECT, out subject,
Columns.WEIGHT, out weight,
- Columns.SIZE, out size,
Columns.TIMESTAMP, out timestamp,
Columns.FROM, out from,
-1);
subject = escape_text (parse_encoded (subject, out charset));
- renderer.markup = ("<span weight=\"%d\">%s</span> <small>%s</small>\n" +
+ renderer.markup = ("<span weight=\"%d\">%s</span>\n" +
"<small><tt>%s </tt></small> %s").printf (
weight, subject,
- format_size_for_display (size),
GLib.Time.local (timestamp).format ("%x %X"),
parse_address (parse_encoded (from, out charset))[0]);
}
More information about the Xfce4-commits
mailing list