summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/e_shelf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c
index e5eb583bd..440df5e91 100644
--- a/src/bin/e_shelf.c
+++ b/src/bin/e_shelf.c
@@ -979,7 +979,10 @@ e_shelf_config_new(E_Zone *zone, E_Config_Shelf *cf_es)
979 979
980 if (cf_es->desk_show_mode) 980 if (cf_es->desk_show_mode)
981 { 981 {
982 if (e_shelf_desk_visible(es, NULL)) e_shelf_show(es); 982 if (e_shelf_desk_visible(es, NULL))
983 e_shelf_show(es);
984 else
985 e_shelf_hide(es);
983 } 986 }
984 else 987 else
985 e_shelf_show(es); 988 e_shelf_show(es);