Opened 3 years ago
Closed 3 years ago
#1486583 closed Bugs (fixed)
Disable plugin commands when folder is emptied
| Reported by: | JohnDoh | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.4-beta |
| Component: | User Interface | Version: | git-master |
| Severity: | normal | Keywords: | |
| Cc: |
Description
If a plugin adds a button to the mail toolbar it can also add an event listener for the select event to detect when a message is selected and the button should be activated. This is great but it does not disable the buttons when the last message in a folder is moved away.
Example with markasjunk plugin:
Open a folder with 1 message in and select the message; mark as junk button is activated along with all the others
Drag that message to another folder; all the buttons are deactivated except for mark as junk
Change History (2)
comment:1 Changed 3 years ago by JohnDoh
comment:2 Changed 3 years ago by alec
- Milestone changed from later to 0.4-beta
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

this is already possible using before/after triggers. please close this ticket, sorry for the spam.