diff options
author | David Walter Seikel | 2013-01-14 23:37:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-14 23:37:19 +1000 |
commit | fdd0c69c4f82c2ec7afb85d6f97c932daf43f688 (patch) | |
tree | a92d3fc4a1e5cc8d1aadd3c4511b1d064289eb8c /ClientHamr | |
parent | Oops, stould have been part of the previous commmit. (diff) | |
download | SledjHamr-fdd0c69c4f82c2ec7afb85d6f97c932daf43f688.zip SledjHamr-fdd0c69c4f82c2ec7afb85d6f97c932daf43f688.tar.gz SledjHamr-fdd0c69c4f82c2ec7afb85d6f97c932daf43f688.tar.bz2 SledjHamr-fdd0c69c4f82c2ec7afb85d6f97c932daf43f688.tar.xz |
Set up the ELM paths.
Diffstat (limited to 'ClientHamr')
-rw-r--r-- | ClientHamr/extantz/extantz.c | 12 |
1 files changed, 7 insertions, 5 deletions
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) | |||
755 | int i; | 755 | int i; |
756 | Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. | 756 | Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. |
757 | 757 | ||
758 | /* raster says doing this is a good idea... | 758 | // If you want efl to handle finding your bin/lib/data dirs, you must do this below. |
759 | // if you want efl to handle finding your bin/lib/data dirs for u, you must do this below. | ||
760 | elm_app_info_set(elm_main, "datadir", "some-data-file"); | ||
761 | elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); | 759 | elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR); |
762 | elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); | 760 | elm_app_compile_data_dir_set(PACKAGE_DATA_DIR); |
763 | */ | 761 | elm_app_info_set(elm_main, "datadir", "images/sky_03.jpg"); |
762 | fprintf(stdout, "prefix was set to: %s\n", elm_app_prefix_dir_get()); | ||
763 | fprintf(stdout, "data directory is: %s\n", elm_app_data_dir_get()); | ||
764 | fprintf(stdout, "library directory is: %s\n", elm_app_lib_dir_get()); | ||
765 | fprintf(stdout, "locale directory is: %s\n", elm_app_locale_dir_get()); | ||
764 | 766 | ||
765 | // Raster says these are set via the elementary_config tool, which is hard to find. | 767 | // These are set via the elementary_config tool, which is hard to find. |
766 | elm_config_finger_size_set(0); | 768 | elm_config_finger_size_set(0); |
767 | elm_config_scale_set(1.0); | 769 | elm_config_scale_set(1.0); |
768 | 770 | ||