# HG changeset patch # User Mark Doliner # Date 1138253439 0 # Node ID 704dc95d0198910c8e39c0a700da2a9815b3151b # Parent 18fc2a679e38e20071fbb290757320119be873b7 [gaim-migrate @ 15404] "I'll take shit that abosofreakinglutely rocks for 400, Alex." committer: Tailor Script diff -r 18fc2a679e38 -r 704dc95d0198 src/gtkstatusbox.c --- 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);