aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordivyesh purohit <div.purohit@samsung.com>2016-01-30 18:29:35 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-01-30 18:31:02 -0200
commitcbf338d03fc17148cc47d10ee20d89397ed9330b (patch)
tree5c629765521d8e5d07ae3f5b8b056e2c9d9d6ccb
parentelm_focus: refine focus.edc (diff)
downloadelementary-devs/felipealmeida/next.tar.gz
js: Added combobox class to JavaScript bindingdevs/felipealmeida/next
-rw-r--r--src/lib/elementary_js.cc2
-rw-r--r--src/lib/elm_combobox.eo2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/elementary_js.cc b/src/lib/elementary_js.cc
index 873d637ab..7837adca6 100644
--- a/src/lib/elementary_js.cc
+++ b/src/lib/elementary_js.cc
@@ -67,6 +67,7 @@ EAPI void register_clock(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_colorselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_conformant(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_container(v8::Handle<v8::Object> global, v8::Isolate* isolate);
+EAPI void register_combobox(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_ctxpopup(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_datetime(v8::Handle<v8::Object> global, v8::Isolate* isolate);
EAPI void register_dayselector(v8::Handle<v8::Object> global, v8::Isolate* isolate);
@@ -182,6 +183,7 @@ void init(v8::Handle<v8::Object> exports)
elm::register_clock(exports, v8::Isolate::GetCurrent());
elm::register_colorselector(exports, v8::Isolate::GetCurrent());
elm::register_conformant(exports, v8::Isolate::GetCurrent());
+ elm::register_combobox(exports, v8::Isolate::GetCurrent());
elm::register_container(exports, v8::Isolate::GetCurrent());
elm::register_ctxpopup(exports, v8::Isolate::GetCurrent());
elm::register_datetime(exports, v8::Isolate::GetCurrent());
diff --git a/src/lib/elm_combobox.eo b/src/lib/elm_combobox.eo
index 4e131978f..0075530ce 100644
--- a/src/lib/elm_combobox.eo
+++ b/src/lib/elm_combobox.eo
@@ -1,4 +1,4 @@
-class Elm_Combobox (Elm.Button, Evas.Selectable_Interface,
+class Elm.Combobox (Elm.Button, Evas.Selectable_Interface,
Elm_Interface_Atspi_Widget_Action,
Elm.Entry, Elm.Genlist, Elm.Hover)
{