This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository edi.

View the commit online.

commit 1a4053adea03d48092827bff2eecd0a17493b971
Author: Alastair Poole <[email protected]>
AuthorDate: Tue Apr 14 21:26:33 2026 +0100

    about: remove dormant buttons.
    
    Just add a close button instead.
---
 src/bin/screens/edi_about.c | 28 ++++++----------------------
 1 file changed, 6 insertions(+), 22 deletions(-)

diff --git a/src/bin/screens/edi_about.c b/src/bin/screens/edi_about.c
index 4618f68..a423d85 100644
--- a/src/bin/screens/edi_about.c
+++ b/src/bin/screens/edi_about.c
@@ -14,9 +14,11 @@ _edi_about_exit(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_
 }
 
 static void
-_edi_about_url_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
+_edi_about_close_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
 {
-   edi_open_url((const char *)data);
+   Evas_Object *win = data;
+
+   evas_object_del(win);
 }
 
 Evas_Object *
@@ -124,9 +126,8 @@ edi_about_show(Evas_Object *mainwin)
    evas_object_show(space);
 
    button = elm_button_add(box);
-   elm_object_text_set(button, _("Visit Website"));
-   evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
-                                  "https://www.enlightenment.org/about-edi.md");
+   elm_object_text_set(button, _("Close"));
+   evas_object_smart_callback_add(button, "clicked", _edi_about_close_cb, win);
    elm_box_pack_end(buttonbox, button);
    evas_object_show(button);
 
@@ -135,23 +136,6 @@ edi_about_show(Evas_Object *mainwin)
    elm_box_pack_end(buttonbox, space);
    evas_object_show(space);
 
-   button = elm_button_add(box);
-   elm_object_text_set(button, _("Report Issues"));
-   evas_object_smart_callback_add(button, "clicked", _edi_about_url_cb,
-                                  "https://phab.enlightenment.org");
-   elm_box_pack_end(buttonbox, button);
-   evas_object_show(button);
-
-   space = elm_box_add(box);
-   evas_object_size_hint_min_set(space, 20 * elm_config_scale_get(), 0);
-   elm_box_pack_end(buttonbox, space);
-   evas_object_show(space);
-
-   space = elm_box_add(box);
-   evas_object_size_hint_min_set(space, 20 * elm_config_scale_get(), 0);
-   elm_box_pack_end(buttonbox, space);
-   evas_object_show(space);
-
    evas_object_resize(win, 520 * elm_config_scale_get(), 360 * elm_config_scale_get());
    evas_object_show(win);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to