Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        fx.c groups.c 


Log Message:
Remove some long time disabled stuff.

===================================================================
RCS file: /cvs/e/e16/e/src/fx.c,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- fx.c        8 Aug 2006 03:58:42 -0000       1.74
+++ fx.c        9 Dec 2006 20:02:20 -0000       1.75
@@ -32,9 +32,6 @@
 
 /* FIXME - Needs cleaning up */
 
-/* Someone may do this right one day, but for now - kill'em */
-#define ENABLE_FX_INFO 0
-
 #ifndef M_PI_2
 #define M_PI_2 (3.141592654 / 2)
 #endif
@@ -63,26 +60,6 @@
 static int          fx_ripple_count = 0;
 
 static void
-FX_ripple_info(void)
-{
-#if ENABLE_FX_INFO
-   static char         before = 0;
-
-   if (!before)
-      DialogOK(_("Starting up Ripples FX..."),
-              _("\n" "You have just started the Ripples Effect.\n" "\n"
-                "If you look closely on your desktop background, and if it\n"
-                "doesn't have a solid colour (i.e. has a background texture 
or\n"
-                "image), you will see a pool of water at the bottom of your\n"
-                "screen that reflects everything above it and \"ripples\".\n"
-                "\n"
-                "To disable this effect just select this option again to 
toggle\n"
-                "it off.\n"));
-   before = 1;
-#endif
-}
-
-static void
 FX_ripple_timeout(int val __UNUSED__, void *data __UNUSED__)
 {
    static double       incv = 0, inch = 0;
@@ -104,8 +81,6 @@
        gcv.subwindow_mode = IncludeInferiors;
        gc = EXCreateGC(WinGetXwin(fx_ripple_win), GCSubwindowMode, &gcv);
        gc1 = EXCreateGC(WinGetXwin(fx_ripple_win), 0L, &gcv);
-
-       FX_ripple_info();
      }
 
    if (fx_ripple_count == 0)
@@ -208,27 +183,6 @@
 static DropContext  fx_raindrops[4];
 
 static void
-FX_raindrops_info(void)
-{
-#if ENABLE_FX_INFO
-   static char         before = 0;
-
-   if (!before)
-      DialogOK(_("Starting up Raindrops FX..."),
-              _("\n" "You have just started the Raindrops Effect.\n"
-                "\n"
-                "If you look closely on your desktop background, and if it\n"
-                "doesn't have a solid colour (i.e. has a background texture 
or\n"
-                "image), you will see \"raindrops\" hit the background and\n"
-                "make little splashes. This Effect can be VERY CPU 
intensive.\n"
-                "\n"
-                "To disable this effect just select this option again to 
toggle\n"
-                "it off.\n"));
-   before = 1;
-#endif
-}
-
-static void
 FX_raindrops_timeout(int val __UNUSED__, void *data __UNUSED__)
 {
    static GC           gc1 = 0, gc = 0;
@@ -242,8 +196,6 @@
      {
        XGCValues           gcv;
 
-       FX_raindrops_info();
-
        if (first)
          {
             int                 j;
@@ -502,26 +454,6 @@
 static int          fx_wave_count = 0;
 
 static void
-FX_Wave_info(void)
-{
-#if ENABLE_FX_INFO
-   static char         before = 0;
-
-   if (!before)
-      DialogOK(_("Starting up Waves FX..."),
-              _("\n" "You have just started the Waves Effect.\n" "\n"
-                "If you look closely on your desktop background, and if it\n"
-                "doesn't have a solid colour (i.e. has a background texture 
or\n"
-                "image), you will see a pool of water at the bottom of your\n"
-                "screen that reflects everything above it and \"waves\".\n"
-                "\n"
-                "To disable this effect just select this option again to 
toggle\n"
-                "it off.\n"));
-   before = 1;
-#endif
-}
-
-static void
 FX_Wave_timeout(int val __UNUSED__, void *data __UNUSED__)
 {
    /* Variables */
@@ -547,8 +479,6 @@
        gcv.subwindow_mode = IncludeInferiors;
        gc = EXCreateGC(WinGetXwin(fx_wave_win), GCSubwindowMode, &gcv);
        gc1 = EXCreateGC(WinGetXwin(fx_wave_win), 0L, &gcv);
-
-       FX_Wave_info();
      }
 
    /* On the zero, grab the desktop again. */
@@ -680,22 +610,6 @@
 static char        *fx_imagespinner_params = NULL;
 
 static void
-FX_imagespinner_info(void)
-{
-#if ENABLE_FX_INFO
-   static char         before = 0;
-
-   if (!before)
-      DialogOK(_("Starting up imagespinners FX..."),
-              _("\n" "You have just started the imagespinners Effect.\n"
-                "\n"
-                "To disable this effect just select this option again to 
toggle\n"
-                "it off.\n"));
-   before = 1;
-#endif
-}
-
-static void
 FX_imagespinner_timeout(int val __UNUSED__, void *data __UNUSED__)
 {
    char               *string = NULL;
@@ -703,7 +617,6 @@
    if (fx_imagespinner_win == None)
      {
        fx_imagespinner_win = DeskGetBackgroundWin(DesksGetCurrent());
-       FX_imagespinner_info();
      }
 
 #if 0                          /* Don't use getword */
===================================================================
RCS file: /cvs/e/e16/e/src/groups.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- groups.c    26 Nov 2006 12:42:05 -0000      1.87
+++ groups.c    9 Dec 2006 20:02:21 -0000       1.88
@@ -37,8 +37,6 @@
 #define SET_ON     1
 #define SET_TOGGLE 2
 
-#define DISABLE_PAGER_ICONBOX_GROUPING 0
-
 static Ecore_List  *group_list = NULL;
 
 static struct
@@ -239,17 +237,6 @@
 
    if (ewin && g)
      {
-#if DISABLE_PAGER_ICONBOX_GROUPING
-       /* disable iconboxes and pagers to go into groups */
-       if ((ewin->ibox) || (ewin->pager))
-         {
-            DialogOK(_("Cannot comply"),
-                     _("Iconboxes and Pagers are disallowed from being\n"
-                       "members of a group. You cannot add these windows\n"
-                       "to a group.\n"));
-            return;
-         }
-#endif
        for (i = 0; i < ewin->num_groups; i++)
           if (ewin->groups[i] == g)
              return;



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