[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kde-workspace/KDE/4.9] plasma/generic/applets/notifications/ui: Fix for: When a new job is shown in
From:       Martin Koller <kollix () aon ! at>
Date:       2012-08-03 11:41:35
Message-ID: 20120803114135.05CD2A60C4 () git ! kde ! org
[Download RAW message or body]

Git commit 6dff095c7f6aba04f3e3dc43a88f6c96ee3d25e4 by Martin Koller.
Committed on 03/08/2012 at 13:39.
Pushed by mkoller into branch 'KDE/4.9'.

Fix for: When a new job is shown in the notification applet, initially the =
title is unset

BUG: 288093
FIXED-IN: 4.9.1

M  +1    -0    plasma/generic/applets/notifications/ui/jobwidget.cpp

http://commits.kde.org/kde-workspace/6dff095c7f6aba04f3e3dc43a88f6c96ee3d25=
e4

diff --git a/plasma/generic/applets/notifications/ui/jobwidget.cpp b/plasma=
/generic/applets/notifications/ui/jobwidget.cpp
index 02371c0..06096fd 100644
--- a/plasma/generic/applets/notifications/ui/jobwidget.cpp
+++ b/plasma/generic/applets/notifications/ui/jobwidget.cpp
@@ -146,6 +146,7 @@ JobWidget::JobWidget(Job *job, Plasma::ExtenderItem *pa=
rent)
         connect(stopAction, SIGNAL(triggered()), m_job.data(), SLOT(stop()=
));
 =

         updateJob();
+        updateJobState();  // make sure to set the title
     } else {
         m_extenderItem->showCloseButton();
 =


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic