mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Tracker: Commands.h (and tracker_private.h) updates
* Add kDeleteSelection command alias in Commands.h, keep kDelete. * Add kMoveSelectionToTrash and use it in place of kMoveToTrash. - kMoveToTrash in kept in tracker_private.h for use outside. * Create a new constant kRestoreSelectionFromTrash for Tracker. - Move kRestoreFromTrash to tracker_private.h Change-Id: I3cdefe97e8359fb53bacfc3319b046b051c6f7db Reviewed-on: https://review.haiku-os.org/c/haiku/+/8225 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
This commit is contained in:
parent
8f97570f6a
commit
406f30c616
@ -67,6 +67,8 @@ const uint32 kFSClipboardChanges = 'TCch';
|
||||
|
||||
const uint32 kMoveToTrash = 'Ttrs';
|
||||
// Used by ShowImage to delete images
|
||||
const uint32 kRestoreFromTrash = 'Tres';
|
||||
// In case ShowImage ever wants to undo
|
||||
|
||||
const uint32 kSelect = 'Tsel';
|
||||
// Used by Open Target Folder tracker add-on to select files
|
||||
|
@ -48,7 +48,8 @@ namespace BPrivate {
|
||||
|
||||
const uint32 kGetInfo = 'Tinf';
|
||||
const uint32 kDelete = 'Tdel';
|
||||
const uint32 kRestoreFromTrash = 'Tres';
|
||||
const uint32 kDeleteSelection = kDelete;
|
||||
const uint32 kRestoreSelectionFromTrash = kRestoreFromTrash;
|
||||
const uint32 kIdentifyEntry = 'Tidt';
|
||||
const uint32 kOpenSelection = 'Tosl';
|
||||
const uint32 kOpenSelectionWith = 'Tosu';
|
||||
@ -77,6 +78,7 @@ const uint32 kMoveSelectionTo = 'Tmsl';
|
||||
const uint32 kCreateLink = 'Tlnk';
|
||||
const uint32 kCreateRelativeLink = 'Trln';
|
||||
const uint32 kDuplicateSelection = 'Tdsl';
|
||||
const uint32 kMoveSelectionToTrash = kMoveToTrash;
|
||||
const uint32 kLoadAddOn = 'Tlda';
|
||||
const uint32 kEmptyTrash = 'Tetr';
|
||||
const uint32 kAddPrinter = 'Tadp';
|
||||
|
Loading…
Reference in New Issue
Block a user