Mercurial > pidgin
comparison src/gtknotify.c @ 10497:e6b87f7e8988
[gaim-migrate @ 11789]
Use the unified formatting pref for gtkimhtml notification windows
(e.g. AIM get info results)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 09 Jan 2005 20:05:08 +0000 |
parents | 911530134bf8 |
children | 776586d647e3 |
comparison
equal
deleted
inserted
replaced
10496:dc33b3b475c2 | 10497:e6b87f7e8988 |
---|---|
396 G_CALLBACK(formatted_close_cb), window); | 396 G_CALLBACK(formatted_close_cb), window); |
397 g_signal_connect(G_OBJECT(window), "key_press_event", | 397 g_signal_connect(G_OBJECT(window), "key_press_event", |
398 G_CALLBACK(formatted_input_cb), NULL); | 398 G_CALLBACK(formatted_input_cb), NULL); |
399 | 399 |
400 /* Add the text to the gtkimhtml */ | 400 /* Add the text to the gtkimhtml */ |
401 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_colors")) | 401 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_formatting")) |
402 options ^= GTK_IMHTML_NO_COLOURS; | 402 options |= GTK_IMHTML_NO_COLOURS | GTK_IMHTML_NO_FONTS | GTK_IMHTML_NO_SIZES; |
403 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_fonts")) | |
404 options ^= GTK_IMHTML_NO_FONTS; | |
405 if (gaim_prefs_get_bool("/gaim/gtk/conversations/ignore_font_sizes")) | |
406 options ^= GTK_IMHTML_NO_SIZES; | |
407 | 403 |
408 options ^= GTK_IMHTML_NO_COMMENTS; | 404 options ^= GTK_IMHTML_NO_COMMENTS; |
409 options ^= GTK_IMHTML_NO_TITLE; | 405 options ^= GTK_IMHTML_NO_TITLE; |
410 options ^= GTK_IMHTML_NO_NEWLINE; | 406 options ^= GTK_IMHTML_NO_NEWLINE; |
411 options ^= GTK_IMHTML_NO_SCROLL; | 407 options ^= GTK_IMHTML_NO_SCROLL; |