hard edges rework, add hard edge in gwdw, config.ac nv/cuda tweaks, message log warn...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mainerror.C
index 61ffa7c46b433c09611844598cd704b87cd70115..c82d23a3662379cdb61d998f263e9b7f56bacc6d 100644 (file)
@@ -40,7 +40,7 @@ MainError* MainError::main_error = 0;
 
 
 MainErrorGUI::MainErrorGUI(MWindow *mwindow, MainError *thread, int x, int y)
- : BC_Window(_(PROGRAM_NAME ": Errors"),
+ : BC_Window(_(PROGRAM_NAME ": Messages"),
         x,
         y,
         mwindow->session->ewindow_w,
@@ -68,7 +68,7 @@ void MainErrorGUI::create_objects()
        BC_Button *button;
        add_subwindow(button = new BC_OKButton(this));
        int x = 10, y = 10;
-       add_subwindow(title = new BC_Title(x, y, _("The following errors occurred:")));
+       add_subwindow(title = new BC_Title(x, y, _("Message log:")));
        y += title->get_h() + 5;
        add_subwindow(list = new BC_ListBox(x, y,
                 get_w() - 20, button->get_y() - y - 5,
@@ -168,7 +168,7 @@ void MainError::append_error(const char *string)
 void MainError::show_error_local(const char *string)
 {
 // assume user won't get to closing the GUI here
-       lock_window("MainError::show_error_local");
+       lock_dialog("MainError::show_error_local");
        if( get_gui() ) {
                MainErrorGUI *gui = (MainErrorGUI*)get_gui();
                gui->lock_window("MainError::show_error_local");
@@ -186,7 +186,7 @@ void MainError::show_error_local(const char *string)
                append_error(string);
                start();
        }
-       unlock_window();
+       unlock_dialog();
 }