stop adding message boxes and redirect messages to stderr if there are too

2004-08-25  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimperrordialog.[ch] (gimp_error_dialog_add): stop
	adding message boxes and redirect messages to stderr if there are
	too many messages.
This commit is contained in:
Sven Neumann
2004-08-25 19:49:50 +00:00
committed by Sven Neumann
parent c92a38626b
commit 8b6970ec28
3 changed files with 53 additions and 25 deletions

View File

@ -44,6 +44,7 @@ struct _GimpErrorDialog
GtkWidget *last_box;
gchar *last_domain;
gchar *last_message;
gint num_messages;
};
struct _GimpErrorDialogClass
@ -56,8 +57,8 @@ GType gimp_error_dialog_get_type (void) G_GNUC_CONST;
GtkWidget * gimp_error_dialog_new (const gchar *title,
const gchar *stock_id);
gboolean gimp_error_dialog_add (GimpErrorDialog *dialog,
const gchar *stock_id,
void gimp_error_dialog_add (GimpErrorDialog *dialog,
const gchar *stock_id,
const gchar *domain,
const gchar *message);