-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(resources): compile resources and fix error management
- Loading branch information
Showing
6 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,8 @@ | ||
pkgdatadir = join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) | ||
|
||
# Import the gnome module and use a GNOME function to ensure that application | ||
# resources will be compiled. | ||
gnome = import('gnome') | ||
|
||
gnome.compile_resources('swappy', | ||
swappy_resources = gnome.compile_resources('swappy', | ||
'swappy.gresource.xml', | ||
gresource_bundle: true, | ||
install: true, | ||
install_dir: pkgdatadir, | ||
cname: 'swappy_resources' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/swappy"> | ||
<file>style/swappy.css</file> | ||
<file>swappy.ui</file> | ||
</gresource> | ||
<gresource prefix="/me/jtheoof/swappy"> | ||
<file>style/swappy.css</file> | ||
<file>swappy.ui</file> | ||
</gresource> | ||
</gresources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters