X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fshbtnprefs.C;h=cad3a6a2e9012ebee927a38e21d11a15c1ce6ae0;hb=17061ff8d289bfa96bef2da5bac789762f631d4a;hp=6fe4fc3b968dc6922b5bc457ab05a084d1d64236;hpb=b2106cd755a98389f1f6d373a71201b68377d74f;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/shbtnprefs.C b/cinelerra-5.1/cinelerra/shbtnprefs.C index 6fe4fc3b..cad3a6a2 100644 --- a/cinelerra-5.1/cinelerra/shbtnprefs.C +++ b/cinelerra-5.1/cinelerra/shbtnprefs.C @@ -120,7 +120,7 @@ ShBtnAddButton::~ShBtnAddButton() int ShBtnAddButton::handle_event() { - + Preferences *preferences = sb_window->shbtn_edit->pwindow->thread->preferences; ShBtnPref *pref = new ShBtnPref(_("new"), "", 0); preferences->shbtn_prefs.append(pref); @@ -189,7 +189,7 @@ ShBtnTextWindow::~ShBtnTextWindow() } ShBtnErrWarn::ShBtnErrWarn(ShBtnTextWindow *st_window, int x, int y) - : BC_CheckBox(x, y, &st_window->warn, "Warn on err exit") + : BC_CheckBox(x, y, &st_window->warn, _("Warn on err exit")) { this->st_window = st_window; } @@ -212,7 +212,7 @@ void ShBtnTextWindow::create_objects() add_subwindow(cmd_name); cmd_text = new BC_ScrollTextBox(this, x1, y, get_w()-x1-20, 4, pref->commands); cmd_text->create_objects(); - y += cmd_text->get_h() + 8; + y += cmd_text->get_h() + 16; add_subwindow(st_err_warn = new ShBtnErrWarn(this, x1, y)); y = get_h() - ShBtnTextOK::calculate_h() - 10; add_subwindow(new ShBtnTextOK(this, x, y));