forked from enlightenment/efl
elementary/layout - revert commit b4e1b33cbea974e7e05d61a1c37c21f97ff7eabd for the app compatibility.
This commit is contained in:
parent
3571cdd209
commit
657a0f4d18
|
@ -1510,7 +1510,3 @@
|
||||||
the imf is available, the keyboard mode should be decided by ime, but
|
the imf is available, the keyboard mode should be decided by ime, but
|
||||||
not entry. This prevents the asynchronous states between ime and
|
not entry. This prevents the asynchronous states between ime and
|
||||||
conformant.
|
conformant.
|
||||||
|
|
||||||
2013-07-17 ChunEon Park (Hermet)
|
|
||||||
|
|
||||||
* Layout : Send visible/hidden signals whenever contents are set/unset (not only icon and end parts)
|
|
||||||
|
|
|
@ -296,7 +296,6 @@ Additions:
|
||||||
* Elm_Win_Trap and elm_win_trap_set() to allow e17 integration.
|
* Elm_Win_Trap and elm_win_trap_set() to allow e17 integration.
|
||||||
* elm_flip_go_to()
|
* elm_flip_go_to()
|
||||||
* On focus loss, Elm_Spinner properly hide Elm_Entry and display label properly.
|
* On focus loss, Elm_Spinner properly hide Elm_Entry and display label properly.
|
||||||
* Layout : Send visible/hidden signals whenever contents are set/unset (not only icon and end parts)
|
|
||||||
|
|
||||||
Fixes:
|
Fixes:
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,11 @@ _icon_signal_emit(Elm_Layout_Smart_Data *sd,
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
const char *type;
|
const char *type;
|
||||||
|
|
||||||
if (sub_d->type != SWALLOW) return;
|
//FIXME: Don't limit to the icon and end here.
|
||||||
|
// send signals for all contents after elm 2.0
|
||||||
|
if (sub_d->type != SWALLOW ||
|
||||||
|
(strcmp("elm.swallow.icon", sub_d->part) &&
|
||||||
|
(strcmp("elm.swallow.end", sub_d->part)))) return;
|
||||||
|
|
||||||
if (strncmp(sub_d->part, "elm.swallow.", sizeof("elm.swallow.") - 1) == 0)
|
if (strncmp(sub_d->part, "elm.swallow.", sizeof("elm.swallow.") - 1) == 0)
|
||||||
type = sub_d->part + sizeof("elm.swallow.") - 1;
|
type = sub_d->part + sizeof("elm.swallow.") - 1;
|
||||||
|
@ -157,7 +161,9 @@ _text_signal_emit(Elm_Layout_Smart_Data *sd,
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
const char *type;
|
const char *type;
|
||||||
|
|
||||||
if (sub_d->type != TEXT) return;
|
//FIXME: Don't limit to "elm.text" prefix.
|
||||||
|
//Send signals for all text parts after elm 2.0
|
||||||
|
if (sub_d->type != TEXT || strcmp("elm.text", sub_d->part)) return;
|
||||||
|
|
||||||
Elm_Widget_Smart_Data *wd = eo_data_scope_get(sd->obj, ELM_OBJ_WIDGET_CLASS);
|
Elm_Widget_Smart_Data *wd = eo_data_scope_get(sd->obj, ELM_OBJ_WIDGET_CLASS);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue