| 7350 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, page_num); |
7350 gtkconv = gaim_gtk_conv_window_get_gtkconv_at_index(win, page_num); |
| 7351 conv = gtkconv->active_conv; |
7351 conv = gtkconv->active_conv; |
| 7352 |
7352 |
| 7353 g_return_if_fail(conv != NULL); |
7353 g_return_if_fail(conv != NULL); |
| 7354 |
7354 |
| 7355 /* |
7355 gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE); |
| 7356 * Only set "unseen" to "none" if the window has focus |
|
| 7357 */ |
|
| 7358 if (gaim_gtk_conv_window_has_focus(win)) |
|
| 7359 gtkconv_set_unseen(gtkconv, GAIM_UNSEEN_NONE); |
|
| 7360 |
7356 |
| 7361 /* Update the menubar */ |
7357 /* Update the menubar */ |
| 7362 |
7358 |
| 7363 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkconv->win->menu.logging), |
7359 gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(gtkconv->win->menu.logging), |
| 7364 gaim_conversation_is_logging(conv)); |
7360 gaim_conversation_is_logging(conv)); |