made the base object of the fwin themeable, instead of hardcode white

SVN revision: 26756
This commit is contained in:
Viktor Kojouharov 2006-10-23 16:34:21 +00:00
parent 2092a02a94
commit cba1e48375
2 changed files with 18 additions and 2 deletions

View File

@ -14,6 +14,21 @@ images {
image: "e17_button.png" COMP;
}
group {
name: "e/fileman/window/main";
parts {
part {
name: "base";
mouse_events: 0;
type: RECT;
description {
state: "default" 0.0;
color: 255 255 255 255;
}
}
}
}
group {
name: "e/fileman/list/fixed";
parts {

View File

@ -65,8 +65,9 @@ e_fwin_new(E_Container *con, const char *dev, const char *path)
/* FIXME: "select" of a file opens that file based on mimetype etc. */
/* FIXME: if file executable - run it */
o = evas_object_rectangle_add(e_win_evas_get(fwin->win));
evas_object_color_set(o, 255, 255, 255, 255);
o = edje_object_add(e_win_evas_get(fwin->win));
e_theme_edje_object_set(o, "base/theme/fileman",
"e/fileman/window/main");
evas_object_show(o);
fwin->bg_obj = o;