Mercurial > pidgin.yaz
changeset 5168:0f31d00d2501
[gaim-migrate @ 5532]
you can now resize the buddy list to your heart's content.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 18 Apr 2003 19:48:42 +0000 |
parents | d9073c83a8a0 |
children | 71927464a1db |
files | src/buddy.c src/gtklist.h |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy.c Fri Apr 18 19:20:45 2003 +0000 +++ b/src/buddy.c Fri Apr 18 19:48:42 2003 +0000 @@ -63,7 +63,6 @@ static void gaim_gtk_blist_selection_changed(GtkTreeSelection *selection, gpointer data); static void gaim_gtk_blist_update(struct gaim_buddy_list *list, GaimBlistNode *node); static char *gaim_get_tooltip_text(struct buddy *b); -static GdkPixbuf *gaim_gtk_blist_get_status_icon(struct buddy *b, GaimStatusIconSize size); static char *item_factory_translate_func (const char *path, gpointer func_data); /*************************************************** @@ -749,7 +748,7 @@ } -static GdkPixbuf *gaim_gtk_blist_get_status_icon(struct buddy *b, GaimStatusIconSize size) +GdkPixbuf *gaim_gtk_blist_get_status_icon(struct buddy *b, GaimStatusIconSize size) { GdkPixbuf *status = NULL; GdkPixbuf *scale = NULL; @@ -1130,6 +1129,8 @@ gtk_window_set_role(GTK_WINDOW(gtkblist->window), "buddy_list"); gtk_window_set_title(GTK_WINDOW(gtkblist->window), _("Buddy List")); + GTK_WINDOW(gtkblist->window)->allow_shrink = TRUE; + gtkblist->vbox = gtk_vbox_new(FALSE, 0); gtk_container_add(GTK_CONTAINER(gtkblist->window), gtkblist->vbox);
--- a/src/gtklist.h Fri Apr 18 19:20:45 2003 +0000 +++ b/src/gtklist.h Fri Apr 18 19:48:42 2003 +0000 @@ -119,4 +119,10 @@ void gaim_gtk_blist_docklet_remove(); void gaim_gtk_blist_update_columns(); +/** + * Useful for the buddy ticker + */ +GdkPixbuf *gaim_gtk_blist_get_status_icon(struct buddy *b, + GaimStatusIconSize size); + #endif /* _GAIM_GTK_LIST_H_ */