[anjuta/gnome-3-0] Center "Visible" column header text



commit a8fe05a33f0f0a4ac13495ca02b13acd2fd8a918
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]