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

git pushed a commit to branch master
in repository evisum.

View the commit online.

commit 0243bdc145e68ff941f1b97f380f63d532ad30e5
Author: Alastair Poole <[email protected]>
AuthorDate: Thu Jan 22 19:01:49 2026 +0000

    CPU: Remove redundant option when cpu count exceeds max
---
 src/bin/ui/visuals/cpu_default.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/bin/ui/visuals/cpu_default.c b/src/bin/ui/visuals/cpu_default.c
index 1aed737..89103f4 100644
--- a/src/bin/ui/visuals/cpu_default.c
+++ b/src/bin/ui/visuals/cpu_default.c
@@ -565,13 +565,16 @@ cpu_visual_default(Evas_Object *parent_box)
    evas_object_show(check);
    elm_box_pack_end(hbx, check);
 
-   check = elm_check_add(fr);
-   evas_object_size_hint_align_set(check, FILL, FILL);
-   evas_object_size_hint_weight_set(check, EXPAND, 0);
-   elm_object_text_set(check, _("Confused?"));
-   evas_object_smart_callback_add(check, "changed", _confused_check_changed_cb, pd);
-   evas_object_show(check);
-   elm_box_pack_end(hbx, check);
+   if (show_icons)
+     {
+        check = elm_check_add(fr);
+        evas_object_size_hint_align_set(check, FILL, FILL);
+        evas_object_size_hint_weight_set(check, EXPAND, 0);
+        elm_object_text_set(check, _("Confused?"));
+        evas_object_smart_callback_add(check, "changed", _confused_check_changed_cb, pd);
+        evas_object_show(check);
+        elm_box_pack_end(hbx, check);
+     }
 
    ext->obj = obj;
    ext->colors = colors;

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

Reply via email to