GNOME Bugzilla – Bug 601673
Unnecessary lines in MainWindow's ctor
Last modified: 2010-05-15 10:08:40 UTC
543 query_widget.HandleChanged (query); Added 2006 by Gabriel Burt. This is not necessary any more as this is called implicitely by UpdateFindByTagMenu (), which is called in MainWindow's ctor before. 544 query_widget.Close (); Added by Maxxer (July 2009), "Correctly set Find > Show/Hide find bar menu entry on startup". I don't think this is necessary as the Close () is called before several times. The mentioned UpdateFindByTagMenu () is calling the Close (), too, as the QueryWidget is visible by default on creation. As far as I can tell it was not needed then, as it was called before, too.
Created attachment 147560 [details] [review] Patch removing the two lines
Merged! commit 8c9d7c7a34af9cf7008db06051b5e86cd0966df3 Author: Paul Werner Bou <paul@purecodes.org> Date: Fri Nov 20 13:08:47 2009 +0100 Remove unnecessary lines (#601673)