From 51defa9c1ecc1178b67cd26dafd46f0e07671075 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Wed, 27 Jan 2021 10:47:42 +0000 Subject: [PATCH] typography: readme and remove some commented code. --- README | 18 ++++++++++-------- src/bin/ui/ui_disk.c | 17 ----------------- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/README b/README index 45020d5..eef3a9d 100644 --- a/README +++ b/README @@ -2,14 +2,16 @@ System Monitor (EFL) -This is a process monitor and system monitor for Linux, OpenBSD, -FreeBSD and DragonFlyBSD. +This is a process and system monitor for Linux, OpenBSD, FreeBSD and +DragonFlyBSD. It is server-client based and includes rudimentary tools for +process, CPU, memory, storage and sensor querying. The current set of +features aims to reach a common denominator between the three popular and +viable Unix-like operating systems at this time: Linux, FreeBSD and OpenBSD. REQUIREMENTS: -An installation of EFL (v1.19.0+). Remember to set your -PKG_CONFIG_PATH environment variable accordingly. For example -if EFL is installed in /opt: +An installation of EFL (v1.19.0+). Remember to set your PKG_CONFIG_PATH +environment variable accordingly. For example if EFL is installed in /opt: export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/libdata/pkgconfig" @@ -25,6 +27,6 @@ $ ninja -C build install CONTRIBUTIONS: -Patches with bug fixes are more than welcome. If you do wish to -add a substantial querying feature PLEASE ensure that it works reliaibly -on OpenBSD, Linux and FreeBSD. +Patches with bug fixes are more than welcome. If you do wish to add a +substantial querying feature PLEASE ensure that it works reliaibly on OpenBSD, +Linux and FreeBSD. diff --git a/src/bin/ui/ui_disk.c b/src/bin/ui/ui_disk.c index 316ef16..47a55b5 100644 --- a/src/bin/ui/ui_disk.c +++ b/src/bin/ui/ui_disk.c @@ -215,22 +215,6 @@ _genlist_ensure_n_items(Evas_Object *genlist, unsigned int items) elm_genlist_item_class_free(itc); } -/* -static void -_item_disk_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info) -{ - Elm_Object_Item *it; - File_System *fs; - Ui_Data *pd = data; - - it = event_info; - - elm_genlist_item_selected_set(it, 0); - fs = elm_object_item_data_get(it); - if (!fs) return; -} -*/ - static void _disks_poll(void *data, Ecore_Thread *thread) { @@ -669,7 +653,6 @@ ui_disk_win_add(Ui *ui) evas_object_size_hint_weight_set(genlist, EXPAND, EXPAND); evas_object_size_hint_align_set(genlist, FILL, FILL); evas_object_smart_callback_add(genlist, "unrealized", _item_unrealized_cb, pd); - //evas_object_smart_callback_add(genlist, "selected", _item_disk_clicked_cb, pd); elm_genlist_homogeneous_set(genlist, 1); evas_object_show(genlist); elm_object_content_set(scr, genlist);