Ephoto: Use a transition of the directory browser rolling down into the button to give users a better hint about how to reshow it.

This commit is contained in:
Stephen okra Houston 2016-08-30 17:28:02 -05:00
parent 5396e78636
commit 8f9522ce25
2 changed files with 3 additions and 1 deletions

View File

@ -266,6 +266,8 @@ collections {
description { state: "hidden" 0.0; description { state: "hidden" 0.0;
inherit: "default" 0.0; inherit: "default" 0.0;
color: 255 255 255 0; color: 255 255 255 0;
rel1.to: "ephoto,controls";
rel1.relative: 0.0 0.0;
visible: 0; visible: 0;
} }
} }

View File

@ -562,7 +562,7 @@ ephoto_window_add(const char *path)
elm_object_text_set(but, _("Show Folders")); elm_object_text_set(but, _("Show Folders"));
evas_object_smart_callback_add(but, "clicked", _folder_icon_clicked, ephoto); evas_object_smart_callback_add(but, "clicked", _folder_icon_clicked, ephoto);
elm_object_tooltip_text_set(but, _("Show Folders")); elm_object_tooltip_text_set(but, _("Show Folders"));
elm_object_tooltip_orient_set(but, ELM_TOOLTIP_ORIENT_TOP); elm_object_tooltip_orient_set(but, ELM_TOOLTIP_ORIENT_RIGHT);
elm_box_pack_end(ephoto->statusbar, but); elm_box_pack_end(ephoto->statusbar, but);
evas_object_show(but); evas_object_show(but);
fold = but; fold = but;