2 # with this patch qpe-gaim also notifies if it is minimized to the taskbar.
3 # this could be nice if you have more apps open
5 # Author: Patrick Steiner <patrick.steiner@a1.ner>
6 # Version: 1.01 (20050328)
9 Index: qpe-gaim/src/QGaimConvWindow.cpp
10 ===================================================================
11 --- qpe-gaim.orig/src/QGaimConvWindow.cpp 2005-04-03 19:57:31.924379043 +0200
12 +++ qpe-gaim/src/QGaimConvWindow.cpp 2005-04-03 20:02:03.281769318 +0200
14 win = gaim_conversation_get_window(conv);
15 activeConv = gaim_conv_window_get_active_conversation(win);
17 - if (conv != activeConv ||
18 - win != qGaimGetMainWindow()->getLastActiveConvWindow())
20 - const char *prefName;
21 + const char *prefName;
23 - if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT)
24 - prefName = "/gaim/qpe/notify/incoming_chat";
26 - prefName = "/gaim/qpe/notify/incoming_im";
27 + if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT)
28 + prefName = "/gaim/qpe/notify/incoming_chat";
30 + prefName = "/gaim/qpe/notify/incoming_im";
32 - if (gaim_prefs_get_bool(prefName))
35 - qGaimNotifyUserStop();
36 + if (gaim_prefs_get_bool(prefName))
39 + qGaimNotifyUserStop();