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

List:       kwrite-devel
Subject:    Re: "modified on disc" dialog in katepart
From:       Andras Mantia <amantia () kde ! org>
Date:       2003-09-22 4:58:08
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 21 September 2003 23:50, Christoph Cullmann wrote:
> > one that the user intended to preview. Quanta had its own detection of
> > changed files and we still have to use that one (3.1 compatibility), but
> > even if it wouldn't be the case I would like a way when the application
> > controls if it really wants to save the file or not and not the part. The
> > ReadWritePart::save() should just save it, without question. BTW, I 
noticed
> > the same behavior when the saving has failed. In this case the workaround
> > was easier (just #ifdef my own dialog), but even in this case there is a
> > bool return value of the save method, so it shouldn't be the part who
> > provides the error message, but the application using the part.
> Hmm, yes, the file has changed part should really be removed again I guess,
> should let kate app handle that.
Yes, this is what I want.

> About the other failed stuff: as kparts only 
> returns a bool, it would be hard to have any usefull error msg in the app,
> the current kate part way looks much better, as you get different messages
> for different errors (most important: the "can't encode all chars with that
> encoding" msg, which should be very usefull for quanta, too, I guess).

Ok, I can live with it. This one is only a one line change (I already did) in 
quanta, but the other one would cause too much problems.

Andras

> 
> Somebody has some time to move the code out of the part to the app? if not,
> will do so in some weeks.
> 
> --
> Christoph Cullmann
> KDE Developer, kde.org Maintainance Team
> http://www.babylon2k.de, cullmann@kde.org
> 
> 

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/boFkTQdfac6L/08RAoWpAKCVF5fGHweK7q1Y7UI4vvcrL6zguACg2F4S
/Bay+bNHngP0MiIkmQZXEF0=
=2qms
-----END PGP SIGNATURE-----
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel

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

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