forked from enlightenment/evisum
parent
80bb2d61f4
commit
daeff14236
|
@ -464,7 +464,7 @@ ui_win_cpu_add(Ui *ui)
|
||||||
|
|
||||||
if (ui->win_cpu) return;
|
if (ui->win_cpu) return;
|
||||||
|
|
||||||
ui->win_cpu = win = elm_win_util_dialog_add(ui->win, "evisum",
|
ui->win_cpu = win = elm_win_util_standard_add("evisum",
|
||||||
_("CPU Usage"));
|
_("CPU Usage"));
|
||||||
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
||||||
evas_object_size_hint_align_set(win, FILL, FILL);
|
evas_object_size_hint_align_set(win, FILL, FILL);
|
||||||
|
|
|
@ -173,7 +173,7 @@ ui_win_disk_add(Ui *ui)
|
||||||
|
|
||||||
if (ui->win_disk) return;
|
if (ui->win_disk) return;
|
||||||
|
|
||||||
ui->win_disk = win = elm_win_util_dialog_add(ui->win, "evisum",
|
ui->win_disk = win = elm_win_util_standard_add("evisum",
|
||||||
_("Storage"));
|
_("Storage"));
|
||||||
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
||||||
evas_object_size_hint_align_set(win, FILL, FILL);
|
evas_object_size_hint_align_set(win, FILL, FILL);
|
||||||
|
|
|
@ -130,7 +130,7 @@ ui_win_memory_add(Ui *ui)
|
||||||
Widgets *widgets = calloc(1, sizeof(Widgets));
|
Widgets *widgets = calloc(1, sizeof(Widgets));
|
||||||
if (!widgets) return;
|
if (!widgets) return;
|
||||||
|
|
||||||
ui->win_mem = win = elm_win_util_dialog_add(ui->win, "evisum",
|
ui->win_mem = win = elm_win_util_standard_add("evisum",
|
||||||
_("Memory Usage"));
|
_("Memory Usage"));
|
||||||
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
||||||
evas_object_size_hint_align_set(win, FILL, FILL);
|
evas_object_size_hint_align_set(win, FILL, FILL);
|
||||||
|
|
|
@ -346,7 +346,7 @@ ui_win_misc_add(Ui *ui)
|
||||||
|
|
||||||
if (ui->win_misc) return;
|
if (ui->win_misc) return;
|
||||||
|
|
||||||
ui->win_misc = win = elm_win_util_dialog_add(ui->win, "evisum", _("Stuff"));
|
ui->win_misc = win = elm_win_util_standard_add("evisum", _("Misc"));
|
||||||
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(win, EXPAND, EXPAND);
|
||||||
evas_object_size_hint_align_set(win, FILL, FILL);
|
evas_object_size_hint_align_set(win, FILL, FILL);
|
||||||
evisum_ui_background_random_add(win, evisum_ui_effects_enabled_get());
|
evisum_ui_background_random_add(win, evisum_ui_effects_enabled_get());
|
||||||
|
|
Loading…
Reference in New Issue