Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/scripts


Modified Files:
        e_gen_menu 


Log Message:
Simplify closing message windows.

===================================================================
RCS file: /cvs/e/e16/e/scripts/e_gen_menu,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -3 -r1.52 -r1.53
--- e_gen_menu  3 Nov 2007 10:31:31 -0000       1.52
+++ e_gen_menu  15 Nov 2007 19:54:32 -0000      1.53
@@ -439,13 +439,7 @@
 
 # Close all windows named "Message" (we assume they are E dialogs)
 sub CloseMessageWindows {
-       open(WL, "eesh -ewait wl |");
-       while (<WL>) {
-               if (/\s*(\w+) : Message\s/) {
-                       system("eesh -e \"wop $1 close\"");
-               }
-       }
-       close(WL);
+       system("eesh -e 'wop Message* close' >/dev/null");
 }
 
 



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to