[evolution] Disable expand of To Do bar icon renderer
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Disable expand of To Do bar icon renderer
- Date: Mon, 30 Oct 2017 08:04:09 +0000 (UTC)
commit 0dd8ff6129a53de74dbbc9a04e0e19a9118d70f5
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 30 09:01:19 2017 +0100
Disable expand of To Do bar icon renderer
src/calendar/gui/e-to-do-pane.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/gui/e-to-do-pane.c b/src/calendar/gui/e-to-do-pane.c
index 136a1a1..2473223 100644
--- a/src/calendar/gui/e-to-do-pane.c
+++ b/src/calendar/gui/e-to-do-pane.c
@@ -2417,9 +2417,13 @@ e_to_do_pane_constructed (GObject *object)
gtk_grid_attach (grid, widget, 0, 1, 1, 1);
+ column = gtk_tree_view_column_new ();
+
renderer = gtk_cell_renderer_pixbuf_new ();
- column = gtk_tree_view_column_new_with_attributes ("Text", renderer,
+ gtk_tree_view_column_pack_start (column, renderer, FALSE);
+
+ gtk_tree_view_column_set_attributes (column, renderer,
"icon-name", COLUMN_ICON_NAME,
"visible", COLUMN_HAS_ICON_NAME,
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]