Summary | [PATCH] custom folder icons don't work |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org, slusarz (at) horde (dot) org |
Requester | tokoe (at) kde (dot) org |
Created | 03/02/2006 (7142 days ago) |
Due | |
Updated | 03/06/2006 (7138 days ago) |
Assigned | 03/06/2006 (7138 days ago) |
Resolved | 03/06/2006 (7138 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
didn't see it. I guess I need some vacation. Sorry for the trouble.
// Note that in IMP 4.2.x, the expected return value from this hook has
// changed. See the below examples for more information.
...
// // Use this example for IMP 4.2.x+.
// // $newmailboxes[$box] = array(
// // 'icon' => 'kronolith.png',
// // 'icondir' =>
$GLOBALS['registry']->getImageDir('kronolith')
// // 'alt' => _("Calendar")
// // );
and, IMHO, it would cause all sorts of confusion to put in examples in
Horde 3.1's hooks.php for a version of IMP that doesn't even exist
yet. It is abundantly clear in IMP 4.2's documentation that the
format of the icons hook has changed, and it explains where the user
needs to go (a version of Horde 3.2+) to see the changed format.
State ⇒ Assigned
State ⇒ Resolved
But the examples in hooks.php.dist still use the old syntax, it would
be great if you could provide a patch that fixes these.
least), and in imp/docs/UPGRADING.
But the examples in hooks.php.dist still use the old syntax, it would
be great if you could provide a patch that fixes these.
Assigned to Jan Schneider
Assigned to Michael Slusarz
State ⇒ Feedback
instead of adjusting the hook. Jan or Michael, can you comment here?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ [PATCH] custom folder icons don't work
Queue ⇒ IMP
New Attachment: imp_custom_icons.patch
State ⇒ Unconfirmed
in current IMP version custom folder icons from the
_imp_hook_mbox_icons don't work because the parameter of
Tree::getCustomIcon() seems to be changed.
The attached patch should fix this issue.
Ciao,
Tobias