Bug#127060: x11-apps: a fix for "xclipboard sizes the 'Save' dialog box incorrectly"
Package: x11-apps
Version: 7.3+2+nmu1
Followup-For: Bug #127060
This is fixable from the resources, as a workaround one can
add this to her/his local .Xresources
==================================================
XClipboard*fileDialog.label.top: ChainTop
XClipboard*fileDialog.label.bottom: ChainTop
XClipboard*fileDialog.label.left: ChainLeft
XClipboard*fileDialog.label.right: ChainLeft
XClipboard*fileDialog.value.top: ChainTop
XClipboard*fileDialog.value.bottom: ChainTop
XClipboard*fileDialog.value.left: ChainLeft
XClipboard*fileDialog.value.right: ChainLeft
XClipboard*fileDialog.accept.top: ChainTop
XClipboard*fileDialog.accept.bottom: ChainBottom
XClipboard*fileDialog.accept.left: ChainLeft
XClipboard*fileDialog.accept.right: ChainLeft
XClipboard*fileDialog.cancel.top: ChainTop
XClipboard*fileDialog.cancel.bottom: ChainBottom
XClipboard*fileDialog.cancel.left: ChainLeft
XClipboard*fileDialog.cancel.right: ChainLeft
===================================================
A patch suitable for the package maintainer is attached.
Please, forward upstream if appropriate.
diff -urN x11-apps-7.3+2.orig/xclipboard/XClipboard.ad x11-apps-7.3+2+nmu1/xclipboard/XClipboard.ad
--- x11-apps-7.3+2.orig/xclipboard/XClipboard.ad 2007-05-16 19:44:53.000000000 +0400
+++ x11-apps-7.3+2+nmu1/xclipboard/XClipboard.ad 2008-07-06 19:50:44.000000000 +0400
@@ -83,12 +83,26 @@
<Message>WM_PROTOCOLS: WMProtocols()\n
*fileDialog.label: Save to file:
+*fileDialog.label.top: ChainTop
+*fileDialog.label.bottom: ChainTop
+*fileDialog.label.left: ChainLeft
+*fileDialog.label.right: ChainLeft
+
*fileDialogShell.allowShellResize: true
*fileDialogShell.title: File Save
*fileDialog*accept.label: Accept
+*fileDialog.accept.top: ChainTop
+*fileDialog.accept.bottom: ChainBottom
+*fileDialog.accept.left: ChainLeft
+*fileDialog.accept.right: ChainLeft
*fileDialog*accept.translations: #override\
<BtnUp>: AcceptSave() unset()
+
+*fileDialog.value.top: ChainTop
+*fileDialog.value.bottom: ChainTop
+*fileDialog.value.left: ChainLeft
+*fileDialog.value.right: ChainLeft
*fileDialog*value.translations: #override\
<Key>Return: AcceptSave() \n\
Ctrl<Key>S: no-op(ring-bell) \n\
@@ -105,6 +119,10 @@
Meta<Key>I: no-op(ring-bell)
*fileDialog*cancel.label: Cancel
+*fileDialog.cancel.top: ChainTop
+*fileDialog.cancel.bottom: ChainBottom
+*fileDialog.cancel.left: ChainLeft
+*fileDialog.cancel.right: ChainLeft
*fileDialog*cancel.translations: #override\
<BtnUp>:CancelSave() unset()
Reply to: