view pui-types.h.in @ 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 adba37525ee5
children
line wrap: on
line source

/*** BEGIN file-header ***/
#ifndef	PUI_TYPES_H
#define	PUI_TYPES_H

#include <glib-object.h>

G_BEGIN_DECLS
/*** END file-header ***/

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/

#define	@ENUMPREFIX@_TYPE_@ENUMSHORT@	(@enum_name@_get_type())
GType	@enum_name@_get_type(void) G_GNUC_CONST;
/*** END value-header ***/

/*** BEGIN file-tail ***/

gchar *	pui_types_enum_to_string(GType, gint);

G_END_DECLS

#endif /* !PUI_TYPES_H */
/*** END file-tail ***/