Go to file
Jonas Dreßler 8431e7ae51 misc/objectManager: Fix emission of object-removed signal
Emitting this signal is broken right now: We check for a length of 0 on
this._objects[objectPath], but the
`this._objects[objectPath][interfaceName] = null` we do before the
check doesn't actually remove the key, it only sets the value to null,
leaving the key around and thus the amount of entries in the object doesn't
change.

Fix that by using the delete statement instead, "delete" properly removes
the key and thus affects the amount of entries in the object, making our
length === 0 check effective.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2730>
2023-04-05 18:43:51 +00:00
.gitlab/issue_templates gitlab: Add a comment about disabling extension to the issue template 2022-12-15 19:07:08 +00:00
.gitlab-ci
.settings
data style: Light variant fixes and accommodations 2023-03-29 14:22:46 +00:00
docs/reference
js misc/objectManager: Fix emission of object-removed signal 2023-04-05 18:43:51 +00:00
lint
man
meson
po Update Swedish translation 2023-04-05 16:34:30 +00:00
src st/icon-theme: Disconnect from settings signals on disposal 2023-03-21 12:17:24 +00:00
subprojects extension-tool: Set reminder for removing old compat code 2023-03-19 19:26:55 +00:00
tests tests: Set GNOME_SHELL_SESSION_MODE to user 2023-03-19 19:40:27 +00:00
tools/build tools: Drop gnome-shell-overrides-migration.sh 2023-01-23 16:38:36 +00:00
.eslintrc.yml
.gitignore Ignore eslint cache files 2023-03-01 15:55:40 +00:00
.gitlab-ci.yml ci: Update image 2023-03-03 20:38:03 +00:00
.gitmodules
.jscheckignore
config.h.meson main: Prepend RPATH or RUNPATH paths to gir search paths 2022-11-25 22:09:37 +01:00
COPYING
gnome-shell.doap
HACKING.md
meson_options.txt
meson.build tests: Add default test setup with common env settings 2023-03-19 19:40:27 +00:00
NEWS Bump version to 44.0 2023-03-19 11:58:32 +01:00
README.md doc: Update contribution section 2022-12-06 01:49:24 +01:00

GNOME Shell

GNOME Shell provides core user interface functions for the GNOME desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.

For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.

Bugs should be reported to the GNOME bug tracking system. Please refer to the Schedule wiki page to see the supported versions.

Contributing

To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell.

Commit messages should follow the GNOME commit message guidelines. If a merge request fixes an existing issue, it is good practice to append the full issue URL to each commit message. Try to always prefix commit subjects with a relevant topic, such as panel: or status/network:, and it's always better to write too much in the commit message body than too little.

Default branch

The default development branch is main. If you still have a local checkout under the old name, use:

git checkout master
git branch -m master main
git fetch
git branch --unset-upstream
git branch -u origin/main
git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main

License

GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.