Updating branch refs/heads/master
to 6e5ac56571878b25c5fec6ca596f4e81ba285a11 (commit)
from 00463d2775ed179c23899cd2c4c56fdbd74abaa3 (commit)
commit 6e5ac56571878b25c5fec6ca596f4e81ba285a11
Author: Christian Dywan <[email protected]>
Date: Sat Jun 19 21:18:13 2010 +0200
Hide last three empty columns with rich rows
postler/postler-messages.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/postler/postler-messages.vala b/postler/postler-messages.vala
index 2d85755..a9c81ca 100644
--- a/postler/postler-messages.vala
+++ b/postler/postler-messages.vala
@@ -194,6 +194,12 @@ public class Postler.Messages : Gtk.TreeView {
insert_column_with_data_func (-1, _("Size"),
new Gtk.CellRendererText (), render_size);
+ if (rich_rows) {
+ get_column (3).visible = false;
+ get_column (4).visible = false;
+ get_column (5).visible = false;
+ }
+
unowned Gtk.BindingSet binding_set = Gtk.BindingSet.by_class
(get_class ());
Gtk.BindingEntry.add_signal (binding_set,
Gdk.keyval_from_name ("Delete"), 0, "delete", 0);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits