• Tobias Ellinghaus's avatar
    Reference views by name, not a number · b0fa66a7
    Tobias Ellinghaus authored
    This removes (almost) all knowledge about existing views from dt's core
    code. Instead of hardcoding the list of available views we just load
    whatever we find in the corresponding directory and allow libs to
    reference them by name. That also fixes bugs when loading a view failed
    (for example map when osmgpsmap isn't installed), resulting in wrong
    views being loaded in some cases.
accelerators.c 31.7 KB