r16979 - gnucash/branches/2.2/src/gnome-search - [r16914] #513088: Do not show search dialog and hide it immediately afterwards.

Andreas Köhler andi5 at cvs.gnucash.org
Fri Feb 29 16:00:30 EST 2008


Author: andi5
Date: 2008-02-29 16:00:28 -0500 (Fri, 29 Feb 2008)
New Revision: 16979
Trac: http://svn.gnucash.org/trac/changeset/16979

Modified:
   gnucash/branches/2.2/src/gnome-search/dialog-search.c
Log:
[r16914] #513088: Do not show search dialog and hide it immediately afterwards.

Previously, gtk_widget_show_all() and gtk_widget_hide() were called on
the dialog, so that everything except the dialog widget itself were set
visible.  That way the user did not see the dialog filling up and
resizing on initialization.  Buggy window managers do not like
subsequent map&unmaps though and do not make the search dialog pop up
correctly.

This change removes both calls and depends on the interesting subwidgets
being visible.  For search.glade and the widgets inside dialog-search.c
this is guaranteed now.

Approved by andrewsw.




More information about the gnucash-patches mailing list