From fdd0c69c4f82c2ec7afb85d6f97c932daf43f688 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 14 Jan 2013 23:37:19 +1000 Subject: Set up the ELM paths. --- ClientHamr/extantz/extantz.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'ClientHamr/extantz') diff --git a/ClientHamr/extantz/extantz.c b/ClientHamr/extantz/extantz.c index d5c12b3..096df16 100644 --- a/ClientHamr/extantz/extantz.c +++ b/ClientHamr/extantz/extantz.c @@ -755,14 +755,16 @@ EAPI_MAIN int elm_main(int argc, char **argv) int i; Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. -/* raster says doing this is a good idea... - // if you want efl to handle finding your bin/lib/data dirs for u, you must do this below. - elm_app_info_set(elm_main, "datadir", "some-data-file"); + // If you want efl to handle finding your bin/lib/data dirs, you must do this below. elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); -*/ + elm_app_info_set(elm_main, "datadir", "images/sky_03.jpg"); + fprintf(stdout, "prefix was set to: %s\n", elm_app_prefix_dir_get()); + fprintf(stdout, "data directory is: %s\n", elm_app_data_dir_get()); + fprintf(stdout, "library directory is: %s\n", elm_app_lib_dir_get()); + fprintf(stdout, "locale directory is: %s\n", elm_app_locale_dir_get()); -// Raster says these are set via the elementary_config tool, which is hard to find. + // These are set via the elementary_config tool, which is hard to find. elm_config_finger_size_set(0); elm_config_scale_set(1.0); -- cgit v1.1