Skip to content

Icons no longer read from from pixmaps folder #3176

@medwatt

Description

@medwatt

I have the following code in my init. All the icons, such as pen-red.svg were saved inside misc/pixmaps and were read correctly. However, with the latest version, they are no longer read and I get this:

Image
(delayed
  (lazy-initialize-force)
  (menu-bind text-icons
             (former)

             ((balloon (icon "pen-red.svg") "Text: Red")
              (make-with "color" "red"))
             ((balloon (icon "pen-blue.svg") "Text: Blue")
              (make-with "color" "blue"))
             ((balloon (icon "pen-torquoise.svg") "Text: Torquoise")
              (make-with "color" "dark turquoise"))
             ((balloon (icon "pen-green.svg") "Text: Green")
              (make-with "color" "dark green"))
             ((balloon (icon "pen-magenta.svg") "Text: Magenta")
              (make-with "color" "magenta"))
             ((balloon (icon "pen-purple.svg") "Text: Purple")
              (make-with "color" "purple"))
             ((balloon (icon "pen-gray.svg") "Text: Gray")
              (make-with "color" "dark gray"))
             ((balloon (icon "pen-orange.svg") "Text: Orange")
              (make-with "color" "orange"))

             ((balloon (icon "underline.svg") "Underline")
              (toggle-underlined))

             ((balloon (icon "highlight-yellow.svg") "Highlight: Yellow")
              (insert-go-to '(with "marked-color" "#ffee58" (marked "")) '(2 0 0)))
             ((balloon (icon "highlight-red.svg") "Highlight: Red")
              (insert-go-to '(with "marked-color" "#f79ca5" (marked "")) '(2 0 0)))
             ((balloon (icon "highlight-green.svg") "Highlight: Green")
              (insert-go-to '(with "marked-color" "#9fe6ae" (marked "")) '(2 0 0)))

    )
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions