[evolution-data-server] evolution-source-viewer: Fix icon column alignment.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] evolution-source-viewer: Fix icon column alignment.
- Date: Thu, 5 Jul 2012 12:55:58 +0000 (UTC)
commit 77e4209525707b7637431118c26b10baf495da6d
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jul 5 08:55:34 2012 -0400
evolution-source-viewer: Fix icon column alignment.
tests/libedataserverui/evolution-source-viewer.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/libedataserverui/evolution-source-viewer.c b/tests/libedataserverui/evolution-source-viewer.c
index 81c5513..52c96d1 100644
--- a/tests/libedataserverui/evolution-source-viewer.c
+++ b/tests/libedataserverui/evolution-source-viewer.c
@@ -627,6 +627,10 @@ source_viewer_constructed (GObject *object)
gtk_tree_view_column_add_attribute (
column, renderer, "visible", COLUMN_REMOVABLE);
+ /* Append an empty pixbuf renderer to fill leftover space. */
+ renderer = gtk_cell_renderer_pixbuf_new ();
+ gtk_tree_view_column_pack_start (column, renderer, TRUE);
+
column = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (column, _("Identity"));
gtk_tree_view_append_column (GTK_TREE_VIEW (widget), column);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]