Skip to content
New issue

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

resource: Make path dependent on app_id #568

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oscfdezdz
Copy link
Collaborator

@oscfdezdz oscfdezdz commented Feb 9, 2024

AdwApplication automatically loads stylesheets [1] and its ancestor, GtkApplication, setups an icon search path [2]. By default, the resource path is derived from the app id [3]. These changes ensure that both, stable and development builds, work without explicitly specifying either.

[1] https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Application.html#automatic-resources

[2] https://docs.gtk.org/gtk4/class.Application.html#automatic-resources

[3] https://docs.gtk.org/gio/method.Application.set_resource_base_path.html

@oscfdezdz oscfdezdz force-pushed the oscfdezdz/resource-path branch 2 times, most recently from 52d00c1 to 4f41e02 Compare March 17, 2024 15:23
AdwApplication automatically loads stylesheets [1] and its ancestor,
GtkApplication, setups an icon search path [2]. By default, the resource
path is derived from the app id [3]. These changes ensure that both, stable
and development builds, work without explicitly specifying either.

[1]
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Application.html#automatic-resources

[2] https://docs.gtk.org/gtk4/class.Application.html#automatic-resources

[3] https://docs.gtk.org/gio/method.Application.set_resource_base_path.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant