summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-16 02:51:42 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-09-16 02:51:42 +0900
commit4b1597bab9c733ecadd3fa39d2420292f41aa468 (patch)
tree7a9cb044fcbe5868887ac81ddc71ecac2b564d8c /src/lib
parent6e4f17a381cf4c0f3ab4eafb1a38e1a7da3620d1 (diff)
elm_spinner.c: consider style name starting with "vertical" is a vertical spinner.
I think it's better to introduce elm_spinner_vertical_set() API to explicitly show the vertical mode but I will keep this new code for the backward compatibility.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_spinner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 7a91f1aa6..53b89f73d 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -436,7 +436,7 @@ _elm_spinner_smart_event(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
436 void *event_info = va_arg(*list, void *); 436 void *event_info = va_arg(*list, void *);
437 Eina_Bool *ret = va_arg(*list, Eina_Bool *); 437 Eina_Bool *ret = va_arg(*list, Eina_Bool *);
438 if (ret) *ret = EINA_FALSE; 438 if (ret) *ret = EINA_FALSE;
439 Eina_Bool horz = !!strcmp(elm_widget_style_get(obj), "vertical"); 439 Eina_Bool horz = !!strncmp(elm_widget_style_get(obj), "vertical", 8);
440 440
441 if (elm_widget_disabled_get(obj)) return; 441 if (elm_widget_disabled_get(obj)) return;
442 if (type == EVAS_CALLBACK_KEY_DOWN) 442 if (type == EVAS_CALLBACK_KEY_DOWN)