made the base object of the fwin themeable, instead of hardcode white
authorViktor Kojouharov <vkojouharov@gmail.com>
Mon, 23 Oct 2006 16:34:21 +0000 (16:34 +0000)
committerViktor Kojouharov <vkojouharov@gmail.com>
Mon, 23 Oct 2006 16:34:21 +0000 (16:34 +0000)
SVN revision: 26756

data/themes/default_fileman.edc
src/bin/e_fwin.c

index b79add5..2e6ad21 100644 (file)
@@ -15,6 +15,21 @@ images {
 }
 
 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 {
       part {
index 0435f04..990b1dc 100644 (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;