Skip to content

Symbolic links removed in GTK (the official stock adwaita-icon-theme) in favor of GNOME-only-only #1005

@JotaRandom

Description

@JotaRandom

Although adwaita-icon-theme is still a dependency on libgtk, it no longer supports applications outside of GNOME. Some of the symbolic icons it provided were simply removed, leading to regressions in many projects who relied on them.

Snes9x-gtk the front end in GTK for Snes9x actually use a few of those icons.

To replace the Adwaita symbolic icons a new XApp project was started called XSI (XApp Symbolic Icons): https://github.com/xapp-project/xapp-symbolic-icons.
This project provides a tool to inspect the icons usage and point those removed.

$ xsi-replace-adwaita-symbolic gtk/src

=== Exact matches (can be fixed) ===

=== Context matches (manual review) ===
gtk/src/gtk_preferences.cpp:87: entry->set_icon_from_icon_name("edit-clear", Gtk::ENTRY_ICON_SECONDARY);  → xsi-edit-clear-symbolic  (context)
gtk/src/snes9x.ui:4077: <property name="icon_name">video-display</property>  → xsi-video-display-symbolic  (context)
gtk/src/snes9x.ui:4490: <property name="icon_name">audio-x-generic</property>  → xsi-audio-x-generic-symbolic  (context)
gtk/src/snes9x.ui:4948: <property name="icon_name">utilities-terminal</property>  → xsi-utilities-terminal-symbolic  (context)
gtk/src/snes9x.ui:5379: <property name="icon_name">folder</property>  → xsi-folder-symbolic  (context)
gtk/src/snes9x.ui:6702: <property name="icon_name">input-gaming</property>  → xsi-input-gaming-symbolic  (context)
gtk/src/snes9x.ui:9054: <property name="icon_name">input-keyboard</property>  → xsi-input-keyboard-symbolic  (context)

Scan complete — 0 exact matches, 7 contextual matches found.

Now this open the question, actually many questions:

  • We gonna move and use the XSI symbolic links or are we gonna ship our own icons or just "broken is fine"?
  • Are we gonna ship to GTK 4 soon or after/before GTK 3 support ended or are we GTK 4 ready already?
    (by the way Arch Linux dropped GTK2 from the official repos just a few weeks ago)
  • Any other idea?

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