| 166 static GList *busy_list = NULL; |
164 static GList *busy_list = NULL; |
| 167 static GList *xa_list = NULL; |
165 static GList *xa_list = NULL; |
| 168 static GList *offline_list = NULL; |
166 static GList *offline_list = NULL; |
| 169 static GHashTable *protocol_lists = NULL; |
167 static GHashTable *protocol_lists = NULL; |
| 170 static GHashTable *e2ee_stock = NULL; |
168 static GHashTable *e2ee_stock = NULL; |
| 171 |
|
| 172 static PurpleTheme *default_conv_theme = NULL; |
|
| 173 |
169 |
| 174 static gboolean update_send_to_selection(PidginConvWindow *win); |
170 static gboolean update_send_to_selection(PidginConvWindow *win); |
| 175 static void generate_send_to_items(PidginConvWindow *win); |
171 static void generate_send_to_items(PidginConvWindow *win); |
| 176 |
172 |
| 177 /* Prototypes. <-- because Paco-Paco hates this comment. */ |
173 /* Prototypes. <-- because Paco-Paco hates this comment. */ |
| 4466 **************************************************************************/ |
4462 **************************************************************************/ |
| 4467 static void |
4463 static void |
| 4468 private_gtkconv_new(PurpleConversation *conv, gboolean hidden) |
4464 private_gtkconv_new(PurpleConversation *conv, gboolean hidden) |
| 4469 { |
4465 { |
| 4470 PidginConversation *gtkconv; |
4466 PidginConversation *gtkconv; |
| 4471 const char *theme_name; |
|
| 4472 PurpleTheme *theme = NULL; |
|
| 4473 GtkWidget *pane = NULL; |
4467 GtkWidget *pane = NULL; |
| 4474 GtkWidget *tab_cont; |
4468 GtkWidget *tab_cont; |
| 4475 PurpleBlistNode *convnode; |
4469 PurpleBlistNode *convnode; |
| 4476 GtkTargetList *targets; |
4470 GtkTargetList *targets; |
| 4477 |
4471 |
| 6535 void |
6523 void |
| 6536 pidgin_conversations_init(void) |
6524 pidgin_conversations_init(void) |
| 6537 { |
6525 { |
| 6538 void *handle = pidgin_conversations_get_handle(); |
6526 void *handle = pidgin_conversations_get_handle(); |
| 6539 void *blist_handle = purple_blist_get_handle(); |
6527 void *blist_handle = purple_blist_get_handle(); |
| 6540 char *theme_dir; |
|
| 6541 |
6528 |
| 6542 e2ee_stock = g_hash_table_new_full(g_str_hash, g_str_equal, |
6529 e2ee_stock = g_hash_table_new_full(g_str_hash, g_str_equal, |
| 6543 g_free, g_object_unref); |
6530 g_free, g_object_unref); |
| 6544 |
6531 |
| 6545 /* Conversations */ |
6532 /* Conversations */ |
| 6546 purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations"); |
6533 purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations"); |
| 6547 purple_prefs_add_none(PIDGIN_PREFS_ROOT "/conversations/themes"); |
|
| 6548 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/use_smooth_scrolling", TRUE); |
6534 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/use_smooth_scrolling", TRUE); |
| 6549 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/close_on_tabs", TRUE); |
6535 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/close_on_tabs", TRUE); |
| 6550 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_bold", FALSE); |
6536 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_bold", FALSE); |
| 6551 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_italic", FALSE); |
6537 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_italic", FALSE); |
| 6552 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_underline", FALSE); |
6538 purple_prefs_add_bool(PIDGIN_PREFS_ROOT "/conversations/send_underline", FALSE); |