p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / newfolder.C
index dafa8f611efc90cabae816ae64c64aa4ca4e3411..26ab5a19036a06faa385fe5b0fd491a7dd7b2678 100644 (file)
 
 NewFolder::NewFolder(MWindow *mwindow, AWindowGUI *awindow, int x, int y)
  : BC_Window(_(PROGRAM_NAME ": New folder"),
-       x,
-       y,
-       320,
-       120,
-       0,
-       0,
-       0,
-       0,
-       1)
+       x, y, 320, 120, 0, 0, 0, 0, 1)
 {
        this->mwindow = mwindow;
        this->awindow = awindow;
@@ -56,6 +48,7 @@ NewFolder::~NewFolder()
 
 void NewFolder::create_objects()
 {
+       lock_window("NewFolder::create_objects");
        int x = 10, y = 10;
        add_tool(new BC_Title(x, y, _("Enter the name of the folder:")));
        y += 20;
@@ -65,6 +58,7 @@ void NewFolder::create_objects()
        x = get_w() - 100;
        add_subwindow(new BC_CancelButton(x, y));
        show_window();
+       unlock_window();
 }
 
 const char* NewFolder::get_text()