>From 016a8c1f116491abeeb417735fdaf1974eddde64 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 24 Mar 2011 20:18:27 -0700 Subject: [PATCH 09/10] 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 --- 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 (); -- 1.7.4.1