force hide of new shelves when not visible
authorMike Blumenkrantz <zmike@samsung.com>
Tue, 10 Dec 2013 19:57:57 +0000 (14:57 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Tue, 10 Dec 2013 20:36:28 +0000 (15:36 -0500)
src/bin/e_shelf.c

index e5eb583..440df5e 100644 (file)
@@ -979,7 +979,10 @@ e_shelf_config_new(E_Zone *zone, E_Config_Shelf *cf_es)
 
    if (cf_es->desk_show_mode)
      {
-        if (e_shelf_desk_visible(es, NULL)) e_shelf_show(es);
+        if (e_shelf_desk_visible(es, NULL))
+          e_shelf_show(es);
+        else
+          e_shelf_hide(es);
      }
    else
      e_shelf_show(es);