# HG changeset patch # User William Pitcock # Date 1238963286 18000 # Node ID a2ae808cabb488d988c1a712600d4fa5367e9fbd # Parent fb3386ba849861ddb7d422629568dcf5e1f31a01 Add configdb entry "interface", and set default to "skinned". diff -r fb3386ba8498 -r a2ae808cabb4 src/audlegacy/main.c --- a/src/audlegacy/main.c Sun Apr 05 15:24:15 2009 -0500 +++ b/src/audlegacy/main.c Sun Apr 05 15:28:06 2009 -0500 @@ -358,7 +358,13 @@ } if (options.interface == NULL) - options.interface = g_strdup("legacy"); + { + mcs_handle_t *db = cfg_db_open(); + cfg_db_get_string(db, NULL, "interface", &options.interface); + + if (options.interface == NULL) + options.interface = g_strdup("legacy"); + } handle_cmd_line_filenames(is_running);