X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpreferences.C;h=27269e231cfc43bb2c624c0e008a6ebbdf8fd5fa;hp=0e2629ac6dc192e15bb31f347b5f705d0aba998e;hb=3ac8199743f244669cc87ceef9c3cd23710552f3;hpb=fee54016102a7a59d2181c8f16a7f2562f68540d diff --git a/cinelerra-5.1/cinelerra/preferences.C b/cinelerra-5.1/cinelerra/preferences.C index 0e2629ac..27269e23 100644 --- a/cinelerra-5.1/cinelerra/preferences.C +++ b/cinelerra-5.1/cinelerra/preferences.C @@ -68,6 +68,7 @@ Preferences::Preferences() trap_sigsegv = 1; trap_sigintr = 1; theme[0] = 0; + plugin_icons[0] = 0; use_renderfarm = 0; force_uniprocessor = 0; renderfarm_port = DEAMON_PORT; @@ -172,6 +173,7 @@ void Preferences::copy_from(Preferences *that) use_thumbnails = that->use_thumbnails; keyframe_reticle = that->keyframe_reticle; strcpy(theme, that->theme); + strcpy(plugin_icons, that->plugin_icons); use_tipwindow = that->use_tipwindow; scan_commercials = that->scan_commercials; @@ -314,6 +316,8 @@ int Preferences::load_defaults(BC_Hash *defaults) strcpy(theme, DEFAULT_THEME); defaults->get("THEME", theme); + strcpy(plugin_icons, DEFAULT_PICON); + defaults->get("PLUGIN_ICONS", plugin_icons); for(int i = 0; i < MAXCHANNELS; i++) { @@ -456,8 +460,8 @@ int Preferences::save_defaults(BC_Hash *defaults) defaults->update("KEYFRAME_RETICLE", keyframe_reticle); defaults->update("TRAP_SIGSEGV", trap_sigsegv); defaults->update("TRAP_SIGINTR", trap_sigintr); -// defaults->update("GLOBAL_PLUGIN_DIR", global_plugin_dir); defaults->update("THEME", theme); + defaults->update("PLUGIN_ICONS", plugin_icons); for(int i = 0; i < MAXCHANNELS; i++)