rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=e3ad52e1be73e10db9a55ae9b124129b822d4c94

commit e3ad52e1be73e10db9a55ae9b124129b822d4c94
Author: Vitalii Vorobiov <[email protected]>
Date:   Fri Dec 9 13:18:30 2016 +0200

    property_group: remove mouse_events and repeat_events from SPACER part
    
    In edje_edit and edje_load every part has it's object to draw, it
    usually looks like "rp->object" variable.But for part SPACER that
    variable == NULL, so repeat_events and mouse_events do nothing at this
    case
    
    Fixes T4979
---
 src/bin/ui/property/property_group.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/bin/ui/property/property_group.c 
b/src/bin/ui/property/property_group.c
index 5900e29..0ae0e50 100644
--- a/src/bin/ui/property/property_group.c
+++ b/src/bin/ui/property/property_group.c
@@ -4861,6 +4861,7 @@ _init_items()
              break;
            case PROPERTY_GROUP_ITEM_PART_MOUSE_EVENTS:
               IT.name = "Mouse events";
+              IT.filter_data.part_types &= ~PART_SPACER;
               _action1(&IT, NULL, NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_PART_MOUSE_EVENTS,
                        _("Specifies whether the part emits signals. "
                          "Disabling it prevents the part from emitting "
@@ -4868,6 +4869,7 @@ _init_items()
              break;
            case PROPERTY_GROUP_ITEM_PART_REPEAT_EVENTS:
               IT.name = "Repeat events";
+              IT.filter_data.part_types &= ~PART_SPACER;
               _action1(&IT, NULL, NULL, PROPERTY_CONTROL_CHECK, 
ATTRIBUTE_PART_REPEAT_EVENTS,
                        _("Specifies whether a part echoes a mouse event "
                          "to other parts below the pointer."));

-- 


Reply via email to