Enlightenment CVS committal

Author  : rephorm
Project : e_modules
Module  : mixer

Dir     : e_modules/mixer


Modified Files:
        e_mod_keybindings.c 


Log Message:
don't call e_config_save() directly in a function that is called from a 
modules' save routine. (It in turn saves all of the modules, causing a loop).

===================================================================
RCS file: /cvs/e/e_modules/mixer/e_mod_keybindings.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_keybindings.c 14 Nov 2006 00:38:09 -0000      1.2
+++ e_mod_keybindings.c 25 Mar 2007 14:54:19 -0000      1.3
@@ -69,7 +69,7 @@
    e_action_predef_name_del(MIXER_ACTION_GROUP, MIXER_ACTION_DECREASE_VOL);
    e_action_predef_name_del(MIXER_ACTION_GROUP, MIXER_ACTION_INCREASE_VOL);
    e_action_predef_name_del(MIXER_ACTION_GROUP, MIXER_ACTION_MUTE);
-   e_config_save();
+   e_config_save_queue();
 
    return 1;
 }
@@ -116,7 +116,7 @@
    _mixer_unregister_module_keybinding(&(mixer_config->mute_key),      1);
 
    e_managers_keys_grab();
-   e_config_save();
+   e_config_save_queue();
 
    return 1;
 }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to