rework android-rmt display, add a few buttons
[goodguy/history.git] / cinelerra-5.0 / cinelerra / setformat.C
index 3bcabef33e2f37251e958e00f282c217c3824cb2..8c4e7193caa61665df429627bdca0087741b6c2a 100644 (file)
@@ -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()