• Florian Müllner's avatar
    panel: Relax check for existing signal handler · 16ca7a21
    Florian Müllner authored
    Object.prototype.hasOwnProperty() is more precise than checking for
    falsiness, for instance the following is true:
    
      { foo: undefined }.hasOwnProperty('foo');
    
    However when checking for a handler ID, a more relaxed check is more
    appropriate, as particularly 0 is not a valid handler ID.
    
    !626
    16ca7a21
Name
Last commit
Last update
.gitlab-ci Loading commit data...
.settings Loading commit data...
data Loading commit data...
docs/reference Loading commit data...
js Loading commit data...
lint Loading commit data...
man Loading commit data...
meson Loading commit data...
po Loading commit data...
src Loading commit data...
subprojects Loading commit data...
test Loading commit data...
tests Loading commit data...
tools Loading commit data...
.eslintrc.json Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
README.mdwn Loading commit data...
cldr2json.py Loading commit data...
config.h.meson Loading commit data...
gnome-shell.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...