Enlightenment CVS committal

Author  : raster
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/lib


Modified Files:
        e_main.c 


Log Message:


dirs handlers shoudl just become 1 dirs handler then specify what path dir
list you want to modify in params - as they are all identical except as to
what path variablew they modify - just make that a state setup phase

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/lib/e_main.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- e_main.c    22 May 2005 17:35:16 -0000      1.10
+++ e_main.c    31 May 2005 07:02:09 -0000      1.11
@@ -33,10 +33,10 @@
 static Ecore_Ipc_Server *_e_ipc_server  = NULL;
 
 int E_RESPONSE_MODULE_LIST = 0;
-int E_RESPONSE_MODULE_DIRS_LIST = 0;
+//int E_RESPONSE_MODULE_DIRS_LIST = 0;
 int E_RESPONSE_BACKGROUND_GET = 0;
-int E_RESPONSE_BACKGROUND_DIRS_LIST = 0;
-int E_RESPONSE_THEME_DIRS_LIST = 0;
+//int E_RESPONSE_BACKGROUND_DIRS_LIST = 0;
+//int E_RESPONSE_THEME_DIRS_LIST = 0;
 
 /*
  * initialise connection to the current E running on "display".
@@ -109,10 +109,10 @@
    if (!E_RESPONSE_MODULE_LIST)
      {
        E_RESPONSE_MODULE_LIST = ecore_event_type_new();
-       E_RESPONSE_MODULE_DIRS_LIST = ecore_event_type_new();
+//     E_RESPONSE_MODULE_DIRS_LIST = ecore_event_type_new();
        E_RESPONSE_BACKGROUND_GET = ecore_event_type_new();
-       E_RESPONSE_BACKGROUND_DIRS_LIST = ecore_event_type_new();
-       E_RESPONSE_THEME_DIRS_LIST = ecore_event_type_new();
+//     E_RESPONSE_BACKGROUND_DIRS_LIST = ecore_event_type_new();
+//     E_RESPONSE_THEME_DIRS_LIST = ecore_event_type_new();
      }
    
    if (free_disp)
@@ -197,9 +197,9 @@
 void
 e_module_dirs_list(void)
 {
-   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
-                        E_IPC_OP_MODULE_DIRS_LIST, 0/*ref*/, 0/*ref_to*/,
-                        0/*response*/, NULL, 0);
+//   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
+//                      E_IPC_OP_MODULE_DIRS_LIST, 0/*ref*/, 0/*ref_to*/,
+//                      0/*response*/, NULL, 0);
 }
 
 void
@@ -224,17 +224,17 @@
 void
 e_background_dirs_list(void)
 {
-   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
-                        E_IPC_OP_BG_DIRS_LIST, 0/*ref*/, 
-                        0/*ref_to*/, 0/*response*/, NULL, 0);
+//   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
+//                      E_IPC_OP_BG_DIRS_LIST, 0/*ref*/, 
+//                      0/*ref_to*/, 0/*response*/, NULL, 0);
 }
 
 void
 e_theme_dirs_list(void)
 {
-   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
-                        E_IPC_OP_THEME_DIRS_LIST, 0/*ref*/, 
-                        0/*ref_to*/, 0/*response*/, NULL, 0);
+//   ecore_ipc_server_send(_e_ipc_server, E_IPC_DOMAIN_REQUEST,
+//                      E_IPC_OP_THEME_DIRS_LIST, 0/*ref*/, 
+//                      0/*ref_to*/, 0/*response*/, NULL, 0);
 }
 
 static int
@@ -320,6 +320,7 @@
                                _e_cb_module_list_free, NULL);
                           }
           break;
+/*     
        case E_IPC_OP_MODULE_DIRS_LIST_REPLY:
          if (e->data)
            {
@@ -351,16 +352,17 @@
                                _e_cb_module_dir_list_free, NULL);
            }
           break;
-       case E_IPC_OP_BG_GET_REPLY:
-           {
-              E_Response_Background_Get *res;
-
-              res = calloc(1, sizeof(E_Response_Background_Get));
-              res->file = e->data;
-              ecore_event_add(E_RESPONSE_BACKGROUND_GET, res, NULL, NULL);
-              break;
-           }
-       case E_IPC_OP_BG_DIRS_LIST_REPLY:
+ */
+      case E_IPC_OP_BG_GET_REPLY:
+         {
+            E_Response_Background_Get *res;
+            
+            res = calloc(1, sizeof(E_Response_Background_Get));
+            res->file = e->data;
+            ecore_event_add(E_RESPONSE_BACKGROUND_GET, res, NULL, NULL);
+         }
+       break;
+/*     case E_IPC_OP_BG_DIRS_LIST_REPLY:
          if (e->data)
            {
               E_Response_Background_Dirs_List *res;
@@ -391,7 +393,8 @@
                                _e_cb_bg_dir_list_free, NULL);
            }
           break;
-       case E_IPC_OP_THEME_DIRS_LIST_REPLY:
+ */
+/*     case E_IPC_OP_THEME_DIRS_LIST_REPLY:
          if (e->data)
            {
               E_Response_Theme_Dirs_List *res;
@@ -422,6 +425,7 @@
                                _e_cb_theme_dir_list_free, NULL);
            }
           break;
+ */
        default:
           break;
      }




-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to