huchi pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=14a7fb779f47f7afbedae1f79e06e0d777de6e40

commit 14a7fb779f47f7afbedae1f79e06e0d777de6e40
Author: Wonguk Jeong <wonguk.je...@samsung.com>
Date:   Tue Jul 29 05:30:03 2014 +0200

    mute audio to all terms
    
    Audio mute is currently global setting (it will be synced, if user changed 
option).
    Therfore, apply mute to all terms not only to focused term.
---
 src/bin/main.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 28fb230..fd0fcc9 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -1887,12 +1887,11 @@ main_media_mute_update(const Config *config)
    Win *wn;
    Term *term;
    Eina_List *l, *ll;
-   
-  EINA_LIST_FOREACH(wins, l, wn)
+
+   EINA_LIST_FOREACH(wins, l, wn)
      {
         EINA_LIST_FOREACH(wn->terms, ll, term)
           {
-             if (term->config != config) continue;
              if (term->media) media_mute_set(term->media, config->mute);
              termio_media_mute_set(term->term, config->mute);
           }

-- 


Reply via email to