mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Søren Sandmann Pedersen
parent
0901851c45
commit
34ec80c9f4
@ -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
3
README
@ -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.
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user