KDE/kdebase/workspace/plasma/generic/applets/devicenotifier

Aaron J. Seigo aseigo at kde.org
Tue May 11 20:34:59 CEST 2010


On May 11, 2010, Jacopo De Simoi wrote:
> SVN commit 1125556 by jacopods:
> 
> Try to clarify if it is safe or unsafe to remove the device via tooltips.

good idea. the strings you committed:

"Device is plugged in and the volume can be accessed by applications. It is 
not safe to remove this device."

"Device is plugged in and the volume is not mounted for access yet. The device 
can be safely removed."

"Device is plugged in and the volume is not mounted for access yet. Another 
volume is accessible on the same device, which cannot be safely removed."

i think we can assume in all cases that the device is plugged in. if it 
wasn't, we wouldn't be showing it :) so let's just remove that part.

i think we should also start with the important bit: if it is safe to remove 
it or not. and let's try to drop some of the jargon, such as what "mounted" 
is.

so .. maybe sth like:

"It is <b>safe to remove</b> this device."

"It is <b>not safe</b> to remove this device: applications may be accessing 
it. Click the eject button <img src=\"devicenotifier://eject.png\" /> to 
safely remove this device."

"It is currently <b>not safe</b> to remove this device: applications may be 
accessing other volumes on this device. Click the eject button <img 
src=\"devicenotifier://eject.png\" /> on these other volumes to safely remove 
this device."

the eject image can be added to the tooltipcontent with:

addResource(Plasma::ToolTipContent::ImageResource, 
"devicenotifier://eject.png", ejectPixmap);

thoughts?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100511/6ecee394/attachment-0001.sig 


More information about the Plasma-devel mailing list