Opened 11 years ago

Closed 11 years ago

#443 closed defect/bug (fixed)

Regression: missing OSD icons.

Reported by: niccolo Owned by: KaZeR
Priority: major Milestone:
Component: core Version: git master
Severity: Keywords:
Cc:

Description

With version svn-2472 my OSD icons do not display any more.

I use the internal gui, with OSD icons for zoom etc, like this:

<osd enabled="yes" type="button" x="-96" y="-96" command="zoom_in()" src="gui_plus_96_96.png"/>

The problem lies in graphics_icon_path() function, it uses navit_sharedir directory, but at OSD display time that variable is not yet set (it is empty in gdb).

A temporary workaround is to use an absolute path, prepending "/usr/share/navit/xpm/" or whatever.

Change History (1)

comment:1 Changed 11 years ago by kazer

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2490, thank you.

Note: See TracTickets for help on using tickets.