[mcclim-devel] [PATCH] Bogus printer function for menu-choose in call-presentation-menu.

Samium Gromoff _deepfire at feelingofgreen.ru
Thu Jun 5 22:38:28 UTC 2008


Hello list,

the supplied patch heals a right-click-on-presentation context-menu blowup
in gtkairo:

diff --git a/presentations.lisp b/presentations.lisp
--- a/presentations.lisp
+++ b/presentations.lisp
@@ -1950,7 +1950,7 @@ a presentation"
                        :label label
                        :associated-window window
                        :printer #'(lambda (item stream)
-                                    (let ((object (first item)))
+                                    (let ((object item))
                                      (document-presentation-translator
                                       (presentation-translator-menu-item-translator object)
                                       (presentation-translator-menu-item-presentation object)


Tested with the CLX backend as well, seems to work.

                                       
regards, Samium Gromoff                                       



More information about the mcclim-devel mailing list