comparison gtk/gtkconv.c @ 15110:699e4c6c9d14

[gaim-migrate @ 17895] Patch #1606353 from charkins to fix bug #1604257 (unseen convs in hidden window being incorrectly marked as seen). committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 04 Dec 2006 21:56:32 +0000
parents 0f950428ef41
children 5ab90cdee9e5
comparison
equal deleted inserted replaced
15109:24b19f0d25de 15110:699e4c6c9d14
7524 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, page_num); 7524 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, page_num);
7525 conv = gtkconv->active_conv; 7525 conv = gtkconv->active_conv;
7526 7526
7527 g_return_if_fail(conv != NULL); 7527 g_return_if_fail(conv != NULL);
7528 7528
7529 gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE); 7529 /* clear unseen flag if conversation is not hidden */
7530 if(!gaim_gtkconv_is_hidden(gtkconv)) {
7531 gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE);
7532 }
7530 7533
7531 /* Update the menubar */ 7534 /* Update the menubar */
7532 7535
7533 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkconv->win->menu.logging), 7536 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkconv->win->menu.logging),
7534 gaim_conversation_is_logging(conv)); 7537 gaim_conversation_is_logging(conv));