summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Maslovski <stanislav.maslovski@gmail.com>2011-04-03 20:10:54 +1000
committerDan Nicholson <dbn.lists@gmail.com>2011-04-10 08:38:59 -0700
commit35e2f74fbcf172813b7016e58585bb30b39a3de6 (patch)
tree17d9a827a9242f715888a257fc5b05b68724bbc4
parent81129a226ae24600642249847cdcc980ec5f9d18 (diff)
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 <leslie_alistair@hotmail.com> Acked-by: Dan Nicholson <dbn.lists@gmail.com>
-rw-r--r--app-defaults/XClipboard17
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()