| 8322 |
8322 |
| 8323 if (state > gtkconv->unseen_state) |
8323 if (state > gtkconv->unseen_state) |
| 8324 gtkconv->unseen_state = state; |
8324 gtkconv->unseen_state = state; |
| 8325 } |
8325 } |
| 8326 |
8326 |
| |
8327 purple_conversation_set_data(gtkconv->active_conv, "unseen-count", GINT_TO_POINTER(gtkconv->unseen_count)); |
| |
8328 purple_conversation_set_data(gtkconv->active_conv, "unseen-state", GINT_TO_POINTER(gtkconv->unseen_state)); |
| |
8329 |
| 8327 purple_conversation_update(gtkconv->active_conv, PURPLE_CONV_UPDATE_UNSEEN); |
8330 purple_conversation_update(gtkconv->active_conv, PURPLE_CONV_UPDATE_UNSEEN); |
| 8328 } |
8331 } |
| 8329 |
8332 |
| 8330 /* |
8333 /* |
| 8331 * When a conversation window is focused, we know the user |
8334 * When a conversation window is focused, we know the user |