diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/qpe-gaim/files/buzzer-notification.patch | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/qpe-gaim/files/buzzer-notification.patch')
-rw-r--r-- | packages/qpe-gaim/files/buzzer-notification.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/qpe-gaim/files/buzzer-notification.patch b/packages/qpe-gaim/files/buzzer-notification.patch index e69de29bb2..2aefe1de28 100644 --- a/packages/qpe-gaim/files/buzzer-notification.patch +++ b/packages/qpe-gaim/files/buzzer-notification.patch @@ -0,0 +1,48 @@ +# +# with this patch qpe-gaim also notifies if it is minimized to the taskbar. +# this could be nice if you have more apps open +# +# Author: Patrick Steiner <patrick.steiner@a1.ner> +# Version: 1.01 (20050328) +# + +Index: qpe-gaim/src/QGaimConvWindow.cpp +=================================================================== +--- qpe-gaim.orig/src/QGaimConvWindow.cpp 2005-04-03 19:57:31.924379043 +0200 ++++ qpe-gaim/src/QGaimConvWindow.cpp 2005-04-03 20:02:03.281769318 +0200 +@@ -175,24 +175,20 @@ + win = gaim_conversation_get_window(conv); + activeConv = gaim_conv_window_get_active_conversation(win); + +- if (conv != activeConv || +- win != qGaimGetMainWindow()->getLastActiveConvWindow()) +- { +- const char *prefName; ++ const char *prefName; + +- if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) +- prefName = "/gaim/qpe/notify/incoming_chat"; +- else +- prefName = "/gaim/qpe/notify/incoming_im"; ++ if (gaim_conversation_get_type(conv) == GAIM_CONV_CHAT) ++ prefName = "/gaim/qpe/notify/incoming_chat"; ++ else ++ prefName = "/gaim/qpe/notify/incoming_im"; + +- if (gaim_prefs_get_bool(prefName)) +- { +- if (notifying) +- qGaimNotifyUserStop(); ++ if (gaim_prefs_get_bool(prefName)) ++ { ++ if (notifying) ++ qGaimNotifyUserStop(); + +- qGaimNotifyUser(); +- notifying = true; +- } ++ qGaimNotifyUser(); ++ notifying = true; + } + } + } |