summaryrefslogtreecommitdiff
path: root/src/lib/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2014-09-30 20:49:16 +0200
committerSebastian Dransfeld <sd@tango.flipp.net>2014-09-30 23:19:57 +0200
commitd1207854f4bf64c22c95f99c0a9f9c84e1a2cf03 (patch)
treea5619be687722f79fa11acd752901917b8cd5da1 /src/lib/efreet
parent8671a8d8e2a21a2af9164192b379413b9c9eb398 (diff)
efreet: fix show/nowshow
This partly reverts c700192, as the change here was wrong.
Diffstat (limited to 'src/lib/efreet')
-rw-r--r--src/lib/efreet/efreet_desktop.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lib/efreet/efreet_desktop.c b/src/lib/efreet/efreet_desktop.c
index 2645c94c1e..f672ba7545 100644
--- a/src/lib/efreet/efreet_desktop.c
+++ b/src/lib/efreet/efreet_desktop.c
@@ -1120,11 +1120,9 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
1120 break; 1120 break;
1121 } 1121 }
1122 } 1122 }
1123 if (found) 1123 return found;
1124 return 1;
1125 } 1124 }
1126 1125
1127
1128 if (desktop->not_show_in) 1126 if (desktop->not_show_in)
1129 { 1127 {
1130 EINA_LIST_FOREACH(desktop->not_show_in, list, val) 1128 EINA_LIST_FOREACH(desktop->not_show_in, list, val)
@@ -1135,8 +1133,7 @@ efreet_desktop_environment_check(Efreet_Desktop *desktop)
1135 break; 1133 break;
1136 } 1134 }
1137 } 1135 }
1138 if (found) 1136 return !found;
1139 return 0;
1140 } 1137 }
1141 1138
1142 return 1; 1139 return 1;