Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pygobject pygobject
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 279
    • Issues 279
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • pygobjectpygobject
  • Issues
  • #230

Closed
Open
Created Jul 12, 2018 by Kai Willadsen@kaiwDeveloper

Template support doesn't work with resource overlays

The new GTK+ template support does this when handling templates with resource paths:

    Gio.resources_get_info(
        self.resource_path, Gio.ResourceLookupFlags.NONE)

which I think is there to give the user a much nicer error message when the template is missing. However, this means that it's not possible to use the template API together with resource overlays specified by G_RESOURCE_OVERLAYS, because of glib#1445 (closed).

Given that pygobject isn't actually using anything it gets from the Gio.resources_get_info() call... would it be possible to use something else to detect whether the user has provided a bad template?

Assignee
Assign to
Time tracking