Enlightenment CVS committal Author : kwo Project : e16 Module : e
Dir : e16/e/src Modified Files: ipc.c Log Message: Oops - Fix "remember" for epplets. =================================================================== RCS file: /cvsroot/enlightenment/e16/e/src/ipc.c,v retrieving revision 1.192 retrieving revision 1.193 diff -u -3 -r1.192 -r1.193 --- ipc.c 12 Jan 2005 23:10:04 -0000 1.192 +++ ipc.c 13 Jan 2005 19:10:52 -0000 1.193 @@ -896,6 +896,33 @@ } static void +IPC_Remember(const char *params, Client * c __UNUSED__) +{ + int window; + EWin *ewin; + + if (!params) + { + IpcPrintf("Error: no parameters\n"); + goto done; + } + + window = 0; + sscanf(params, "%x", &window); + ewin = FindItem(NULL, window, LIST_FINDBY_ID, LIST_TYPE_EWIN); + if (!ewin) + { + IpcPrintf("Error: Window not found: %#x\n", window); + goto done; + } + + SnapshotEwinSet(ewin, atword(params, 2)); + + done: + return; +} + +static void IPC_ForceSave(const char *params __UNUSED__, Client * c __UNUSED__) { autosave(); @@ -1627,6 +1654,13 @@ "usage:\n" " reparent <windowid> <new parent>\n"}, { IPC_Slideout, "slideout", NULL, "Show slideout", NULL}, + { + IPC_Remember, + "remember", NULL, + "Remembers parameters for client windows (obsolete)", + " remember <windowid> <parameter>...\n" + "For compatibility with epplets only. In stead use\n" + " wop <windowid> snap <parameter>...\n"}, }; static int ipc_item_count = 0; ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs