aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_bubble.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/elm_bubble.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_bubble.c b/src/lib/elementary/elm_bubble.c
index 15d67e418c..520a16198d 100644
--- a/src/lib/elementary/elm_bubble.c
+++ b/src/lib/elementary/elm_bubble.c
@@ -11,6 +11,9 @@
#include "elm_widget_bubble.h"
#include "elm_widget_layout.h"
+#include "elm_bubble_internal_part.eo.h"
+#include "elm_part_helper.h"
+
#define MY_CLASS ELM_BUBBLE_CLASS
#define MY_CLASS_NAME "Elm_Bubble"
@@ -114,11 +117,11 @@ _elm_bubble_elm_widget_focus_direction(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED
}
EOLIAN static Eina_Bool
-_elm_bubble_elm_layout_text_set(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED, const char *part, const char *label)
+_elm_bubble_text_set(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED, const char *part, const char *label)
{
- Eina_Bool int_ret = EINA_FALSE;
+ Eina_Bool int_ret = EINA_TRUE;
- int_ret = elm_obj_layout_text_set(efl_super(obj, MY_CLASS), part, label);
+ efl_text_set(efl_part(efl_super(obj, MY_CLASS), part), label);
if (!int_ret) return EINA_FALSE;
if (part && (!strcmp(part, "info") || !strcmp(part, "elm.info")))
@@ -288,6 +291,12 @@ _elm_bubble_class_constructor(Efl_Class *klass)
evas_smart_legacy_type_register(MY_CLASS_NAME_LEGACY, klass);
}
+/* Efl.Part begin */
+ELM_PART_OVERRIDE(elm_bubble, ELM_BUBBLE, ELM_LAYOUT, Elm_Bubble_Data, Elm_Part_Data)
+ELM_PART_OVERRIDE_TEXT_SET(elm_bubble, ELM_BUBBLE, ELM_LAYOUT, Elm_Bubble_Data, Elm_Part_Data)
+
+#include "elm_bubble_internal_part.eo.c"
+/* Efl.Part end */
/* Internal EO APIs and hidden overrides */
#define ELM_BUBBLE_EXTRA_OPS \