diff options
author | jstebbins <[email protected]> | 2008-11-01 22:38:37 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2008-11-01 22:38:37 +0000 |
commit | 1399e176b597d2cf2f644c91594d2811b1197a3d (patch) | |
tree | 4f8f5887fa4444a41017c7777f6c6bab29d78503 | |
parent | f5d9c6ea1a991323c8e12ef2c2d5b29cde5e5d32 (diff) |
LinGui: fix problem with preset import translation when they the standard
presets are loaded for the first time
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1893 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | gtk/src/presets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/presets.c b/gtk/src/presets.c index 0e40e6dcc..4a06c1c84 100644 --- a/gtk/src/presets.c +++ b/gtk/src/presets.c @@ -2392,18 +2392,21 @@ ghb_presets_load() if (presetsPlist == NULL) { presetsPlist = ghb_value_dup(ghb_resource_get("standard-presets")); + import_xlat_presets(presetsPlist); store_presets(); } else if (G_VALUE_TYPE(presetsPlist) == ghb_dict_get_type()) { // Presets is older dictionary format. Convert to array ghb_value_free(presetsPlist); presetsPlist = ghb_value_dup(ghb_resource_get("standard-presets")); + import_xlat_presets(presetsPlist); store_presets(); } else if (check_old_presets()) { ghb_value_free(presetsPlist); presetsPlist = ghb_value_dup(ghb_resource_get("standard-presets")); + import_xlat_presets(presetsPlist); store_presets(); } import_xlat_presets(presetsPlist); |