From 1d214683a9351e2e0596af7333b80f133516fd39 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sun, 7 Dec 2008 13:53:25 +0000 Subject: [PATCH] e_fm2: view mode is back! As I suspected it was not error on my code. At the end it was just a missing theme. For now I just aliased default to desktop, but I guess it's better to come with something else transparent so we can see our wallpaper. Themers?! PS: for Illume I think it makes sense to have that menu, but for desktop it does not, maybe we should add more flags to turn off just view mode selection and keep icon size? Or just turn off lists... or just let the user choose, there are many strange users out there, one might like it. SVN revision: 37983 --- data/themes/default.edc | 2 ++ src/bin/e_fm.c | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/data/themes/default.edc b/data/themes/default.edc index 2ce7452cf..4b3a4ed4b 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -15346,6 +15346,7 @@ collections { /* begin the collection of edje groups that are in this file */ } group { name: "e/fileman/default/list/fixed"; + alias: "e/fileman/desktop/list/fixed"; data.item: "stacking" "above"; data.item: "selectraise" "on"; images { @@ -15809,6 +15810,7 @@ collections { /* begin the collection of edje groups that are in this file */ } group { name: "e/fileman/default/list_odd/fixed"; + name: "e/fileman/desktop/list_odd/fixed"; data.item: "stacking" "below"; data.item: "selectraise" "on"; images { diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index 4d3a6151c..be4df578b 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -3054,9 +3054,8 @@ _e_fm2_icons_place_list(E_Fm2_Smart_Data *sd) static inline char _e_fm2_view_mode_get(const E_Fm2_Smart_Data *sd) { -// this breaks illume on openembedded. disable! :( -// if (sd->view_mode > -1) -// return sd->view_mode; + if (sd->view_mode > -1) + return sd->view_mode; return sd->config->view.mode; }