diff options
author | Hyungdeuk Kim <hd3.kim@samsung.com> | 2013-08-19 15:09:03 +0900 |
---|---|---|
committer | Hyungdeuk Kim <hd3.kim@samsung.com> | 2013-08-19 15:11:25 +0900 |
commit | 4a1e153397f33d71a8e3178a9c88205f99b0193e (patch) | |
tree | d5f0507e1bd96e3fbd79e29debc0c597c9160ef1 /client | |
parent | c263cfb5be4194ab0e3600337180ba90df1e67f9 (diff) | |
download | ui-gadget-1-4a1e153397f33d71a8e3178a9c88205f99b0193e.tar.gz ui-gadget-1-4a1e153397f33d71a8e3178a9c88205f99b0193e.tar.bz2 ui-gadget-1-4a1e153397f33d71a8e3178a9c88205f99b0193e.zip |
merge latest code / fix prevent issues
Change-Id: I644d827593a43cc5308150bbd7546557a1ea27bb
Diffstat (limited to 'client')
-rwxr-xr-x | client/ug-client.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/ug-client.c b/client/ug-client.c index 11da8df..18adf88 100755 --- a/client/ug-client.c +++ b/client/ug-client.c @@ -229,6 +229,8 @@ static Evas_Object *create_win(const char *name) ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h); evas_object_resize(eo, w, h); + + elm_win_indicator_mode_set(eo,ELM_WIN_INDICATOR_SHOW); } return eo; @@ -279,6 +281,11 @@ static int lang_changed(void *data) return ug_send_event(UG_EVENT_LANG_CHANGE); } +static int region_changed(void *data) +{ + return ug_send_event(UG_EVENT_REGION_CHANGE); +} + static void _home_screen_top_cb(keynode_t* node, void *data) { struct appdata *ad = data; @@ -352,6 +359,7 @@ static int app_create(void *data) appcore_set_event_callback(APPCORE_EVENT_LOW_MEMORY, low_memory, ad); appcore_set_event_callback(APPCORE_EVENT_LOW_BATTERY, low_battery, ad); appcore_set_event_callback(APPCORE_EVENT_LANG_CHANGE, lang_changed, ad); + appcore_set_event_callback(APPCORE_EVENT_REGION_CHANGE, region_changed, ad); return 0; } @@ -478,8 +486,6 @@ static int update_argument(const char *optarg, struct appdata *ad) return -1; val = optarg + strlen(key) + 1; - if (!val) - return -1; if (!ad->data) ad->data = bundle_create(); |