Mercurial > pidgin.yaz
diff pidgin/gtkblist.c @ 23703:1a4417138a8f
clean up formatting, and added render settings for the names/markup on the blist
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Wed, 27 Aug 2008 05:36:59 +0000 |
parents | 2d436084d866 |
children | e0a596a0a020 |
line wrap: on
line diff
--- a/pidgin/gtkblist.c Tue Aug 26 08:28:25 2008 +0000 +++ b/pidgin/gtkblist.c Wed Aug 27 05:36:59 2008 +0000 @@ -5291,7 +5291,7 @@ } else if (text == i) { /* name */ gtkblist->text_rend = rend = gtk_cell_renderer_text_new(); - gtk_tree_view_column_pack_start (column, rend, TRUE); + gtk_tree_view_column_pack_start(column, rend, TRUE); gtk_tree_view_column_set_attributes(column, rend, #if GTK_CHECK_VERSION(2,6,0) "cell-background-gdk", BGCOLOR_COLUMN, @@ -5303,6 +5303,7 @@ g_signal_connect(G_OBJECT(rend), "editing-canceled", G_CALLBACK(gtk_blist_renderer_editing_cancelled_cb), list); #endif g_signal_connect(G_OBJECT(rend), "edited", G_CALLBACK(gtk_blist_renderer_edited_cb), list); + g_object_set(rend, "ypad", 0, "yalign", 0.5, NULL); #if GTK_CHECK_VERSION(2,6,0) g_object_set(rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); #endif