Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/examine

Dir     : e17/apps/examine/src


Modified Files:
        examine_client.c examine_client.h exsh.c 


Log Message:
Revert, no need to do it the hard way
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/examine/src/examine_client.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- examine_client.c    27 Mar 2004 21:33:17 -0000      1.5
+++ examine_client.c    27 Mar 2004 23:20:31 -0000      1.6
@@ -13,8 +13,6 @@
 
 #include "examine_client.h"
 
-char          *client_name;
-
 typedef enum Examine_Callback_Type {
   EX_DATA_SET = 0,
   EX_DATA_GET = 1,
@@ -170,11 +168,7 @@
     return;
   }
 
-  if (!strcmp(client_name, ECORE_CONFIG_GLOBAL_ID))
-    c = find_call("global-prop-list");
-  else
-    c = find_call("prop-list");
-  
+  c = find_call("prop-list");
   examine_client_send(c, NULL, NULL);
 
   expected_type = EX_DATA_LIST;
@@ -432,7 +426,6 @@
 int
 examine_client_init(char *pipe_name, connstate * cs)
 {
-  client_name = strdup(pipe_name);
   return ecore_config_ipc_init(&examine_client_server, pipe_name, cs);
 }
 
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/examine/src/examine_client.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- examine_client.h    27 Mar 2004 21:33:17 -0000      1.5
+++ examine_client.h    27 Mar 2004 23:20:31 -0000      1.6
@@ -61,7 +61,6 @@
 
   {IPC_NONE, "prop", P_HELPONLY},
   {IPC_PROP_LIST, "prop-list", P_SERIAL},
-  {IPC_GLOBAL_PROP_LIST, "global-prop-list", P_SERIAL},
   {IPC_PROP_DESC, "prop-describe", P_SERIAL | P_KEY},
   {IPC_PROP_GET, "prop-get", P_SERIAL | P_KEY},
   {IPC_PROP_SET, "prop-set", P_SERIAL | P_KEY | P_VALUE},
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/examine/src/exsh.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- exsh.c      27 Mar 2004 21:33:17 -0000      1.6
+++ exsh.c      27 Mar 2004 23:20:31 -0000      1.7
@@ -99,8 +99,6 @@
   {IPC_NONE, "prop", P_HELPONLY, "List of property-related commands"},
   {IPC_PROP_LIST, "prop-list", P_SERIAL,
    "prop.list <bundle-id>\nList all properties that are currently registered for 
bundle <bundle-id>."},
-  {IPC_GLOBAL_PROP_LIST, "global-prop-list", P_NONE,
-   "global.prop.list\nList all global properties that are currently registered."},
   {IPC_PROP_DESC, "prop-describe", P_SERIAL | P_KEY,
    "prop.desc <bundle-id> <prop>\nDescribe property <prop> set on bundle 
<bundle-id>."},
   {IPC_PROP_GET, "prop-get", P_SERIAL | P_KEY,
@@ -127,7 +125,6 @@
 
 
 int             debug = 99;
-char           *pipe_name;
 
 
 /*****************************************************************************/
@@ -539,10 +536,6 @@
       ret = ECORE_CONFIG_ERR_NOTFOUND;
     else {
       
-    if (cp->id == IPC_PROP_LIST)
-      if (!strcmp(pipe_name, ECORE_CONFIG_GLOBAL_ID))
-        cp=find_call("global-prop-list");
-      
       if (h)
         puts(cp->help);
       else if (cp->signature & P_HELPONLY) {
@@ -591,7 +584,7 @@
   Ecore_Config_Ipc_Server_List *server;
   int             ret, cc;
   connstate       cs;
-  char           *p, *f, *q;
+  char           *p, *f, *q, *pipe_name;
 
 #ifndef HAVE_LIBREADLINE
   char            buf[MI];




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to