[PATCH] BUG 202473 no sound on emptying trash widget although sound is configured in systemsettings

"潘卫平(Peter Pan)" wppan at redflag-linux.com
Wed Sep 2 03:50:40 CEST 2009

Aaron J. Seigo 写道:
> On September 1, 2009, 潘卫平(Peter Pan) wrote:
>> yes, no need.
> the point of that code was to prevent people from emptying the trash while the 
> trash was already emptying. as this can take quite a while, this is a nice 
> feature. it let the user know that their action was successful and prevents 
> people from selecting it over and over. we had this exact problem in 4.0.
Although emptyTrash->setEnabled(m_count > 0) works well in updateIcon() 
function, I'd like to do emptyTrash->setEnabled(false) after emptying trash.

How about the patch followed?

> the KNotification bit looks correct, however.
> ------------------------------------------------------------------------
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel

潘卫平(Peter Pan)
Red Flag Software Co., Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdebase-plasma-trash-empty.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090902/ece8812b/attachment.patch 

More information about the Plasma-devel mailing list