typography: readme and remove some commented code.

This commit is contained in:
Alastair Poole 2021-01-27 10:47:42 +00:00
parent fc35436341
commit 51defa9c1e
2 changed files with 10 additions and 25 deletions

18
README
View File

@ -2,14 +2,16 @@
System Monitor (EFL) System Monitor (EFL)
This is a process monitor and system monitor for Linux, OpenBSD, This is a process and system monitor for Linux, OpenBSD, FreeBSD and
FreeBSD and DragonFlyBSD. 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: REQUIREMENTS:
An installation of EFL (v1.19.0+). Remember to set your An installation of EFL (v1.19.0+). Remember to set your PKG_CONFIG_PATH
PKG_CONFIG_PATH environment variable accordingly. For example environment variable accordingly. For example if EFL is installed in /opt:
if EFL is installed in /opt:
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/libdata/pkgconfig" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/libdata/pkgconfig"
@ -25,6 +27,6 @@ $ ninja -C build install
CONTRIBUTIONS: CONTRIBUTIONS:
Patches with bug fixes are more than welcome. If you do wish to Patches with bug fixes are more than welcome. If you do wish to add a
add a substantial querying feature PLEASE ensure that it works reliaibly substantial querying feature PLEASE ensure that it works reliaibly on OpenBSD,
on OpenBSD, Linux and FreeBSD. Linux and FreeBSD.

View File

@ -215,22 +215,6 @@ _genlist_ensure_n_items(Evas_Object *genlist, unsigned int items)
elm_genlist_item_class_free(itc); 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 static void
_disks_poll(void *data, Ecore_Thread *thread) _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_weight_set(genlist, EXPAND, EXPAND);
evas_object_size_hint_align_set(genlist, FILL, FILL); 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, "unrealized", _item_unrealized_cb, pd);
//evas_object_smart_callback_add(genlist, "selected", _item_disk_clicked_cb, pd);
elm_genlist_homogeneous_set(genlist, 1); elm_genlist_homogeneous_set(genlist, 1);
evas_object_show(genlist); evas_object_show(genlist);
elm_object_content_set(scr, genlist); elm_object_content_set(scr, genlist);