On November 27, you write:
To reproduce:
<- snip! ->
8. I searched the list's archive and with Google for this error
message, and didn't find anything. So how do other folks use
21.5.3 with GTK (or don't they)? I don't see how 21.5.3 is usable
even for testing if I can't get as far as loading the packages.
Tim
timw at edml dot co dot nz
Signaling: (error "Button descriptor is too small: [\"Yes\"
dialog-box-finish t)]")
This is a bug in dialog.el. I don't think it's GTK specific, although GTK
seems pickier about this than most. Procedure make-dialog-box is passed an
array of buttons which, contrarily to what the documentation says, have
two elements instead of three. The following patch fixes it for me.
Regards,
Patrice
---
--- dialog.el~ Sun Jul 15 01:18:59 2001
+++ dialog.el Tue Sep 11 11:15:22 2001
@@ -46,10 +46,10 @@
(make-dialog-box 'question
:question prompt
:modal t
- :buttons '(["Yes" (dialog-box-finish t)]
- ["No" (dialog-box-finish nil)]
+ :buttons '(["Yes" (dialog-box-finish t) t]
+ ["No" (dialog-box-finish nil) t]
nil
- ["Cancel" (dialog-box-cancel)]))))
+ ["Cancel" (dialog-box-cancel) t]))))
;; FSF has a similar function `x-popup-dialog'.
(defun get-dialog-box-response (position contents)
--
**------------------------------------------------------------------------
** Patrice Belleville (patrice(a)cs.ubc.ca) (604) 822-9870
** Instructor and Departmental advisor, Department of Computer Science
**------------------------------------------------------------------------