Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=17364

Signed-off-by: Alistair Leslie-Hughes <[email protected]>
>From 9244b8d3a3a81d4e2d4bd6f869b9bb3b1150b29b Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <[email protected]>
Date: Sun, 3 Apr 2011 20:10:54 +1000
Subject: [PATCH] xclipboard: Change resource to better position Accept/Cancel. 
#17364

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=17364

Signed-off-by: Alistair Leslie-Hughes <[email protected]>
---
 app-defaults/XClipboard |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/app-defaults/XClipboard b/app-defaults/XClipboard
index 91baacd..67b5f08 100644
--- a/app-defaults/XClipboard
+++ b/app-defaults/XClipboard
@@ -82,12 +82,21 @@ XClipboard.baseTranslations: #augment\n\
                        <Message>WM_PROTOCOLS: WMProtocols()\n
 
 *fileDialog.label:                     Save to file:
+*fileDialog.label.top:                 ChainTop
+*fileDialog.label.bottom:              ChainTop
 *fileDialogShell.allowShellResize:     true
 *fileDialogShell.title:                        File Save
 
 *fileDialog*accept.label:              Accept
+*fileDialog.accept.top:                        ChainTop
+*fileDialog.accept.bottom:             ChainBottom
 *fileDialog*accept.translations:       #override\
                        <BtnUp>: AcceptSave() unset()
+
+*fileDialog.value.top:                 ChainTop
+*fileDialog.value.bottom:              ChainTop
+*fileDialog.value.left:                        ChainLeft
+*fileDialog.value.right:               ChainRight
 *fileDialog*value.translations:        #override\
                        <Key>Return: AcceptSave() \n\
                        Ctrl<Key>S: no-op(ring-bell) \n\
@@ -104,6 +113,8 @@ 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.translations:       #override\
                        <BtnUp>:CancelSave() unset()
 
-- 
1.7.1

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to