[PATCH] xclipboard: Change resource to better position Accept/Cancel. #17364
Stanislav Maslovski
stanislav.maslovski at gmail.com
Sun Apr 3 03:10:54 PDT 2011
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=17364
The Accept and Cancel buttons on the Save dialog where just
visible at the bottom of the dialog. Even if you resized
the dialog, the buttons where never fully visible.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
app-defaults/XClipboard | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/app-defaults/XClipboard b/app-defaults/XClipboard
index 91baacd..d072de5 100644
--- a/app-defaults/XClipboard
+++ b/app-defaults/XClipboard
@@ -82,12 +82,25 @@ XClipboard.baseTranslations: #augment\n\
<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\
@@ -104,6 +117,10 @@ XClipboard.baseTranslations: #augment\n\
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()
--
1.7.1
--------------070106060609020607030701--
More information about the xorg-devel
mailing list