EasysetupCountryComboBoxPrivate *priv = COUNTRY_COMBO_BOX_GET_PRIVATE (self);
/* Load the file one line at a time: */
- const gchar* filepath = "/usr/share/operator-wizard/mcc_mapping";
+ const gchar* filepath = PROVIDER_DATA_DIR "/mcc_mapping";
FILE *file = fopen(filepath, "r");
if (!file)
{
- const gchar* filepath_hack = "./src/maemo/easysetup/mcc_mapping";
+ const gchar* filepath_hack = HACK_TOP_SRCDIR "src/maemo/easysetup/mcc_mapping";
g_warning ("Could not locate the official mcc_mapping countries list file from %s, "
"so attempting to load it instead from %s", filepath, filepath_hack);
file = fopen(filepath_hack, "r");