Mercurial > pidgin
comparison plugins/notify.c @ 10984:caaacfede4ae
[gaim-migrate @ 12819]
Um, head crashes for me, but I'm pretty sure it's just because
my system is Mrs. Configured.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 02:06:54 +0000 |
parents | 57e3e958ff49 |
children | 17142948653e |
comparison
equal
deleted
inserted
replaced
10983:58c1117f4952 | 10984:caaacfede4ae |
---|---|
177 | 177 |
178 g_object_get(G_OBJECT(GAIM_GTK_WINDOW(gaimwin)->window), | 178 g_object_get(G_OBJECT(GAIM_GTK_WINDOW(gaimwin)->window), |
179 "has-toplevel-focus", &has_focus, NULL); | 179 "has-toplevel-focus", &has_focus, NULL); |
180 | 180 |
181 if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/type_focused") || | 181 if (gaim_prefs_get_bool("/plugins/gtk/X11/notify/type_focused") || |
182 !has_focus || | 182 !has_focus) { |
183 gaim_conv_window_get_active_conversation(gaimwin) != conv) { | |
184 if (increment) { | 183 if (increment) { |
185 count = GPOINTER_TO_INT(gaim_conversation_get_data(conv, "notify-message-count")); | 184 count = GPOINTER_TO_INT(gaim_conversation_get_data(conv, "notify-message-count")); |
186 count++; | 185 count++; |
187 gaim_conversation_set_data(conv, "notify-message-count", GINT_TO_POINTER(count)); | 186 gaim_conversation_set_data(conv, "notify-message-count", GINT_TO_POINTER(count)); |
188 } | 187 } |