Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mixer

Dir     : e_modules/mixer


Modified Files:
        e_mod_main.c 


Log Message:
Use middle button for launching external apps, not for muting, that's why
there is a mute check on the popup window.

===================================================================
RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -3 -r1.48 -r1.49
--- e_mod_main.c        3 Oct 2006 03:39:15 -0000       1.48
+++ e_mod_main.c        3 Oct 2006 03:48:28 -0000       1.49
@@ -221,19 +221,14 @@
                                 EVAS_BUTTON_NONE, ev->timestamp, NULL);
      }
    else if (ev->button == 2)
-     _mixer_simple_mute_toggle(inst->mixer, ci);
-   else if (ev->button == 1) 
      {
-       if (ev->flags == EVAS_BUTTON_DOUBLE_CLICK) 
-         {
-            if ((ci->use_app) && (ci->app != NULL))
-              ecore_exe_run(ci->app, NULL);
-            else
-              _mixer_window_simple_pop_up(inst);
-         }
-       else if (ev->flags == EVAS_BUTTON_NONE)
-         _mixer_window_simple_pop_up(inst);
+       if ((ci->use_app) && (ci->app != NULL))
+         ecore_exe_run(ci->app, NULL);
+       else
+         _mixer_window_simple_pop_up(inst);    
      }
+   else if (ev->button == 1) 
+     _mixer_window_simple_pop_up(inst);
 }
 
 static void 



-------------------------------------------------------------------------
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