Mercurial > pidgin.yaz
diff gtk/win32/gtkwin32dep.c @ 14805:984657c2584d
[gaim-migrate @ 17570]
Add a wingaim only preference to disable the IM conv. flashing.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 23 Oct 2006 20:25:16 +0000 |
parents | d1614d9ce7ab |
children | 650dee386bf6 |
line wrap: on
line diff
--- a/gtk/win32/gtkwin32dep.c Mon Oct 23 20:21:54 2006 +0000 +++ b/gtk/win32/gtkwin32dep.c Mon Oct 23 20:25:16 2006 +0000 @@ -267,7 +267,8 @@ gtkwgaim_conv_im_blink(GaimAccount *account, const char *who, char **message, GaimConversation *conv, GaimMessageFlags flags, void *data) { - gtkwgaim_conv_blink(conv, flags); + if (gaim_prefs_get_bool("/gaim/gtk/win32/blink_im")) + gtkwgaim_conv_blink(conv, flags); return FALSE; } @@ -294,6 +295,9 @@ void gtkwgaim_post_init(void) { + gaim_prefs_add_none("/gaim/gtk/win32"); + gaim_prefs_add_bool("/gaim/gtk/win32/blink_im", TRUE); + gaim_signal_connect(gaim_gtk_conversations_get_handle(), "displaying-im-msg", >kwin32_handle, GAIM_CALLBACK(gtkwgaim_conv_im_blink), NULL);