Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 209518 Details for
Bug 292235
=kde-base/plasma-workspace-4.3.3: copy progress notification shows incomplete data
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
plasma-workspace-progress-indicator.patch
plasma-workspace-progress-indicator.patch (text/plain), 1.58 KB, created by
Fabio Rossi
on 2009-11-07 09:56:02 UTC
(
hide
)
Description:
plasma-workspace-progress-indicator.patch
Filename:
MIME Type:
Creator:
Fabio Rossi
Created:
2009-11-07 09:56:02 UTC
Size:
1.58 KB
patch
obsolete
>--- plasma/applets/systemtray/ui/jobwidget.cpp 2009/10/31 23:47:17 1043182 >+++ plasma/applets/systemtray/ui/jobwidget.cpp 2009/10/31 23:48:31 1043183 >@@ -208,6 +208,16 @@ > m_meter->setValue(m_job->percentage()); > > if (m_job) { >+ if (m_job->state() == SystemTray::Job::Running) { >+ //Update the ETA and job speed >+ if (m_job->eta()) { >+ m_eta->setText(i18n("%1 (%2 remaining)", m_job->speed(), >+ KGlobal::locale()->formatDuration(m_job->eta()))); >+ } else { >+ m_eta->setText(QString()); >+ } >+ } >+ > if (m_job->labels().count() > 0) { > labelName0 = m_job->labels().value(0).first; > label0 = m_job->labels().value(0).second; >--- plasma/applets/systemtray/ui/jobwidget.h 2009/10/31 23:47:17 1043182 >+++ plasma/applets/systemtray/ui/jobwidget.h 2009/10/31 23:48:31 1043183 >@@ -61,10 +61,10 @@ > void detailsClicked(); > void destroyExtenderItem(); > void scheduleUpdateJob(); >+ void updateJobState(); > > private: > void updateLabels(); >- void updateJobState(); > void updateJob(); > > Plasma::ExtenderItem *m_extenderItem; >--- plasma/dataengines/applicationjobs/kuiserverengine.cpp 2009/10/31 23:47:17 1043182 >+++ plasma/dataengines/applicationjobs/kuiserverengine.cpp 2009/10/31 23:48:31 1043183 >@@ -178,6 +178,8 @@ > void JobView::setSpeed(qlonglong bytesPerSecond) > { > m_speed = bytesPerSecond; >+ setData("speed", speedString()); >+ scheduleUpdate(); > } > > QString JobView::speedString() const
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292235
: 209518