proxy cpus usage, unlock win before render_proxy, snap tweaks
[goodguy/history.git] / cinelerra-5.1 / cinelerra / shbtnprefs.C
index 737c84c8bb659831bc64cbe878599ec939fbcf9c..b4ee516a9d14ace3f503e7185e3ee808166a3cb6 100644 (file)
@@ -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;
 }
@@ -338,7 +338,7 @@ MainShBtns::MainShBtns(MWindow *mwindow, int x, int y)
 
 int MainShBtns::load(Preferences *preferences)
 {
-       while( total_items() ) remove_item(get_item(0));
+       while( total_items() ) del_item(0);
        for( int i=0; i<preferences->shbtn_prefs.size(); ++i )
                add_item(new MainShBtnItem(this, preferences->shbtn_prefs[i]));
        return 0;