Ticket #3563 (closed defect: fixed)
"Directory hotlist" dialog should use WListbox's change notification.
Reported by: | mooffie | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.8.16 |
Component: | mc-core | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #3569 | |
Branch state: | merged | Votes for changeset: | committed-master |
Description
The directory hotlist updates the "Directory path" label when the item in the listbox changes.
It uses MSG_POST_KEY to detect this change.
We should instead use WListbox's notification mechanism: it sends a MSG_ACTION in such case.
The patch fixes this.
Advantage:
The dialog will be able to detect changes caused by mouse clicks too. Currently it can't.
Attachments
Change History
Changed 9 years ago by mooffie
comment:1 Changed 9 years ago by mooffie
Note that after tending to ticket:3566 the code will be tidier:
case MSG_INIT: case MSG_NOTIFY: uupdate_path_name (); return MSG_HANDLED;
comment:3 Changed 9 years ago by andrew_b
- Status changed from new to closed
- Votes for changeset set to committed-master
- Resolution set to fixed
- Branch state changed from no branch to merged
- Milestone changed from Future Releases to 4.8.16
Applied in #3569 as [e7fdb5500514e0d4a1da7e2fcf5e72ae6e841780].
Note: See
TracTickets for help on using
tickets.