[evolution/webkit] Bug #640801 - Workaround gtk3 bug
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] Bug #640801 - Workaround gtk3 bug
- Date: Mon, 11 Jul 2011 14:09:17 +0000 (UTC)
commit 0e8aa1885727be73a82f41e5f6a61719400853e4
Author: Milan Crha <mcrha redhat com>
Date: Wed Feb 2 09:31:46 2011 +0100
Bug #640801 - Workaround gtk3 bug
filter/e-rule-editor.c | 5 +++++
filter/filter.ui | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 10126bc..2491ac9 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 b2e11f6..d912927 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"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]