Mercurial > pidgin.yaz
changeset 13045:704dc95d0198
[gaim-migrate @ 15404]
"I'll take shit that abosofreakinglutely rocks for 400, Alex."
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 26 Jan 2006 05:30:39 +0000 |
parents | 18fc2a679e38 |
children | 1becdaf72e6d |
files | src/gtkstatusbox.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkstatusbox.c Thu Jan 26 05:23:49 2006 +0000 +++ b/src/gtkstatusbox.c Thu Jan 26 05:30:39 2006 +0000 @@ -790,6 +790,9 @@ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(status_box), text_rend, TRUE); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box), icon_rend, "pixbuf", ICON_COLUMN, NULL); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box), text_rend, "markup", TEXT_COLUMN, NULL); +#if GTK_CHECK_VERSION(2, 6, 0) + g_object_set(text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); +#endif status_box->icon_rend = gtk_cell_renderer_pixbuf_new(); status_box->text_rend = gtk_cell_renderer_text_new(); @@ -797,6 +800,9 @@ gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, TRUE); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->icon_rend, "pixbuf", ICON_COLUMN, NULL); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, "markup", TEXT_COLUMN, NULL); +#if GTK_CHECK_VERSION(2, 6, 0) + g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); +#endif g_object_set(G_OBJECT(status_box->icon_rend), "xpad", 6, NULL);