[gtk+/treeview-refactor-staging: 4/7] Add an editable cell to testverticalcells showing functional vertical focus navigation.



commit 66808adbad4df7783693ce0ce0ee89926bb38db3
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu Dec 9 18:21:32 2010 +0900

    Add an editable cell to testverticalcells showing functional vertical focus navigation.

 tests/testverticalcells.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testverticalcells.c b/tests/testverticalcells.c
index 627db45..e1a522d 100644
--- a/tests/testverticalcells.c
+++ b/tests/testverticalcells.c
@@ -342,7 +342,7 @@ main (gint argc, gchar **argv)
   gtk_orientable_set_orientation (GTK_ORIENTABLE (area), GTK_ORIENTATION_VERTICAL);
 
   renderer = gtk_cell_renderer_text_new ();
-  g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
+  g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, "editable", TRUE, NULL);
   gtk_tree_view_column_pack_start (column, renderer, TRUE);
   gtk_tree_view_column_set_attributes (column, renderer,
 				       "text", DESCRIPTION_COLUMN,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]