xwem-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XWEM]: Re: Xwem-devel subscription notification


From: Steve Youngs
Subject: [XWEM]: Re: Xwem-devel subscription notification
Date: Sat, 02 Oct 2004 09:12:22 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.5 (chayote, linux)

* Andrey Slusar <address@hidden> writes:

  > Fri, 01 Oct 2004 17:31:32 +0400, Zajcev Evgeny wrote:
  >> Any questions/proposals/patches are very very welcome.

  >   Small fixes for external programs:
  > --8<---------------cut here---------------start------------->8---
  > --- xwem.old/external/xwem-minilaunch.c     Thu Sep 30 09:20:47 2004
  > +++ xwem/external/xwem-minilaunch.c Thu Sep 30 09:21:01 2004
  > @@ -189,7 +189,7 @@
  >   */
  >  void usage(int code)
  >  {
  > -   fprintf(stderr, "usage: monolauch [options..] xpm program \n");
  > +   fprintf(stderr, "usage: minilaunch [options..] xpm program \n");
  >     fprintf(stderr, "where options are;\n");
  >     fprintf(stderr, "\t-d <display>\n");
  >     fprintf(stderr, "\t-n <window name> window name of launched program\n");
  > --- xwem.old/external/tray.h        Sat Sep 25 08:47:13 2004
  > +++ xwem/external/tray.h    Sat Sep 25 08:47:37 2004
  > @@ -3,6 +3,7 @@
 
  >  #include <stdio.h>
  >  #include <stdlib.h>
  > +#include <string.h>
  >  #include <unistd.h>
  >  #include <sys/types.h>
  >  #include <X11/Xlib.h>
  > --8<---------------cut here---------------end--------------->8---

Nothing wrong with the patch, as far as I can see, except that nobody
uses or needs those external C applets.  See...

  `xwem-launch-button-start'

Here's a snippet from my ~/.xwem/xwemrc.el...

;; Launcher dockapp
(defun xwem-my-start-ldocks ()
  "Start my launch docks."
  (xwem-tray-delimeter nil nil "blue")
  (xwem-launch-button-start (expand-file-name "mini-xterm1.xpm" xwem-icons-dir)
                            '(cmd . "xterm -bg black -fg white"))
  (xwem-launch-button-start (expand-file-name "mini-xemacs.xpm" xwem-icons-dir)
                            '(elisp . "(make-frame)"))
  (xwem-launch-button-start (expand-file-name "mini-mozilla1.xpm" 
xwem-icons-dir)
                            '(cmd . "mozilla -splash"))
  (xwem-launch-button-start (expand-file-name "links.xpm" sy-icons-dir)
                            '(cmd . "links -g"))
  (xwem-tray-delimeter nil nil "blue"))

(add-hook 'xwem-after-init-hook 'xwem-my-start-ldocks t)

Also, in case you are not aware, the most up to date sources are
those in the XEmacs packages CVS repo.  The repo at Savannah is a dust
collector. :-)

-- 
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                   Te audire no possum.                   |
|             Musa sapientum fixa est in aure.             |
|----------------------------------<address@hidden>---|

Attachment: pgp1MTh5eKcVm.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]