~ubuntu-branches/ubuntu/natty/kdenetwork/natty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/kubuntu_01_fix_kopete_notifications_away.diff

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-08-04 23:20:06 UTC
  • mfrom: (1.1.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20100804232006-dccz6pliwwbrzz4u
Tags: 4:4.5.0b-0ubuntu1
New tar from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: libkopete/private/kopeteviewmanager.cpp
 
2
===================================================================
 
3
--- kdenetwork/kopete/libkopete/private/kopeteviewmanager.cpp   (wersja 1155637)
 
4
+++ kdenetwork/kopete/libkopete/private/kopeteviewmanager.cpp   (kopia robocza)
 
5
@@ -305,8 +305,10 @@
 
6
 
 
7
                if ( appendMessageEvent || showNotification )
 
8
                {
 
9
-                       if ( msg.from() && d->eventList.isEmpty() ) // may happen for internal messages
 
10
-                               showNotification = true;
 
11
+                       if (! ( msg.from() && d->eventList.isEmpty() ) ) // may happen for internal messages
 
12
+                               //Changing this variable onwards should not break the notfications not 
 
13
+                               //showing while Away
 
14
+                               showNotification = false;
 
15
 
 
16
                        event = new Kopete::MessageEvent( msg, session );
 
17
                        d->eventList.append( event );