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

List:       kopete-devel
Subject:    Re: [kopete-devel] [PATCH] Incoming file transfer in chat window
From:       Dennis_Nienhüser <earthwings () gentoo ! org>
Date:       2008-08-16 14:13:32
Message-ID: 48A6E08C.4000104 () gentoo ! org
[Download RAW message or body]

Hi Roman,

very nice :-)

Quick code comments:
- The result of fileAccess.open() is not checked. For false, the default
html should be used, I think.
- maybe rename disabledFileTransferButtons() to
disableFileTransferButtons()?
- uint fileTransferId, bool fileTransferDisabled, unsigned long fileSize
are not being initialized afaict.
- askIncomingDone() sounds a bit confusing without reading its
description - don't have a better name right now, however ;-)
- nextID is incremented twice. Not sure if that's right/wrong, just
wondered.

Regards,
Dennis

Roman Jarosz schrieb:
> Hi
>
> I've removed the ugly dialog which is shown when we got file transfer
> request and moved it into the chat window.
>
> It's based on Adium chat style (FileTransferRequest.html) although to make
> it more user friendly I had to add four new keywords %fileSize%,
> %saveFileHandlerId%, %saveFileAsHandlerId%, %cancelRequestHandlerId%.
> The three id keywords are used to disable buttons after file transfer
> is accepted or rejected.
>
> If current style doesn't have FileTransferRequest.html Kopete creates
> default one based on current chat style.
>
> Here are screenshots:
> http://kedge.wz.cz/kopete/kopeteft1.png
> http://kedge.wz.cz/kopete/kopeteft2.png
> http://kedge.wz.cz/kopete/kopeteft3.png
>
> Any comments or suggestions?
>
> Regards,
> Roman
>
> PS. Currently there is a bug in khtml which paints disabled buttons as active.
> I've already reported this bug. Also there was a bug which has sent click events
> even if the button was disabled this bug is already fixed since revision 846734.
> Oh and also button accelerators don't work yet also reported to khtml guys.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> kopete-devel mailing list
> kopete-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kopete-devel
>   

_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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