Mercurial > projects > package-update-indicator
view pui-about-dialog.ui @ 35:c4b8785d0b75
Back out fallback icon support which does not work as intended
The fallback icon support does not work as intended since it depends on
gtk_icon_theme_has_icon() in order to determine whether an icon exists in the
current icon theme. Contrary to the documentation GtkIconTheme not only falls
back to the "hicolor" theme but also to the "Adwaita" and "gnome" themes when
looking for icons. The Adwaita theme provides the "system-software-update",
"software-update-available", and "software-update-urgent" icons so the fallback
will never be used even if the current theme does not provide these icons. SNI
host implementations such as the one in KDE Plasma Shell will only look for
icon names in the current theme and do not fall back to the "Adwaita" and
"gnome" themes.
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Fri, 06 Sep 2019 13:49:54 +0200 |
parents | 7172a0db97af |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated with glade 3.20.0 --> <interface> <requires lib="gtk+" version="3.20"/> <object class="GtkAboutDialog" id="about-dialog"> <property name="can_focus">False</property> <property name="title" translatable="yes">About Package Update Indicator</property> <property name="icon_name">system-software-update</property> <property name="type_hint">dialog</property> <property name="program_name">Package Update Indicator</property> <property name="copyright" translatable="yes">Copyright © 2018 Guido Berhörster</property> <property name="comments" translatable="yes">Notify about available software updates</property> <property name="website">http://code.guido-berhoerster.org/projects/package-update-indicator/</property> <property name="authors">Guido Berhörster</property> <property name="translator_credits" translatable="yes" comments="Place your name here.">Translator</property> <property name="logo_icon_name">system-software-update</property> <property name="wrap_license">True</property> <property name="license_type">mit-x11</property> <child internal-child="vbox"> <object class="GtkBox"> <property name="can_focus">False</property> <property name="orientation">vertical</property> <property name="spacing">2</property> <child internal-child="action_area"> <object class="GtkButtonBox"> <property name="can_focus">False</property> <property name="layout_style">end</property> </object> <packing> <property name="expand">False</property> <property name="fill">False</property> <property name="position">0</property> </packing> </child> <child> <placeholder/> </child> </object> </child> </object> </interface>