X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fpreferences.C;h=6a35151855fb6650e850b599cb7d336859d2b9b2;hp=abb5f7568add0d90f6ce71e818a5f99e63d4d0f9;hb=debf38f78ae5ce154f54183b1638278bf8a24736;hpb=5f2a7a234eadc26e8ac9c9f165e29eb9e312bee8 diff --git a/cinelerra-5.1/cinelerra/preferences.C b/cinelerra-5.1/cinelerra/preferences.C index abb5f756..6a351518 100644 --- a/cinelerra-5.1/cinelerra/preferences.C +++ b/cinelerra-5.1/cinelerra/preferences.C @@ -68,6 +68,7 @@ Preferences::Preferences() autostart_lv2ui = 0; trap_sigsegv = 1; trap_sigintr = 1; + awindow_picon_h = 50; theme[0] = 0; plugin_icons[0] = 0; strcpy(snapshot_path, "/tmp"); @@ -172,6 +173,7 @@ void Preferences::copy_from(Preferences *that) use_thumbnails = that->use_thumbnails; keyframe_reticle = that->keyframe_reticle; perpetual_session = that->perpetual_session; + awindow_picon_h = that->awindow_picon_h; strcpy(theme, that->theme); strcpy(plugin_icons, that->plugin_icons); strcpy(snapshot_path, that->snapshot_path); @@ -313,6 +315,7 @@ int Preferences::load_defaults(BC_Hash *defaults) trap_sigsegv = defaults->get("TRAP_SIGSEGV", trap_sigsegv); trap_sigintr = defaults->get("TRAP_SIGINTR", trap_sigintr); + awindow_picon_h = defaults->get("AWINDOW_PICON_H", awindow_picon_h); strcpy(theme, _(DEFAULT_THEME)); strcpy(plugin_icons, DEFAULT_PICON); defaults->get("THEME", theme); @@ -454,6 +457,7 @@ int Preferences::save_defaults(BC_Hash *defaults) defaults->update("AUTOSTART_LV2UI", autostart_lv2ui); defaults->update("TRAP_SIGSEGV", trap_sigsegv); defaults->update("TRAP_SIGINTR", trap_sigintr); + defaults->update("AWINDOW_PICON_H", awindow_picon_h); defaults->update("THEME", theme); defaults->update("PLUGIN_ICONS", plugin_icons); defaults->update("SNAPSHOT_PATH", snapshot_path);