bug链接:https://bugzilla.gnome.org/show_bug.cgi?id=726228
只记得贡献了第一次代码后,在bugzilla中找来找去,不知怎么就选上了这个任务。或许是表面上看着很简单吧。至少现在看来我是大错特错了。
当时自己确定要修复这个bug时,就给David发了一封邮件,告知他我的意愿。David在回信中谈到了他自己对这个bug的认识,如下:
My suggestion would be to create a new GlEventView widget, which would be a stack which switches between the category list/event list view and the details view. It might be a bit complex to disentangle the code, especially the signal propagation during view mode changes, but the majority of the patch should be moving code from one file to another.
当然,对于我这么一个newbie来说,这些解释肯定是对我的帮助不太大的。通过之后和David的交流,我算是向前买了一小步。当然这一段时间,自己也算是摸不着北地摸索了很久,笔记本又增加了若干页墨迹的重量。
之前程序中构件等级是这样的:
window
->category list
->stack
->event list view
->detail view
目标是这样:
window
->stack</