>From e2b019015bda82be41e40219a97cf795f2a30a15 Mon Sep 17 00:00:00 2001 From: Stanislav Maslovski 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 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 --- 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\ 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\ : AcceptSave() unset() + +*fileDialog.value.top: ChainTop +*fileDialog.value.bottom: ChainTop +*fileDialog.value.left: ChainLeft +*fileDialog.value.right: ChainLeft *fileDialog*value.translations: #override\ Return: AcceptSave() \n\ CtrlS: no-op(ring-bell) \n\ @@ -104,6 +117,10 @@ XClipboard.baseTranslations: #augment\n\ MetaI: 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\ :CancelSave() unset() -- 1.7.1