ui: remove memory title (no need)
This commit is contained in:
parent
efa207bbc5
commit
9994914e3a
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include "ui.h"
|
||||
|
||||
#define CONFIG_VERSION 0x0001
|
||||
#define CONFIG_VERSION 0x0002
|
||||
|
||||
typedef struct _Evisum_Config
|
||||
{
|
||||
|
|
|
@ -407,13 +407,6 @@ _tab_memory_update(Ui *ui, results_t *results)
|
|||
if (!ui->mem_visible)
|
||||
return;
|
||||
|
||||
elm_object_text_set(ui->title_mem, eina_slstr_printf(
|
||||
_("<subtitle>Memory</subtitle><br>" \
|
||||
"<bigger>Physical %s</bigger><br><br>" \
|
||||
"Swap %s"),
|
||||
_size_format(results->memory.total << 10),
|
||||
_size_format(results->memory.swap_total << 10)));
|
||||
|
||||
progress = ui->progress_mem_used;
|
||||
ratio = results->memory.total / 100.0;
|
||||
value = results->memory.used / ratio;
|
||||
|
@ -2644,7 +2637,7 @@ _ui_tabs_add(Evas_Object *parent, Ui *ui)
|
|||
evas_object_size_hint_weight_set(button, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
|
||||
evas_object_size_hint_align_set(button, EVAS_HINT_FILL, EVAS_HINT_FILL);
|
||||
evas_object_size_hint_min_set(button, TAB_BTN_SIZE * elm_config_scale_get(), 0);
|
||||
elm_object_text_set(button, _("Processes"));
|
||||
elm_object_text_set(button, _("General"));
|
||||
evas_object_show(button);
|
||||
elm_object_content_set(border, button);
|
||||
elm_box_pack_end(hbox, border);
|
||||
|
|
Loading…
Reference in New Issue