Require gtk+ 2.6

Fri Mar 25 20:25:44 2005  Søren Sandmann  <sandmann@redhat.com>

	* README: Require gtk+ 2.6

	* treeviewutils.c (add_plain_text_column): Ellipsisize text columns.
This commit is contained in:
Søren Sandmann
2005-03-26 01:27:35 +00:00
committed by Søren Sandmann Pedersen
parent 0901851c45
commit 34ec80c9f4
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Fri Mar 25 20:25:44 2005 Søren Sandmann <sandmann@redhat.com>
* README: Require gtk+ 2.6
* treeviewutils.c (add_plain_text_column): Ellipsisize text columns.
Fri Mar 25 19:39:24 2005 Søren Sandmann <sandmann@redhat.com>
* TODO: Remove "loading and saving"

3
README
View File

@ -4,8 +4,7 @@ program "sysprof".
- There is no auto* stuff. Just type "make" and hope for the best
- You need gtk+ 2.4.0 or better. If you are using gtk+ 2.6 or newer
you also need libglade cvs HEAD.
- You need gtk+ 2.6.0 or better.
- You need a 2.6 kernel. On SMP kernels the module produces unreliable data.

View File

@ -81,6 +81,7 @@ add_plain_text_column (GtkTreeView *view, const gchar *title, gint model_column)
GtkTreeViewColumn *column;
renderer = gtk_cell_renderer_text_new ();
g_object_set (renderer, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
column = gtk_tree_view_column_new_with_attributes (title, renderer,
"text", model_column,
NULL);