| 5591 gtkconv->unseen_state = PIDGIN_UNSEEN_NONE; |
5591 gtkconv->unseen_state = PIDGIN_UNSEEN_NONE; |
| 5592 gtkconv->unseen_count = 0; |
5592 gtkconv->unseen_count = 0; |
| 5593 theme = purple_theme_manager_find_theme(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/theme"), "conversation"); |
5593 theme = purple_theme_manager_find_theme(purple_prefs_get_string(PIDGIN_PREFS_ROOT "/conversations/theme"), "conversation"); |
| 5594 if (!theme) |
5594 if (!theme) |
| 5595 theme = purple_theme_manager_find_theme("Default", "conversation"); |
5595 theme = purple_theme_manager_find_theme("Default", "conversation"); |
| 5596 gtkconv->theme = PIDGIN_CONV_THEME(theme); |
5596 gtkconv->theme = PIDGIN_CONV_THEME(g_object_ref(theme)); |
| 5597 gtkconv->last_flags = 0; |
5597 gtkconv->last_flags = 0; |
| 5598 |
5598 |
| 5599 if (conv_type == PURPLE_CONV_TYPE_IM) { |
5599 if (conv_type == PURPLE_CONV_TYPE_IM) { |
| 5600 gtkconv->u.im = g_malloc0(sizeof(PidginImPane)); |
5600 gtkconv->u.im = g_malloc0(sizeof(PidginImPane)); |
| 5601 } else if (conv_type == PURPLE_CONV_TYPE_CHAT) { |
5601 } else if (conv_type == PURPLE_CONV_TYPE_CHAT) { |