summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2020-07-18 16:17:47 +0200
committerBoris Faure <billiob@gmail.com>2020-07-18 16:17:47 +0200
commitce788a69f6071d102e4278bd3574d23bafbbe958 (patch)
treef4622565f9845336b20328e9fbddcb6a5295f5a4
parent6846074343bdace437f477c44ceace285990b032 (diff)
about: dismiss when clicking on the terminal
-rw-r--r--src/bin/about.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bin/about.c b/src/bin/about.c
index 7032ae4..d876e69 100644
--- a/src/bin/about.c
+++ b/src/bin/about.c
@@ -185,6 +185,8 @@ about_show(Evas_Object *win, Evas_Object *base, Evas_Object *term,
185 eina_stringshare_del(txt); 185 eina_stringshare_del(txt);
186 evas_object_show(o); 186 evas_object_show(o);
187 elm_layout_content_set(base, "terminology.about", ctx->layout); 187 elm_layout_content_set(base, "terminology.about", ctx->layout);
188 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
189 _cb_mouse_down, ctx);
188 190
189 ctx->over = o = evas_object_rectangle_add(evas_object_evas_get(win)); 191 ctx->over = o = evas_object_rectangle_add(evas_object_evas_get(win));
190 evas_object_color_set(o, 0, 0, 0, 0); 192 evas_object_color_set(o, 0, 0, 0, 0);