raster pushed a commit to branch master.

http://git.enlightenment.org/apps/rage.git/commit/?id=b6c362cf2ec0da1cde8af355baf639bb361a49d2

commit b6c362cf2ec0da1cde8af355baf639bb361a49d2
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Mar 9 14:30:51 2014 +0900

    use accel preference if elm 1.10
---
 src/bin/main.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 14ab518..eac8d80 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -38,7 +38,11 @@ elm_main(int argc, char **argv)
    elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
    elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
    elm_app_info_set(elm_main, "rage", "themes/default.edj");
-   
+
+#if (ELM_VERSION_MAJOR > 1) || (ELM_VERSION_MINOR >= 10)
+   elm_config_accel_preference_set("accel");
+#endif
+
    snprintf(buf, sizeof(buf), "%s/themes/default.edj", elm_app_data_dir_get());
    elm_theme_overlay_add(NULL, buf);
 

-- 


Reply via email to