Mercurial > pidgin
changeset 10935:61ae1ee53a94
[gaim-migrate @ 12719]
sf patch #1207066, from Dave Ahlswede
Remove notebook border from tabless conversations
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 24 May 2005 04:37:33 +0000 |
parents | 185ca25b5c7e |
children | ea9e65f52b4b |
files | COPYRIGHT src/gtkconv.c |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Tue May 24 04:19:19 2005 +0000 +++ b/COPYRIGHT Tue May 24 04:37:33 2005 +0000 @@ -4,6 +4,7 @@ If you have contributed to Gaim, you deserve to be on this list. Contact us (see: AUTHORS) and we'll add you. +Dave Ahlswede Manuel Amador Daniel Atallah Paul Aurich
--- a/src/gtkconv.c Tue May 24 04:19:19 2005 +0000 +++ b/src/gtkconv.c Tue May 24 04:37:33 2005 +0000 @@ -4203,6 +4203,7 @@ gtk_notebook_set_scrollable(GTK_NOTEBOOK(gtkwin->notebook), TRUE); gtk_notebook_popup_enable(GTK_NOTEBOOK(gtkwin->notebook)); gtk_notebook_set_show_tabs(GTK_NOTEBOOK(gtkwin->notebook), FALSE); + gtk_notebook_set_show_border(GTK_NOTEBOOK(gtkwin->notebook), FALSE); gtk_widget_show(gtkwin->notebook); @@ -4305,13 +4306,13 @@ GaimBuddy *bud = gaim_find_buddy(conv->account, conv->name), *b; GaimContact *c; GaimBlistNode *cn; - + if (!bud) return NULL; - + if (!(c = gaim_buddy_get_contact(bud))) return NULL; - + cn = (GaimBlistNode *)c; for (b = (GaimBuddy *)cn->child; b; b = (GaimBuddy *) ((GaimBlistNode *)b)->next) { GaimConversation *conv; @@ -4320,7 +4321,7 @@ return conv->ui_data; } } - + return NULL; }