Steve Youngs <steve@xxxxxxxx> writes:
> Hey man!
>
> I just noticed a problem with eicq-xwem.el that I hope you can help me
> with.
>
> The problem shows up when you run Eicq in a tty (gnuclient -nw in an
> xterm in XWEM, for example).
>
> (defun eicq-xwem-activity-off ()
> "Make the Eicq/XWEM activity indicator inactive."
> (when (xwem-osd-p eicq-xwem-osd)
> (xwem-osd-icon-data-add eicq-xwem-osd eicq-xwem-inactive)))
>
> This gives a "numberp: nil" error
>
> (defun eicq-xwem-activity-on ()
> "Make the Eicq/XWEM activity indicator active."
> (when (xwem-osd-p eicq-xwem-osd)
> (xwem-osd-icon-data-add eicq-xwem-osd eicq-xwem-active)))
>
> This gives a "color-instance-p: nil" error
>
> What stupidity have I done here?
This is not your stupidity. Looks like problem in xlib to fix it do -
in file xlib-2.2/lisp/xlib-xpm.el change:
(make-color-instance (if (string= "none" (downcase (cadr pco)))
"white"
(cadr pco)))))
to
(make-color-instance (if (string= "none" (downcase (cadr pco)))
"white"
(cadr pco)) (default-x-device)))))
If this will fix the problem and then you will provide merge request
with patch it will be extremely appreciated :)
Thanks!
--
lg
|