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 f12ff8cbca531dc3f8456335d45facdfdd9acf5e
Author: Alastair Poole <m...@alastairpoole.com>
AuthorDate: Sun Mar 23 22:05:52 2025 +0000
colors: change green/red temp color map.
---
src/bin/ui/evisum_ui_colors.h | 12 ++++++------
src/bin/ui/evisum_ui_process_list.c | 5 +++--
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/bin/ui/evisum_ui_colors.h b/src/bin/ui/evisum_ui_colors.h
index 33ff5f7..5b6d9ab 100644
--- a/src/bin/ui/evisum_ui_colors.h
+++ b/src/bin/ui/evisum_ui_colors.h
@@ -39,12 +39,12 @@ static const Color_Point freq_colormap_in[] = {
#define COLOR_TEMP_NUM 5
static const Color_Point temp_colormap_in[] = {
- { 0, 0xff57bb8a },
- { 25, 0xffa4c073 },
- { 50, 0xfff5ce62 },
- { 75, 0xffe9a268 },
- { 100, 0xffdd776e },
- { 256, 0xffdd776e }
+ { 0, 0xff44ce1b},
+ { 25, 0xffbddb44 },
+ { 50, 0xfff7e379 },
+ { 75, 0xfff2a134 },
+ { 100, 0xffe51f1f },
+ { 256, 0xffe51f1f }
};
void evisum_ui_colors_init();
diff --git a/src/bin/ui/evisum_ui_process_list.c b/src/bin/ui/evisum_ui_process_list.c
index 929704f..7ed828f 100644
--- a/src/bin/ui/evisum_ui_process_list.c
+++ b/src/bin/ui/evisum_ui_process_list.c
@@ -756,8 +756,9 @@ _content_get(void *data, Evas_Object *obj, const char *source)
evas_object_geometry_get(wd->btn_uid, NULL, NULL, &w, NULL);
lb = evas_object_data_get(it->obj, "uid");
pwd_entry = getpwuid(proc->uid);
- if (pwd_entry) snprintf(buf, sizeof(buf), "%s", pwd_entry->pw_name);
- else
+ if (pwd_entry)
+ snprintf(buf, sizeof(buf), "%s", pwd_entry->pw_name);
+ else
snprintf(buf, sizeof(buf), "%i", proc->uid);
if (strcmp(buf, elm_object_text_get(lb)))
elm_object_text_set(lb, buf);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.