Theming primary links in Drupal 5.0
...which is then integrated with theme('links',$primary_links) in the page.tpl.php.
This is now longer possible since the theme_links function now expects a structure for each link instead of the complete HTML link. Now you have to override the whole theme_links function instead since you won't otherwise be able to access the structure of the generated links in this menu before they're getting rendered.
Not really an optimal solution for me but I guess it falls under "good enough" since the extra class I add to the link shouldn't be all that bad. Anyway: If someone has found a different solution, please let me know
