kwo pushed a commit to branch master.

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

commit cf552ef7f9fdfa7c9437debdadf6feff861cdbf1
Author: Kim Woelders <k...@woelders.dk>
Date:   Fri May 1 06:39:59 2020 +0200

    Enable sounds in combined configuration dialog
---
 src/dialog.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/dialog.c b/src/dialog.c
index f3de26c9..9c6527c5 100644
--- a/src/dialog.c
+++ b/src/dialog.c
@@ -505,6 +505,8 @@ DialogFill(Dialog * d, DItem * parent, const DialogDef * 
dd, void *data)
       DialogAddFooter(d, parent, dd->flags, dd->func_apply);
 
    DialogSetExitFunction(d, dd->func_exit);
+
+   SoundPlay(dd->sound);
 }
 
 void
@@ -520,7 +522,6 @@ DialogShowSimpleWithName(const DialogDef * dd, const char 
*name, void *data)
        DialogShow(d);
        return;
      }
-   SoundPlay(dd->sound);
 
    d = DialogCreate(name);
    if (!d)

-- 


Reply via email to