Mercurial > pidgin.yaz
changeset 10059:79fafe47d919
[gaim-migrate @ 11027]
" When using the radio_menu widgets and the "activate"
signal is called, it is called for the old value and
then the new value. In reading the callback code, I
couldn't find a good reason that anything should be
done with the previous account that was sending as (as
it didn't seem to call any other signals, it just sets
the active account). This patch makes it so that if the
callback is called and the widget that initiated the
signal is not active, the callback stops instead of
spending the cycles to set up something that's going to
be replaced in the next second anyway." --Dave West
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 22 Sep 2004 11:54:29 +0000 |
parents | 514768e1db90 |
children | 7570908c558f |
files | src/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Wed Sep 22 03:55:23 2004 +0000 +++ b/src/gtkconv.c Wed Sep 22 11:54:29 2004 +0000 @@ -1891,6 +1891,9 @@ GaimConversation *conv; GaimGtkConversation *gtkconv; + if (gtk_check_menu_item_get_active((GtkCheckMenuItem*) m) == FALSE) + return; + conv = gaim_conv_window_get_active_conversation(win); gaim_conversation_set_account(conv, account);