We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On the page https://docs.elementary.io/develop/apis/gresource, the example code:
protected override void activate () { Gtk.IconTheme.get_default ().add_resource_path ("com/github/yourusername/yourrepositoryname"); var main_window = new Gtk.ApplicationWindow (this); main_window.show_all (); }
shows a resource prefix that is not preceded by a /. This inconsistent with the resource definition file:
/
<?xml version="1.0" encoding="UTF-8"?> <gresources> <gresource prefix="/com/github/yourusername/yourrepositoryname"> <file compressed="true" preprocess="xml-stripblanks">custom-icon.svg</file> </gresource> </gresources>
The resource prefix should be consistent throughout the examples
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What Happened
On the page https://docs.elementary.io/develop/apis/gresource, the example code:
shows a resource prefix that is not preceded by a
/
. This inconsistent with the resource definition file:Expected Behavior
The resource prefix should be consistent throughout the examples
The text was updated successfully, but these errors were encountered: