kwo pushed a commit to branch master.

http://git.enlightenment.org/e16/e16.git/commit/?id=d3f92db6373873652c6ca01c94f79b8515f4127a

commit d3f92db6373873652c6ca01c94f79b8515f4127a
Author: Kim Woelders <[email protected]>
Date:   Fri Mar 22 19:32:05 2019 +0100

    Remove saveunders option from Miscellaneous Settings dialog
    
    No longer generally useful.
    
    The option is still available via the misc.save_under configuration
    parameter.
---
 src/settings.c | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/settings.c b/src/settings.c
index 73e3b493..cfd8fddc 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -1,6 +1,6 @@
 /*
  * Copyright (C) 2000-2007 Carsten Haitzler, Geoff Harrison and various 
contributors
- * Copyright (C) 2004-2018 Kim Woelders
+ * Copyright (C) 2004-2019 Kim Woelders
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to
@@ -475,7 +475,6 @@ typedef struct {
    char                dialog_headers;
    char                button_image;
    char                animate_startup;
-   char                saveunders;
    int                 magwin_zoom_res;
 } MiscDlgData;
 
@@ -487,7 +486,6 @@ _DlgApplyMisc(Dialog * d, int val __UNUSED__, void *data 
__UNUSED__)
    Conf.dialogs.headers = dd->dialog_headers;
    Conf.dialogs.button_image = dd->button_image;
    Conf.startup.animate = dd->animate_startup;
-   Conf.save_under = dd->saveunders;
    Conf.magwin.zoom_res = dd->magwin_zoom_res;
 
    autosave();
@@ -502,7 +500,6 @@ _DlgFillMisc(Dialog * d, DItem * table, void *data 
__UNUSED__)
    dd->dialog_headers = Conf.dialogs.headers;
    dd->button_image = Conf.dialogs.button_image;
    dd->animate_startup = Conf.startup.animate;
-   dd->saveunders = Conf.save_under;
    dd->magwin_zoom_res = Conf.magwin.zoom_res;
 
    DialogItemTableSetOptions(table, 2, 0, 0, 0);
@@ -530,11 +527,6 @@ _DlgFillMisc(Dialog * d, DItem * table, void *data 
__UNUSED__)
    di = DialogAddItem(table, DITEM_SEPARATOR);
    DialogItemSetColSpan(di, 2);
 
-   di = DialogAddItem(table, DITEM_CHECKBUTTON);
-   DialogItemSetColSpan(di, 2);
-   DialogItemSetText(di, _("Use saveunders to reduce window exposures"));
-   DialogItemCheckButtonSetPtr(di, &dd->saveunders);
-
    di = DialogAddItem(table, DITEM_SEPARATOR);
    DialogItemSetColSpan(di, 2);
 

-- 


Reply via email to