aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-02 16:31:46 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:30 +0800
commit768e57dfc5dad63a269a289a9847e468bf4bfa4d (patch)
tree677b50388c655ac03ddd652fec145dfd5412db4e
parent0010daeaea903d14c28694bfd6411b652b28c90b (diff)
downloadgsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.gz
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.tar.zst
gsoc2013-evolution-768e57dfc5dad63a269a289a9847e468bf4bfa4d.zip
Bug #640801 - Workaround gtk3 bug
-rw-r--r--filter/e-rule-editor.c5
-rw-r--r--filter/filter.ui2
2 files changed, 6 insertions, 1 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 10126bc42c..2491ac95d5 100644
--- a/filter/e-rule-editor.c
+++ b/filter/e-rule-editor.c
@@ -811,7 +811,12 @@ e_rule_editor_construct (ERuleEditor *editor,
editor->list = GTK_TREE_VIEW (object);
column = gtk_tree_view_get_column (GTK_TREE_VIEW (object), 0);
+ g_return_if_fail (column != NULL);
+
+ gtk_tree_view_column_set_visible (column, FALSE);
list = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (column));
+ g_return_if_fail (list != NULL);
+
renderer = GTK_CELL_RENDERER (list->data);
g_warn_if_fail (GTK_IS_CELL_RENDERER_TOGGLE (renderer));
diff --git a/filter/filter.ui b/filter/filter.ui
index b2e11f6fc1..d91292736d 100644
--- a/filter/filter.ui
+++ b/filter/filter.ui
@@ -177,7 +177,7 @@
<property name="headers_visible">False</property>
<child>
<object class="GtkTreeViewColumn" id="column_enabled">
- <property name="visible">False</property>
+ <!--<property name="visible">False</property>-->
<property name="title">Enabled</property>
<child>
<object class="GtkCellRendererToggle" id="cell_renderer_enabled"/>