"Open http://...../trucmuche" and content-type

David Faure dfaure at trolltech.com
Sun Jul 20 13:33:51 BST 2003


On Sunday 20 July 2003 14:23, Waldo Bastian wrote:
> On Sunday 20 July 2003 13:53, Shift wrote:
> > Hi again,
> >
> > Here is a patch for what I propose. You need to patch from the
> > kdelibs/kparts folder.
> > It doesn't need to update the translation files because it use the same
> > i18n string than the current ones.
> > Here is what it looks like when the mimetype is unknown :
> > http://shift.free.fr/trash/kde/question1.png
> > And when it is known : http://shift.free.fr/trash/kde/question2.png
> >
> > If you can test it and commit it if you like it, it will be great.
> 
> I think the "Open" button should read "Open with..." to give a better
> indication what happens when you select it.

Right - although not when the app is known.

"Shift", can you integrate this?
QString openText = (offer && !offer->name().isEmpty()) ? i18n("&Open") : i18n("&Open with...");
and then using that in the kmessagebox.

-- 
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
Qtella users - stability patches at http://blackie.dk/~dfaure/qtella.html




More information about the kfm-devel mailing list