[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Sun, 20 Mar 2022 04:55:27 -0400 (EDT) |
branch: master
commit f453dd62bf6648fb678f6f1d8d1f88f2414e0ef9
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Thu Oct 24 13:37:48 2019 +0100
ellipsize toc
---
js/infog/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/js/infog/main.c b/js/infog/main.c
index 3d483babff..6f9ec20f52 100644
--- a/js/infog/main.c
+++ b/js/infog/main.c
@@ -256,6 +256,9 @@ load_toc (char *p)
gtk_tree_view_set_model (toc_pane, GTK_TREE_MODEL(toc_store));
toc_renderer = gtk_cell_renderer_text_new ();
+ g_object_set (G_OBJECT(toc_renderer),
+ "ellipsize", PANGO_ELLIPSIZE_END, NULL);
+
toc_column = gtk_tree_view_column_new_with_attributes (NULL,
toc_renderer,
"text", 0,
- [no subject], (continued)
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject],
Gavin D. Smith <=
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20
- [no subject], Gavin D. Smith, 2022/03/20