From 7919491f277653c85bc63a036bb307ab09407604 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 22 Oct 2009 20:05:15 +0000 Subject: [PATCH] Use a more reasonable default size for log window. Only pop up log window if message level is not INFO (i.e. iff it is WARNING, ERROR, or FATAL). git-svn-id: svn://localhost/ardour2/branches/3.0@5865 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/gtkmm2ext/gtk_ui.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 35a6036245..944019d4c3 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -86,7 +86,7 @@ UI::UI (string namestr, int *argc, char ***argv) UI::signal_pipe_callback, this); - errors = new TextViewer (850,100); + errors = new TextViewer (800,600); errors->text().set_editable (false); errors->text().set_name ("ErrorText"); @@ -509,7 +509,7 @@ UI::process_error_message (Transmitter::Channel chn, const char *str) display_message (prefix, prefix_len, ptag, mtag, str); - if (!errors->is_visible()) { + if (!errors->is_visible() && chn != Transmitter::Info) { toggle_errors(); } }