Dear all.

I was sent email about elc_multibuttonentry's bug. It reviewed by seoz.
And he found some path can make segfault.
So I changed reset string position in the widget.

I patched resetting internal entry's position, before that some label
are broken by too early resetting.

Thank you.
Index: elementary/src/lib/elc_multibuttonentry.c
===================================================================
--- elementary/src/lib/elc_multibuttonentry.c   (리비전 66407)
+++ elementary/src/lib/elc_multibuttonentry.c   (작업 사본)
@@ -772,13 +772,13 @@
         if (!(item_filter->callback_func(obj, str, data, item_filter->data)))
           return NULL;
      }
-   //entry is cleared when text is made to button
-   elm_entry_entry_set(wd->entry, "");
-
    // add button
    btn = edje_object_add(evas_object_evas_get(obj));
    str_utf8 = elm_entry_markup_to_utf8(str);
 
+   //entry is cleared when text is made to button
+   elm_entry_entry_set(wd->entry, "");
+
    _elm_theme_object_set(obj, btn, "multibuttonentry", "btn", 
elm_widget_style_get(obj));
    edje_object_part_text_set(btn, "elm.btn.text", str_utf8);
    edje_object_part_geometry_get(btn, "elm.btn.text", NULL, NULL, &width, 
&height);
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to