[anjuta] Center "Visible" column header text
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Center "Visible" column header text
- Date: Wed, 6 Apr 2011 21:11:28 +0000 (UTC)
commit fb0af7f721db000c741c38d795e5db7b6f0f6242
Author: Christian Hergert <chris dronelabs com>
Date: Thu Mar 24 20:18:27 2011 -0700
Center "Visible" column header text
The previous alignment of 0.0f looked somewhat off when the
column separator lines are visible. This centers the column
title which additionally aligns it better with the checkboxes.
Signed-off-by: Christian Hergert <chris dronelabs com>
https://bugzilla.gnome.org/show_bug.cgi?id=645659
libanjuta/anjuta-ui.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libanjuta/anjuta-ui.c b/libanjuta/anjuta-ui.c
index fc9d649..f866158 100644
--- a/libanjuta/anjuta-ui.c
+++ b/libanjuta/anjuta-ui.c
@@ -1418,6 +1418,7 @@ anjuta_ui_get_accel_editor (AnjutaUI *ui)
"visible",
COLUMN_SHOW_VISIBLE,
NULL);
+ gtk_tree_view_column_set_alignment (column, 0.5f);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), column);
#if 0
renderer = gtk_cell_renderer_toggle_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]