elementary/examples: Fix theme path search for tizen.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 31 Jan 2014 14:56:56 +0000 (12:56 -0200)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 15 Dec 2014 14:37:10 +0000 (15:37 +0100)
Change-Id: I5bca70a71ae9f1dfff5281ede037d3b990e1fdfb

src/examples/layout_example_01.c

index a6bc7ea..744f872 100644 (file)
@@ -57,7 +57,7 @@ elm_main(int argc, char **argv)
    Evas_Object *item;
    char buf[PATH_MAX];
 
-   elm_app_info_set(elm_main, "elementary", "examples/layout_example.edj");
+   elm_app_info_set(elm_main, "elementary", "config/profile.cfg");
    elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
 
    win = elm_win_util_standard_add("layout", "Layout");
@@ -68,6 +68,7 @@ elm_main(int argc, char **argv)
    evas_object_size_hint_weight_set(layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_win_resize_object_add(win, layout);
    snprintf(buf, sizeof(buf), "%s/examples/layout_example.edj", elm_app_data_dir_get());
+   snprintf(buf, sizeof(buf), "%s/elementary/examples/layout_example.edj", elm_app_data_dir_get());
    elm_layout_file_set(layout, buf, "example/mylayout");
    evas_object_show(layout);