mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 20:52:16 -05:00
Work around for /away being called multiple times
This will have to be solved eventually in menu.c so you can change their status without emitting the signals.
This commit is contained in:
parent
b393d2f62f
commit
44ad5703ea
@ -3482,7 +3482,7 @@ fe_set_away (server *serv)
|
||||
{
|
||||
if (!sess->gui->is_tab || sess == current_tab)
|
||||
{
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (sess->gui->menu_item[MENU_ID_AWAY]), serv->is_away);
|
||||
GTK_CHECK_MENU_ITEM (sess->gui->menu_item[MENU_ID_AWAY])->active = serv->is_away;
|
||||
/* gray out my nickname */
|
||||
mg_set_myself_away (sess->gui, serv->is_away);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user