Fix shelf autohide config
authorIván Briano <ivan.briano@intel.com>
Thu, 3 Oct 2013 02:19:59 +0000 (23:19 -0300)
committerIván Briano <ivan.briano@intel.com>
Thu, 3 Oct 2013 02:19:59 +0000 (23:19 -0300)
src/bin/e_int_shelf_config.c

index 2f306514d42b2e6b5970469ede4cc9c0995acc76..44bfbd08d659e3a95764437baeec92e3ffc6218e 100644 (file)
@@ -135,8 +135,8 @@ _basic_check_changed(E_Config_Dialog *cfd __UNUSED__, E_Config_Dialog_Data *cfda
    CHECK(autohide_show_action);
    CHECK(desk_show_mode);
    CHECK(desk_list);
-   if (fabs(cfdata->hide_timeout - cfdata->escfg->hide_timeout > 0.19)) return 1;
-   if (fabs(cfdata->hide_timeout - cfdata->escfg->hide_timeout > 0.04)) return 1;
+   if (fabs(cfdata->hide_timeout - cfdata->escfg->hide_timeout) > 0.19) return 1;
+   if (fabs(cfdata->hide_duration - cfdata->escfg->hide_duration) > 0.04) return 1;
    return 0;
 }