Use a more reasonable default size for log window.
authorDavid Robillard <d@drobilla.net>
Thu, 22 Oct 2009 20:05:15 +0000 (20:05 +0000)
committerDavid Robillard <d@drobilla.net>
Thu, 22 Oct 2009 20:05:15 +0000 (20:05 +0000)
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

index 35a60362457dddbb2beff449cc687ccb18cf1772..944019d4c350321d78af30c026eb9039678d1ef8 100644 (file)
@@ -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();
                }
        }