From 39a986aace0f0f2d0b4bacfa80fc5a951254aa68 Mon Sep 17 00:00:00 2001 From: Olaf Conradi Date: Fri, 29 Nov 2013 18:15:25 -0500 Subject: [PATCH] When changing the gravity setting, one cannot reset it to 0, as the setting is not properly shown when reopening the dialog. It's always shown as 0 and therefore not saveable. --- src/modules/physics/e_mod_config.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/physics/e_mod_config.c b/src/modules/physics/e_mod_config.c index c2dbc44ae..ace03a953 100644 --- a/src/modules/physics/e_mod_config.c +++ b/src/modules/physics/e_mod_config.c @@ -6,7 +6,7 @@ struct _E_Config_Dialog_Data { double delay; /* delay before applying physics */ double max_mass; /* maximum mass for a window */ - double gravity; /* maximum mass for a window */ + double gravity; /* gravity for a window */ Eina_Bool ignore_fullscreen; Eina_Bool ignore_maximized; Eina_Bool ignore_shelves; @@ -58,6 +58,7 @@ _create_data(E_Config_Dialog *cfd __UNUSED__) cfdata->delay = _physics_mod->conf->delay; cfdata->max_mass = _physics_mod->conf->max_mass; + cfdata->gravity = _physics_mod->conf->gravity; return cfdata; }