Yangyang,

好呀。

不过不告诉用户,就在后台发数据,我感觉有点不太好...

我觉得可以更简单的实现:
如果上次发送失败了,那么再次打开 Suggestion 窗口时就自动载入上次的文字。

在 2010年7月12日 上午9:59,Yangyang Chen <[email protected]>写道:

> send_delayed_message是否可以另开一个线程来处理,这样就不会有延迟。
>
> 2010/7/11 Homer Xing <[email protected]>
>
> Chen Yangyang,
>>
>> 另一个建议是,大文本框上方最好再加个 gtk.Label。修改 class SubmitWindow 的 __init__ ,增加一个参数
>> text,作为 gtk.Label 的内容。 以便说明大文本框的用途。
>>
>> 另外,在 main.py 里 send_delayed_message 好吗?我觉得会造成启动的延迟。
>> 个人觉得,如果服务器不能连接,那么就自动把用户输入的文本保存在文件里,下次打开 Propose Suggestion
>> 窗口的时候自动读取文件内容,会更好。
>>
>> 在 2010年7月11日 下午5:11,Homer Xing <[email protected]>写道:
>>
>> 我已经合并好了。
>>>
>>> 提个建议吧,
>>>
>>> “Propose suggestion” 窗口,默认是光标自动停在大文本框里,使用会更方便。
>>> 大文本框的字体 'Monospace 10', 其实不是很好看。换成“为 Ailurus 做贡献”的窗口里用的字体,我觉得会更好。
>>>
>>> 在 2010年7月10日 下午6:54,Yangyang Chen <[email protected]>写道:
>>>
>>>> 增加了当服务器暂时连接不上时可以延迟发送数据的功能~
>>>>
>>>> 欢迎提建议和报bug
>>>>
>>>> _______________________________________________
>>>> Mailing list: 
>>>> https://launchpad.net/~ailurus<https://launchpad.net/%7Eailurus>
>>>> Post to     : [email protected]
>>>> Unsubscribe : 
>>>> https://launchpad.net/~ailurus<https://launchpad.net/%7Eailurus>
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Mailing list: 
>> https://launchpad.net/~ailurus<https://launchpad.net/%7Eailurus>
>> Post to     : [email protected]
>> Unsubscribe : 
>> https://launchpad.net/~ailurus<https://launchpad.net/%7Eailurus>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
_______________________________________________
Mailing list: https://launchpad.net/~ailurus
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ailurus
More help   : https://help.launchpad.net/ListHelp

回复