forked from enlightenment/evisum
ui: decentralised government.
This commit is contained in:
parent
931510ff66
commit
eaac5da967
|
@ -11,5 +11,5 @@ install_data('go-up.png', 'go-down.png',
|
||||||
'clo.png', 'bolt.png', 'menu.png',
|
'clo.png', 'bolt.png', 'menu.png',
|
||||||
'lovethisdogharvey.png', 'application.png',
|
'lovethisdogharvey.png', 'application.png',
|
||||||
'e.png', 'border.png', 'freebsd.png', 'linux.png',
|
'e.png', 'border.png', 'freebsd.png', 'linux.png',
|
||||||
'on.png', 'off.png',
|
'on.png', 'off.png', 'proc.png',
|
||||||
install_dir: join_paths(dir_data, 'evisum/images'))
|
install_dir: join_paths(dir_data, 'evisum/images'))
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.8 KiB |
|
@ -201,6 +201,15 @@ _menu_cpu_activity_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
ui_win_cpu_add(ui, NULL);
|
ui_win_cpu_add(ui, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
_menu_process_view_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
|
void *event_info EINA_UNUSED)
|
||||||
|
{
|
||||||
|
Ui *ui = data;
|
||||||
|
|
||||||
|
ui_process_list_win_add(ui, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_menu_effects_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
_menu_effects_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
void *event_info EINA_UNUSED)
|
void *event_info EINA_UNUSED)
|
||||||
|
@ -330,7 +339,11 @@ evisum_ui_main_menu_create(Ui *ui, Evas_Object *parent, Evas_Object *obj)
|
||||||
evas_object_size_hint_weight_set(hbox, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(hbox, EXPAND, EXPAND);
|
||||||
evas_object_show(hbox);
|
evas_object_show(hbox);
|
||||||
|
|
||||||
it_focus = btn = _btn_create(hbox, "cpu", _("CPU"),
|
it_focus = btn = _btn_create(hbox, "proc", _("Processes"),
|
||||||
|
_menu_process_view_clicked_cb, ui);
|
||||||
|
elm_box_pack_end(hbox, btn);
|
||||||
|
|
||||||
|
btn = _btn_create(hbox, "cpu", _("CPU"),
|
||||||
_menu_cpu_activity_clicked_cb, ui);
|
_menu_cpu_activity_clicked_cb, ui);
|
||||||
elm_box_pack_end(hbox, btn);
|
elm_box_pack_end(hbox, btn);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue