summaryrefslogtreecommitdiff
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-02-03 21:21:21 -0200
commit8b8a5d5167318fc02916cea07f9713100e90550d (patch)
tree1418f2c91ba68345b20d2fcae95a9e638aba6784
parentce1edd404b8468d34e68461d96c4b0e978e453ba (diff)
downloadelementary-8b8a5d5167318fc02916cea07f9713100e90550d.tar.gz
js: Added combobox class to JavaScript binding
-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)
{