Fix as many cases that relied on it as I could find, but there may be
more cases out there. They should be fixed too. Passing a NULL parent
window to e_error_new() is illegal and will emit a runtime warning.
2008-02-08 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #509741
* mail/mail-session.c (user_message_exec):
Use the number of dialog buttons as a heuristic for whether to
display a message in the status bar or immediately present the
dialog to the user.
* e-util/e-error.c (e_error_newv):
If the error dialog has no primary text, fallback to the window
title for the "primary" data key. This is what gets displayed
in the status bar.
* e-util/e-error.c (e_error_count_buttons):
New function counts buttons in a dialog's action area.
svn path=/trunk/; revision=34977