Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • GNOME Tweaks GNOME Tweaks
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 218
    • Issues 218
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 25
    • Merge requests 25
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GNOME TweaksGNOME Tweaks
  • Merge requests
  • !41

WIP: Respond to GNOME Shell extension installs/removals

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed AJ Jordan requested to merge strugee/gnome-tweaks:watch-extension-changes into master May 28, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

Basically the problem this solves is cases where you had Tweak Tool open at the same time as extensions.gnome.org and you installed or removed something from e.g.o. With this patch the "Extensions" pane is updated with the new extension (or without the removed extension).

There's some XXX comments in there I still need to address, but I wanted to open this to see if the general approach looks OK. Also, any advice to solve the need to sleep would be much appreciated - it's an ugly hack but I had to put it in there since apparently during extension installs (not removals) there's a race between the inotify notification and GNOME Shell actually registering the extension as installed. Without the sleep the call to list extensions does not include the new extension.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: watch-extension-changes