olaf neophyte and de.po updates, valgrind tweaks, delete green lady, inkscape dpi=96
[goodguy/history.git] / cinelerra-5.1 / cinelerra / new.C
index e5aa6df4fb1ea87d5ed60e8129f2a323abc6b3b0..de417e1d6cdb8a6fe647888ca629a04990cec672 100644 (file)
@@ -153,7 +153,7 @@ void NewProject::create_objects()
 }
 
 AppendTracks::AppendTracks(MWindow *mwindow)
- : BC_MenuItem(_("Append to Project..."), "N", 'N'), New(mwindow)
+ : BC_MenuItem(_("Append to Project..."), "Shift-N", 'N'), New(mwindow)
 {
        set_shift(1);
 }
@@ -202,7 +202,7 @@ BC_Window* NewThread::new_gui()
 
 void NewThread::handle_done_event(int result)
 {
-       if( !result ) {
+       if( !result && nwindow->folder && nwindow->name ) {
                const char *project_folder = nwindow->folder->get_text();
                const char *project_name = nwindow->name->get_text();
                if( project_folder[0] && project_name[0] ) {
@@ -415,7 +415,8 @@ void NewWindow::create_objects()
 //     y += canvas_h_text->get_h() + 5;
 
        x1 = x;
-       add_subwindow(new BC_Title(x1, y, _("Track size:")));
+       add_subwindow(new BC_Title(x1, y, new_thread->load_mode == LOADMODE_REPLACE ?
+                       _("Canvas size:") : _("Track size:")));
        x1 += 115;
        add_subwindow(output_w_text = new NewOutputW(this, x1, y));
        x1 += output_w_text->get_w() + 2;