forked from enlightenment/evisum
proc_view: single bg.
This commit is contained in:
parent
70e03a6df2
commit
cf42b79faa
|
@ -1622,7 +1622,7 @@ ui_process_list_win_add(Ui *ui)
|
|||
evas_object_show(win);
|
||||
|
||||
if (evisum_ui_effects_enabled_get() || evisum_ui_backgrounds_enabled_get())
|
||||
evisum_ui_background_random_add(ui->win, 1);
|
||||
evisum_ui_background_add(ui->win, EINA_TRUE);
|
||||
|
||||
o = _ui_content_system_add(pd, win);
|
||||
elm_object_content_set(win, o);
|
||||
|
|
|
@ -571,7 +571,7 @@ evisum_ui_background_add(Evas_Object *win, Eina_Bool enabled)
|
|||
if (!enabled) return NULL;
|
||||
|
||||
bg = elm_bg_add(win);
|
||||
elm_bg_file_set(bg, evisum_image_path_get("sky_03"), NULL);
|
||||
elm_bg_file_set(bg, evisum_image_path_get("sky_04"), NULL);
|
||||
evas_object_size_hint_align_set(bg, FILL, FILL);
|
||||
evas_object_size_hint_weight_set(bg, EXPAND, EXPAND);
|
||||
elm_win_resize_object_add(win, bg);
|
||||
|
|
Loading…
Reference in New Issue