okra pushed a commit to branch master.

http://git.enlightenment.org/apps/ephoto.git/commit/?id=788863df681ae11397a65095841da1a893078419

commit 788863df681ae11397a65095841da1a893078419
Author: Stephen 'Okra' Houston <[email protected]>
Date:   Mon May 1 15:24:07 2017 -0500

    Ephoto: Don't send unnecessary signals now that we are not showing/hiding 
panels in edje.
---
 src/bin/ephoto_directory_browser.c | 7 -------
 src/bin/ephoto_editor.c            | 6 ------
 src/bin/ephoto_single_browser.c    | 2 --
 3 files changed, 15 deletions(-)

diff --git a/src/bin/ephoto_directory_browser.c 
b/src/bin/ephoto_directory_browser.c
index 2c789e8..989ab5c 100644
--- a/src/bin/ephoto_directory_browser.c
+++ b/src/bin/ephoto_directory_browser.c
@@ -679,15 +679,8 @@ _go_home(void *data, Evas_Object *obj EINA_UNUSED, void 
*event_data EINA_UNUSED)
 static void
 _ephoto_directory_view_add(Ephoto_Directory_Browser *db)
 {
-   Edje_Message_Int_Set *msg;
    Evas_Object *ic, *but;
 
-   msg = alloca(sizeof(Edje_Message_Int_Set) + (1 * sizeof(int)));
-   msg->count = 1;
-   msg->val[0] = (int)round(220 * elm_config_scale_get());
-   edje_object_message_send(elm_layout_edje_get(db->ephoto->layout),
-       EDJE_MESSAGE_INT_SET, 1, msg);
-
    db->leftbox = elm_box_add(db->main);
    elm_box_horizontal_set(db->leftbox, EINA_FALSE);
    elm_box_homogeneous_set(db->leftbox, EINA_FALSE);
diff --git a/src/bin/ephoto_editor.c b/src/bin/ephoto_editor.c
index fc42693..ee67ea7 100644
--- a/src/bin/ephoto_editor.c
+++ b/src/bin/ephoto_editor.c
@@ -27,9 +27,6 @@ ephoto_editor_add(Ephoto *ephoto, Evas_Object *parent, const 
char *title, const
 {
    Evas_Object *frame, *box, *ic, *button;
 
-   edje_object_signal_emit(elm_layout_edje_get(ephoto->layout),
-       "ephoto,folders,hide", "ephoto");
-
    frame = elm_frame_add(parent);
    elm_object_text_set(frame, title);
    EPHOTO_WEIGHT(frame, 0.3, EVAS_HINT_EXPAND);
@@ -94,9 +91,6 @@ ephoto_editor_add(Ephoto *ephoto, Evas_Object *parent, const 
char *title, const
    elm_box_pack_end(box, button);
    evas_object_show(button);
 
-   edje_object_signal_emit(elm_layout_edje_get(ephoto->layout),
-       "ephoto,editor,show", "ephoto"); 
-
    return box;
 }
 
diff --git a/src/bin/ephoto_single_browser.c b/src/bin/ephoto_single_browser.c
index e740075..f47798b 100644
--- a/src/bin/ephoto_single_browser.c
+++ b/src/bin/ephoto_single_browser.c
@@ -1843,8 +1843,6 @@ _editor_menu(void *data, Evas_Object *obj EINA_UNUSED, 
void *event_data EINA_UNU
    _edit_function_item_add(vbox, "edit-clear", _("Reset"), _reset_image, sb);
    _edit_function_item_add(vbox, "window-close", _("Close"), _close_editor, 
sb);
 
-   edje_object_signal_emit(elm_layout_edje_get(sb->ephoto->layout),
-       "ephoto,editor,show", "ephoto");
    sb->edit_main = frame;
 }
 

-- 


Reply via email to