princeamd pushed a commit to branch enlightenment-0.17.

commit abee7d357dc3079823c071cb66b434c132d004f5
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 11:01:26 2013 +0000

    Backport: 2ce1533 :: Disable Restore on Startup for now until larger randr 
event issues are worked out.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84232
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_int_config_randr.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/src/modules/conf_randr/e_int_config_randr.c 
b/src/modules/conf_randr/e_int_config_randr.c
index 8265a93..dcc0ef3 100644
--- a/src/modules/conf_randr/e_int_config_randr.c
+++ b/src/modules/conf_randr/e_int_config_randr.c
@@ -62,7 +62,13 @@ _create_data(E_Config_Dialog *cfd EINA_UNUSED)
    if (!(cfdata = E_NEW(E_Config_Dialog_Data, 1)))
      return NULL;
 
-   cfdata->restore = e_randr_cfg->restore;
+   /* NB: For now, disable restore on startup until the randr event 
+    * issues are worked out. Reasoning is that we cannot restore 
+    * potentially inaccurate configurations due to config not being updated 
+    * when randr events come in */
+
+   /* cfdata->restore = e_randr_cfg->restore; */
+   cfdata->restore = EINA_FALSE;
 
    return cfdata;
 }
@@ -112,6 +118,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, 
E_Config_Dialog_Data *cfdata)
      }
 
    ow = e_widget_check_add(evas, _("Restore On Startup"), &(cfdata->restore));
+   e_widget_disabled_set(ow, EINA_TRUE);
    e_widget_list_object_append(o, ow, 1, 0, 0.5);
    e_widget_size_min_get(ow, NULL, &ch);
 

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to