X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fsetformat.C;h=8c4e7193caa61665df429627bdca0087741b6c2a;hb=63c49c5fdda77aadc2d0addc26a6884aadec8542;hp=3bcabef33e2f37251e958e00f282c217c3824cb2;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/setformat.C b/cinelerra-5.0/cinelerra/setformat.C index 3bcabef3..8c4e7193 100644 --- a/cinelerra-5.0/cinelerra/setformat.C +++ b/cinelerra-5.0/cinelerra/setformat.C @@ -47,7 +47,7 @@ SetFormat::SetFormat(MWindow *mwindow) - : BC_MenuItem(_("Format..."), "Shift-F", 'F') + : BC_MenuItem(_("Format..."), _("Shift-F"), 'F') { set_shift(1); this->mwindow = mwindow; @@ -93,6 +93,7 @@ SetFormatThread::SetFormatThread(MWindow *mwindow) SetFormatThread::~SetFormatThread() { if( running() ) { + window->set_done(1); cancel(); join(); } @@ -279,7 +280,7 @@ SetFormatWindow::SetFormatWindow(MWindow *mwindow, SetFormatThread *thread, int x, int y) - : BC_Window(PROGRAM_NAME ": Set Format", + : BC_Window(_(PROGRAM_NAME ": Set Format"), x, y, mwindow->theme->setformat_w, @@ -912,7 +913,7 @@ FormatSwapExtents::FormatSwapExtents(MWindow *mwindow, this->mwindow = mwindow; this->thread = thread; this->gui = gui; - set_tooltip("Swap dimensions"); + set_tooltip(_("Swap dimensions")); } int FormatSwapExtents::handle_event()