The menu bar is File, Selected, View, Go, Help now. The Go menu carries the reference's entries: Back (Cmd+[), Forward (Cmd+]), Enclosing Folder (Cmd+Up), Computer, Home, Desktop, Network and Applications (Shift+Cmd+C, H, D, K, A), Go to Folder... (Shift+Cmd+G) and Connect to Server... (Cmd+K). Back, Forward and the places go through the window's own navigation (_McdeNavKey, the same code the keys use), Enclosing Folder and Home are CDE's own callbacks, Go to Folder opens the dialog of GoToFolder.c and Connect to Server the one of Connect.c. The keys keep working through translations_da; the entries show them as accelerator texts only (Dtfile), so that a key is not handled twice. The new labels and mnemonics are in dtfile.msg (162-172). Measured under Xvfb: the menu opens with every entry and its key (docs/screenshots/leopard/finder-go-menu-mcde.png), "Home" takes the window to $HOME (title "File Manager - home", the icons of ~). Open: the File menu still carries its own Go Home, Go Up and Go To... (the move is a second step, so that the menu-state code that names their widgets is changed with it), "Recent Folders" and the icons in the menu are not there (a submenu of the history and Motif's text-only menus), and the menu's keys are the work area's translations, so they do not fire while the focus is in the path field.
179 lines
7.6 KiB
Plaintext
179 lines
7.6 KiB
Plaintext
!######################################################################
|
|
!#
|
|
!# Dtfile
|
|
!#
|
|
!# Common Desktop Environment (CDE)
|
|
!#
|
|
!# Application Defaults for the CDE DT File Manager
|
|
!#
|
|
!# (c) Copyright 1993, 1994 Hewlett-Packard Company
|
|
!# (c) Copyright 1993, 1994 International Business Machines Corp.
|
|
!# (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
|
!# (c) Copyright 1993, 1994 Unix System Labs, Inc., a subsidiary
|
|
!# of Novell, Inc.
|
|
!#
|
|
!######################################################################
|
|
#include "Dt"
|
|
|
|
Dtfile*DtIcon*pixmapForeground: black
|
|
Dtfile*DtIcon*behavior: icon_drag
|
|
Dtfile*DtIcon*highlightThickness: 1
|
|
Dtfile*icon*marginWidth: 0
|
|
Dtfile*icon*marginHeight: 0
|
|
|
|
Dtfile*searchPath: DT/Dtfile
|
|
|
|
Dtfile*promptUser: True
|
|
Dtfile*moveThreshold: 10
|
|
Dtfile*showEmptySet: True
|
|
|
|
Dtfile*filter_files*file_name_text.columns: %|nls-13-#30#|
|
|
Dtfile*rootTitle: %|nls-23-#ROOT#|
|
|
|
|
!######
|
|
!# These resources set the accelerators used in the File Manager
|
|
!# along with the accelerator Text. MCDE: the Command key (Mod4) and the
|
|
!# names Finder uses (docs/reference/shortcuts.txt in the Makronix tree).
|
|
Dtfile*fileMenu.find.acceleratorText: %|nls-1-#Cmd+F#|
|
|
Dtfile*fileMenu.find.accelerator: %|nls-2-#Mod4<Key>f#|
|
|
Dtfile*.close.acceleratorText: %|nls-3-#Cmd+W#|
|
|
Dtfile*.close.accelerator: %|nls-4-#Mod4<Key>w#|
|
|
Dtfile*fileMenu.goHome.acceleratorText: %|nls-5-#Shift+Cmd+H#|
|
|
Dtfile*fileMenu.goHome.accelerator: %|nls-6-#Shift Mod4<Key>h#|
|
|
Dtfile*fileMenu.goUp.acceleratorText: %|nls-7-#Cmd+Up#|
|
|
Dtfile*fileMenu.goUp.accelerator: %|nls-8-#Mod4<Key>Up#|
|
|
Dtfile*fileMenu.openTerminal.acceleratorText: %|nls-9-#Cmd+T#|
|
|
Dtfile*fileMenu.openTerminal.accelerator: %|nls-10-#Mod4<Key>t#|
|
|
Dtfile*viewMenu.showHiddenObjects.acceleratorText: %|nls-11-#Cmd+S#|
|
|
Dtfile*viewMenu.showHiddenObjects.accelerator: %|nls-12-#Mod4<Key>s#|
|
|
Dtfile*actionMenu.copy.acceleratorText: %|nls-15-#Cmd+C#|
|
|
Dtfile*actionMenu.copy.accelerator: %|nls-16-#Mod4<Key>c#|
|
|
Dtfile*fileMenu.getInfo.acceleratorText: Cmd+I
|
|
|
|
! the Go menu shows the keys the work area translates (translations_da),
|
|
! so the entries carry no accelerator of their own
|
|
Dtfile*goMenu.goBack.acceleratorText: Cmd+[
|
|
Dtfile*goMenu.goForward.acceleratorText: Cmd+]
|
|
Dtfile*goMenu.goEnclosing.acceleratorText: Cmd+Up
|
|
Dtfile*goMenu.goComputer.acceleratorText: Shift+Cmd+C
|
|
Dtfile*goMenu.goHomeKey.acceleratorText: Shift+Cmd+H
|
|
Dtfile*goMenu.goDesktop.acceleratorText: Shift+Cmd+D
|
|
Dtfile*goMenu.goNetwork.acceleratorText: Shift+Cmd+K
|
|
Dtfile*goMenu.goApplications.acceleratorText: Shift+Cmd+A
|
|
Dtfile*goMenu.goToFolder.acceleratorText: Shift+Cmd+G
|
|
Dtfile*goMenu.goConnect.acceleratorText: Cmd+K
|
|
Dtfile*fileMenu.getInfo.accelerator: Mod4<Key>i
|
|
Dtfile*selectAll.acceleratorText: %|nls-19-#Ctrl+/#|
|
|
Dtfile*selectAll.accelerator: %|nls-20-#Ctrl<Key>slash#|
|
|
Dtfile*deselectAll.acceleratorText: %|nls-21-#Ctrl+\\#|
|
|
Dtfile*deselectAll.accelerator: %|nls-22-#Ctrl<Key>backslash#|
|
|
Dtfile*fileMenu.newFolder.acceleratorText: %|nls-24-#Shift+Cmd+N#|
|
|
Dtfile*fileMenu.newFolder.accelerator: %|nls-25-#Shift Mod4<Key>n#|
|
|
Dtfile*viewMenu.new.acceleratorText: %|nls-26-#Cmd+N#|
|
|
Dtfile*viewMenu.new.accelerator: %|nls-27-#Mod4<Key>n#|
|
|
Dtfile*fileMenu.changeTo.acceleratorText: %|nls-28-#Shift+Cmd+G#|
|
|
Dtfile*fileMenu.changeTo.accelerator: %|nls-29-#Shift Mod4<Key>g#|
|
|
Dtfile*actionMenu.putInTrash.acceleratorText: %|nls-30-#Cmd+Delete#|
|
|
Dtfile*actionMenu.putInTrash.accelerator: %|nls-31-#Mod4<Key>Delete#|
|
|
Dtfile*viewMenu.setViewOptions.acceleratorText: %|nls-32-#Cmd+J#|
|
|
Dtfile*viewMenu.setViewOptions.accelerator: %|nls-33-#Mod4<Key>j#|
|
|
|
|
!######
|
|
!# Here are some additional accelerators we decided not to set by
|
|
!# default, but a user could if they so choose
|
|
!#
|
|
!# In the File pulldown:
|
|
!# New File...
|
|
!# Dtfile*fileMenu.newFile.acceleratorText:
|
|
!# Dtfile*fileMenu.newFile.accelerator:
|
|
!# Show Trash...
|
|
Dtfile*fileMenu.emptyTrash.acceleratorText: Cmd+Shift+Delete
|
|
!# Dtfile*fileMenu.openTrash.acceleratorText:
|
|
!# Dtfile*fileMenu.openTrash.accelerator:
|
|
!#
|
|
!# In the Selected pulldown:
|
|
!# Rename
|
|
!# Dtfile*actionMenu.rename.acceleratorText:
|
|
!# Dtfile*actionMenu.rename.accelerator:
|
|
!# Put On Desktop
|
|
!# Dtfile*actionMenu.putInWorkspace.acceleratorText:
|
|
!# Dtfile*actionMenu.putInWorkspace.accelerator:
|
|
!#
|
|
!# In the View pulldown:
|
|
!# Clean Up
|
|
!# Dtfile*viewMenu.cleanUp.acceleratorText:
|
|
!# Dtfile*viewMenu.cleanUp.accelerator:
|
|
!# Modify Filter List...
|
|
!# Dtfile*viewMenu.setFilterOptions.acceleratorText:
|
|
!# Dtfile*viewMenu.setFilterOptions.accelerator:
|
|
!# Save Settings...
|
|
!# Dtfile*viewMenu.saveViewOptions.acceleratorText:
|
|
!# Dtfile*viewMenu.saveViewOptions.accelerator:
|
|
!# Reread
|
|
!# Dtfile*viewMenu.refresh.acceleratorText:
|
|
!# Dtfile*viewMenu.refresh.accelerator:
|
|
!#
|
|
!# In the Help pulldown:
|
|
!# Introduction...
|
|
!# Dtfile*helpMenu.introduction.acceleratorText:
|
|
!# Dtfile*helpMenu.introduction.accelerator:
|
|
!# Tasks...
|
|
!# Dtfile*helpMenu.tasks.acceleratorText:
|
|
!# Dtfile*helpMenu.tasks.accelerator:
|
|
!# Reference...
|
|
!# Dtfile*helpMenu.reference.acceleratorText:
|
|
!# Dtfile*helpMenu.reference.accelerator:
|
|
!# On Item
|
|
!# Dtfile*helpMenu.onItem.acceleratorText:
|
|
!# Dtfile*helpMenu.onItem.accelerator:
|
|
!# Using Help...
|
|
!# Dtfile*helpMenu.usingHelp.acceleratorText:
|
|
!# Dtfile*helpMenu.usingHelp.accelerator:
|
|
!# Version...
|
|
!# Dtfile*helpMenu.version.acceleratorText:
|
|
!# Dtfile*helpMenu.version.accelerator:
|
|
!#
|
|
!# For the trash pulldowns
|
|
!# In the File pulldown:
|
|
!# Select All
|
|
!# Dtfile*fileMenuTrash.selectAll.acceleratorText:
|
|
!# Dtfile*fileMenuTrash.selectAll.accelerator:
|
|
!# Unselect All
|
|
!# Dtfile*fileMenuTrash.deselectAll.acceleratorText:
|
|
!# Dtfile*fileMenuTrash.deselectAll.accelerator:
|
|
!# Restore
|
|
!# Dtfile*fileMenuTrash.putBack.acceleratorText:
|
|
!# Dtfile*fileMenuTrash.putBack.accelerator:
|
|
!# Remove
|
|
!# Dtfile*fileMenuTrash.shred.acceleratorText:
|
|
!# Dtfile*fileMenuTrash.shred.accelerator:
|
|
!# In the Help pulldown:
|
|
!# Introduction...
|
|
!# Dtfile*helpMenuTrash.introduction.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.introduction.accelerator:
|
|
!# Tasks...
|
|
!# Dtfile*helpMenuTrash.tasks.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.tasks.accelerator:
|
|
!# Reference...
|
|
!# Dtfile*helpMenuTrash.reference.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.reference.accelerator:
|
|
!# On Item
|
|
!# Dtfile*helpMenuTrash.onItem.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.onItem.accelerator:
|
|
!# Using Help...
|
|
!# Dtfile*helpMenuTrash.usingHelp.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.usingHelp.accelerator:
|
|
!# Version...
|
|
!# Dtfile*helpMenuTrash.version.acceleratorText:
|
|
!# Dtfile*helpMenuTrash.version.accelerator:
|
|
!# The display area size for the icon images in File Manager
|
|
!# Icon images larger than this size will be clipped to this size
|
|
!# Dtfile*smallIconWidth: 24
|
|
!# Dtfile*smallIconHeight: 24
|
|
!# Dtfile*largeIconWidth: 38
|
|
!# Dtfile*largeIconHeight: 38
|
|
!# To empty trash upon exiting the desktop. Set this resource to True
|
|
!# Dtfile*emptyTrashOnExit: False
|
|
|
|
%|nls-14-#optional_localization#|
|