Mercurial > pidgin
comparison src/conversation.c @ 8883:7e6ab16d3549
[gaim-migrate @ 9652]
Eradicate "Send urls as links"
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 06 May 2004 05:03:05 +0000 |
parents | 230fee6f1e3e |
children | dd6b4f259f5b |
comparison
equal
deleted
inserted
replaced
8882:25344c2d74c4 | 8883:7e6ab16d3549 |
---|---|
175 | 175 |
176 first->data = g_strdup(message); | 176 first->data = g_strdup(message); |
177 | 177 |
178 conv->send_history = g_list_prepend(first, NULL); | 178 conv->send_history = g_list_prepend(first, NULL); |
179 | 179 |
180 if ((gc->flags & GAIM_CONNECTION_HTML) && | 180 if (gc->flags & GAIM_CONNECTION_HTML) |
181 gaim_prefs_get_bool("/core/conversations/send_urls_as_links")) { | |
182 | |
183 displayed = gaim_markup_linkify(message); | 181 displayed = gaim_markup_linkify(message); |
184 } | |
185 else | 182 else |
186 displayed = g_strdup(message); | 183 displayed = g_strdup(message); |
187 | 184 |
188 plugin_return = | 185 plugin_return = |
189 GPOINTER_TO_INT(gaim_signal_emit_return_1( | 186 GPOINTER_TO_INT(gaim_signal_emit_return_1( |
2609 * Register preferences | 2606 * Register preferences |
2610 **********************************************************************/ | 2607 **********************************************************************/ |
2611 | 2608 |
2612 /* Conversations */ | 2609 /* Conversations */ |
2613 gaim_prefs_add_none("/core/conversations"); | 2610 gaim_prefs_add_none("/core/conversations"); |
2614 gaim_prefs_add_bool("/core/conversations/send_urls_as_links", TRUE); | |
2615 gaim_prefs_add_bool("/core/conversations/away_back_on_send", TRUE); | 2611 gaim_prefs_add_bool("/core/conversations/away_back_on_send", TRUE); |
2616 gaim_prefs_add_bool("/core/conversations/use_alias_for_title", TRUE); | 2612 gaim_prefs_add_bool("/core/conversations/use_alias_for_title", TRUE); |
2617 gaim_prefs_add_bool("/core/conversations/combine_chat_im", FALSE); | 2613 gaim_prefs_add_bool("/core/conversations/combine_chat_im", FALSE); |
2618 | 2614 |
2619 /* Conversations -> Chat */ | 2615 /* Conversations -> Chat */ |