[tasks] ellipsize category names in combobox
- From: Ross Burton <rburton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tasks] ellipsize category names in combobox
- Date: Thu, 26 Nov 2009 16:48:47 +0000 (UTC)
commit 38f2225bd6eac40447261474a3a37b97afed903f
Author: Jussi Kukkonen <jku linux intel com>
Date: Thu Nov 26 17:57:47 2009 +0200
ellipsize category names in combobox
libkoto/koto-group-combo.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libkoto/koto-group-combo.c b/libkoto/koto-group-combo.c
index d39c64f..e0e0f62 100644
--- a/libkoto/koto-group-combo.c
+++ b/libkoto/koto-group-combo.c
@@ -114,6 +114,9 @@ koto_group_combo_init (KotoGroupCombo *self)
GtkCellRenderer *renderer;
renderer = gtk_cell_renderer_text_new ();
+ g_object_set (renderer,
+ "ellipsize", PANGO_ELLIPSIZE_END,
+ NULL);
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (self), renderer, TRUE);
gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (self), renderer,
group_name_data_func, NULL, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]