summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-18 20:44:43 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-18 20:44:43 +0200
commit408eab1c754e13d1c25ad92d6e6f07464ec46b91 (patch)
tree9f60a1148d2c48d01d0dafb7a6451e0adefc5db4
parenta776414a7f3bb057a38f519ff6915712d1c52f31 (diff)
auto-save config after changing converter options
-rw-r--r--plugins/converter/convgui.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/converter/convgui.c b/plugins/converter/convgui.c
index 8aad798a..ceccf808 100644
--- a/plugins/converter/convgui.c
+++ b/plugins/converter/convgui.c
@@ -359,6 +359,7 @@ on_converter_encoder_changed (GtkComboBox *combobox,
GtkComboBox *combo = GTK_COMBO_BOX (lookup_widget (current_ctx->converter, "encoder"));
int act = gtk_combo_box_get_active (combo);
deadbeef->conf_set_int ("converter.encoder_preset", act);
+ deadbeef->conf_save ();
}
void
@@ -368,6 +369,7 @@ on_converter_dsp_preset_changed (GtkComboBox *combobox,
GtkComboBox *combo = GTK_COMBO_BOX (lookup_widget (current_ctx->converter, "dsp_preset"));
int act = gtk_combo_box_get_active (combo);
deadbeef->conf_set_int ("converter.dsp_preset", act-1);
+ deadbeef->conf_save ();
}
void
@@ -1213,6 +1215,7 @@ on_converter_output_format_changed (GtkComboBox *combobox,
{
int idx = gtk_combo_box_get_active (combobox);
deadbeef->conf_set_int ("converter.output_format", idx);
+ deadbeef->conf_save ();
}
GtkWidget*