Embedd assets icons
This commit is contained in:
16
data/icons.gresource.xml
Normal file
16
data/icons.gresource.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Icons compiled into the GUI executable (glib-compile-resources), so the
|
||||
window has its icon even when no assets are installed. The prefix mirrors
|
||||
the reverse-DNS app id (shared/ipc_ids.h); the icons/ subtree mirrors the
|
||||
hicolor layout so gtk_icon_theme_add_resource_path() can serve
|
||||
gtk_window_set_icon_name("gkeymapper") from the binary. The <file> paths are
|
||||
relative to the repository root (--sourcedir=.). -->
|
||||
<gresources>
|
||||
<gresource prefix="/dev/rager/gkeymapper">
|
||||
<file alias="icon.png">assets/icon.png</file>
|
||||
</gresource>
|
||||
<gresource prefix="/dev/rager/gkeymapper/icons">
|
||||
<file alias="256x256/apps/gkeymapper.png">assets/icon.png</file>
|
||||
<file alias="scalable/apps/gkeymapper.svg">assets/icon.svg</file>
|
||||
</gresource>
|
||||
</gresources>
|
||||
Reference in New Issue
Block a user