aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-02-02 16:31:46 +0800
committerMilan Crha <mcrha@redhat.com>2011-02-02 16:31:46 +0800
commitcd437591d629ab74de140866b8a137067849b486 (patch)
tree1ef7175b2dd820a83c770a1f42572a66a4a121e6
parent98e7810371e4d8b2f54157046bb4865ffbf96239 (diff)
downloadgsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.gz
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.bz2
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.lz
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.xz
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.tar.zst
gsoc2013-evolution-cd437591d629ab74de140866b8a137067849b486.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"/>