Compare commits
merge into: isa:citadel
isa:citadel
isa:citadel-45.0
isa:citadel-43.0
isa:citadel-42.1
isa:main
isa:gnome-3-36
isa:wip/smcv/issue3071-3.36
isa:gnome-3-28
isa:gbsneto/effects-paint-nodes
isa:wip/carlosg/input-thread
isa:wip/fmuellner/gtk4
isa:benzea/use-app-info-launch
isa:wip/exalm/gestures2
isa:gbsneto/offscreen-paint-node
isa:wip/exalm/corners
isa:wip/ewlsh/unify-app-menus
isa:wip/carlosg/centralized-panel-auto-orientation
isa:cherry-pick-46547ae0
isa:gnome-3-34
isa:wip/carlosg/im-caret-taps-x11-3.36
isa:wip/mcrha/issue1875
isa:gtk3-ci
isa:gbsneto/eager-cache-invalidation
isa:wip/smcv/issue2538
isa:cherry-pick-a0def239
isa:wip/carlosg/no-wacom-leds
isa:155-move-functionality-from-evolution-alarm-notify-to-gnome-shell-calendar-server
isa:bilelmoussaoui/extensions/fix
isa:wip/chergert/3-28-perf-fixes
isa:wip/exalm/gestures
isa:wip/jimmac/osk-338-tweaks
isa:wip/jtojnar/adoc
isa:gbsneto/new-lock-screen-part2
isa:wip/carlosg/drop-device-idle-monitors
isa:wip/jimmac/system-grey-tweak
isa:wip/carlosg/lockscreen-fix
isa:drop-portal
isa:wip/lockdown-show-password
isa:uajain/adapt-user-avatar
isa:benzea/systemd-start-waiting
isa:wip/carlosg/fix-tablet-overview-window-dnd
isa:uajain/st-entry-password-2
isa:wip/hadess/always-launch-discrete-gpu
isa:gbsneto/content-part2
isa:gbsneto/new-lock-screen
isa:gbsneto/dnd-fixes
isa:wip/exalm/battery
isa:benzea/systemd-user-units-with-extension-warning
isa:gnome-3-32
isa:gnome-3-30
isa:gbsneto/icon-grid-dnd
isa:gbsneto/more-content
isa:issue369
isa:wip/aday/standardise-text-styles
isa:wip/jimmac/typography
isa:wip/jimmac/sync-with-adwaita
isa:wip/nielsdg/remove-coglerror
isa:wip/jimmac/frederik-light
isa:wip/jimmac/adwaita-light
isa:wip/mcrha/eds-libical-glib
isa:wip/fmuellner/ease-wm-animations
isa:wip/carlosg/fix-osk-warnings
isa:gnome-3-26
isa:wip/rstrode/fix-smooshed-fedora
isa:wip/fmuellner/opt-in-hot-corner
isa:wip/jimmac/osd-sync-with-gtk
isa:1151-moving-window-up-to-a-new-workspace-clears-all-always-on-visible-workspace-flags
isa:gbsneto/automatic-updates
isa:wip/jimmac/closebutton-tweaks
isa:wip/rstrode/rhel-8.0.0
isa:pot-ci
isa:gbsneto/fix-long-user-names
isa:wip/timed-login-fix
isa:wip/fmuellner/remove-app-menu
isa:cherry-pick-74bb9e62
isa:cherry-pick-b719744e
isa:wip/texture-purge-on-nvidia
isa:wip/fmuellner/focus-app-error
isa:wip/rstrode/mouse-freeze-fix
isa:wip/jimmac/sharp-icons
isa:wip/fmuellner/background-gradient
isa:wip/fmuellner/duplicate-favs
isa:wip/fix-drag-lock-up
isa:wip/fmuellner/fix-98
isa:wip/carlosg/fix-workspace-transient-dialog-warnings
isa:wip/carlosg/osk-warning-fixes
isa:wip/fmuellner/overview-keynav
isa:wip/jimmac/settings-app-icon
isa:wip/fmuellner/appstream-mappings
isa:wip/fmuellner/indicate-app-in-polkit-dialogs
isa:theme-search-version
isa:gbsneto/789110
isa:issue267
isa:issue219
isa:issue154
isa:wip/fmuellner/guard-shadow-pipeline-from-actor-call
isa:jrocha/polkit-dialog-without-passwd
isa:issue-36
isa:wip/rancell/guest
isa:wip/msanchez/620106
isa:gnome-3-24
isa:gnome-3-20
isa:wip/raresv/system-actions
isa:gnome-3-22
isa:wip/fmuellner/overview-tweaks
isa:wip/beniofel/gesture
isa:wip/rstrode/list-extension
isa:wip/raresv/uiTweaks
isa:wip/jstpierre/cursor-position-tracker
isa:gnome-3-18
isa:wip/ptomato/remove-gjs-internal-api
isa:wip/pad-osd
isa:wip/rtcm/merge
isa:gnome-3-4
isa:gnome-3-6
isa:gnome-3-0
isa:gnome-3-2
isa:wip/loc-apps
isa:gnome-3-16
isa:gnome-3-14
isa:wip/fullscreen
isa:gnome-3-10
isa:matthiasc/misc-fixes
isa:wip/halfline/env
isa:wip/csoriano/modal-dialog-button-style
isa:wip/garnacho/touchpad-gestures
isa:wip/maximize
isa:gnome-3-8
isa:gnome-3-12
isa:wip/muktupavels/flashback
isa:wip/fmuellner/chat-notifications
isa:wip/sass
isa:wip/sassWithSomeFixes
isa:wip/wobbly
isa:wip/background-rework
isa:wip/gestures
isa:wip/notif-d3
isa:wip/notif-banner-relayout
isa:wip/new-notifications
isa:wip/quadbuffer-stereo
isa:wip/wayland-gdm-cleanup
isa:wip/overview-transition
isa:wip/folders
isa:wip/desktop-file-index
isa:wip/cogl-deprecations
isa:wip/smartcard
isa:wip/login-unlock-merge
isa:wip/wayland-2
isa:wip/window-scales
isa:wip/session-menu
isa:wip/reorg
isa:wip/is-switch-fixes
isa:wip/gcampax/modal-dialogs
isa:wip/gcampax/background
isa:3.7.3.1-branch
isa:wip/re-search-v2
isa:wip/classic
isa:wip/grab-helper-top-panel
isa:3.7.2.1-branch
isa:wip/media-keys
isa:wip/gdbus-2
isa:wip/re-search
isa:screen-shield-next
isa:wip/screen-shield-rebase1
isa:wip/input-sources
isa:wip/screen-shield
isa:wip/menus-rebase2
isa:wip/menus
isa:wip/gdbus
isa:osk
isa:goa-client
isa:zeitgeist
isa:workspace-thumbnails
isa:datetime
isa:overview-relayout
isa:message-tray
isa:shell-toolkit
isa:nbtk-introduction
isa:overlay-design02
isa:3.37.91
isa:3.36.5
isa:3.37.90
isa:3.36.4
isa:3.37.3
isa:3.36.3
isa:3.37.2
isa:3.36.2
isa:3.37.1
isa:3.34.5
isa:3.36.1
isa:3.36.0
isa:3.35.92
isa:3.35.91
isa:3.34.4
isa:3.35.90
isa:3.34.3
isa:3.35.3
isa:3.34.2
isa:3.35.2
isa:3.35.1
isa:3.34.1
isa:3.34.0
isa:3.33.92
isa:3.33.91
isa:3.33.90
isa:3.33.4
isa:3.33.3
isa:3.33.2
isa:3.28.4
isa:3.32.2
isa:3.33.1
isa:3.32.1
isa:3.32.0
isa:3.31.92
isa:3.31.91
isa:3.31.90
isa:3.31.4
isa:3.31.2
isa:3.30.2
isa:3.30.1
isa:3.30.0
isa:3.29.92
isa:3.29.91
isa:3.29.90
isa:3.28.3
isa:3.29.4
isa:3.29.3
isa:3.29.2
isa:3.28.2
isa:3.29.1
isa:3.28.1
isa:3.28.0
isa:3.27.92
isa:3.27.91
isa:3.26.2
isa:3.27.1
isa:3.26.1
isa:3.26.0
isa:3.25.91
isa:3.25.90
isa:3.24.3
isa:3.25.4
isa:3.25.3
isa:3.25.2
isa:3.24.2
isa:3.25.1
isa:3.24.1
isa:3.24.0
isa:3.23.92
isa:3.23.91
isa:3.22.3
isa:3.23.90
isa:3.23.3
isa:3.23.2
isa:3.22.2
isa:3.23.1
isa:3.22.1
isa:3.22.0
isa:3.21.92
isa:3.21.91
isa:3.21.90.1
isa:3.20.4
isa:3.21.90
isa:3.21.4
isa:3.20.3
isa:3.21.3
isa:3.21.2
isa:3.20.2
isa:3.21.1
isa:3.18.5
isa:3.20.1
isa:3.20.0
isa:3.19.92
isa:3.19.91
isa:3.18.4
isa:3.19.90
isa:3.19.4
isa:3.19.3
isa:3.19.2
isa:3.18.3
isa:3.18.2
isa:3.19.1
isa:3.16.4
isa:3.18.1
isa:3.18.0
isa:3.17.92
isa:3.17.91
isa:3.17.90
isa:3.17.4
isa:3.16.3
isa:3.17.3
isa:3.17.2
isa:3.16.2
isa:3.17.1
isa:3.16.1
isa:3.16.0
isa:3.14.4
isa:3.15.92
isa:3.15.91
isa:3.15.90
isa:3.15.4
isa:3.15.3
isa:3.14.3
isa:3.15.2
isa:3.14.2
isa:3.14.1.5
isa:3.15.1
isa:3.14.1
isa:3.14.0
isa:3.13.92
isa:3.13.91
isa:3.13.90
isa:3.13.4
isa:3.13.3
isa:3.13.2
isa:3.12.2
isa:3.13.1
isa:3.12.1
isa:3.12.0
isa:3.11.92
isa:3.11.91
isa:3.11.90
isa:3.10.4
isa:3.11.5
isa:3.10.3
isa:3.11.3
isa:3.10.2.1
isa:3.10.2
isa:3.11.2
isa:3.11.1
isa:3.10.1
isa:3.10.0.1
isa:3.10.0
isa:3.9.92
isa:3.9.91
isa:3.9.90
isa:3.8.4
isa:3.9.5
isa:3.9.4
isa:3.9.3
isa:3.8.3
isa:3.9.2
isa:3.8.2
isa:3.9.1
isa:3.8.1
isa:3.8.0.1
isa:3.8.0
isa:3.7.92
isa:3.7.91
isa:3.6.3.1
isa:3.7.90
isa:3.6.3
isa:3.7.5
isa:3.7.4.1
isa:3.7.4
isa:3.7.3.1
isa:3.7.3
isa:3.7.2.1
isa:3.7.2
isa:3.6.2
isa:3.7.1
isa:3.6.1
isa:3.6.0
isa:3.5.92
isa:3.5.91
isa:3.5.90
isa:3.5.5
isa:3.4.2
isa:3.5.4
isa:3.5.3
isa:3.5.2
isa:3.4.1
isa:3.4.0
isa:3.3.92
isa:3.3.90
isa:3.3.5
isa:3.3.4
isa:3.2.2.1
isa:3.2.2
isa:3.3.3
isa:3.3.2
isa:3.2.1
isa:3.2.0
isa:3.1.92
isa:3.1.91.1
isa:3.1.91
isa:3.1.90.1
isa:3.1.90
isa:3.1.4
isa:3.1.3
isa:3.0.2
isa:3.0.1
isa:3.0.0.2
isa:3.0.0.1
isa:3.0.0
isa:2.91.93
isa:2.91.92
isa:2.91.91
isa:2.91.90
isa:2.91.6
isa:2.91.5
isa:2.91.4
isa:2.91.3
isa:2.91.2
isa:2.91.1
isa:2.91.0
isa:2.31.5
isa:2.31.4
isa:2.31.2
isa:2.29.1
isa:2.29.0
isa:2.28.0
isa:2.27.3
isa:2.27.2
isa:2.27.1
isa:2.27.0
...
pull from: isa:gbsneto/789110
isa:citadel-45.0
isa:citadel
isa:citadel-43.0
isa:citadel-42.1
isa:main
isa:gnome-3-36
isa:wip/smcv/issue3071-3.36
isa:gnome-3-28
isa:gbsneto/effects-paint-nodes
isa:wip/carlosg/input-thread
isa:wip/fmuellner/gtk4
isa:benzea/use-app-info-launch
isa:wip/exalm/gestures2
isa:gbsneto/offscreen-paint-node
isa:wip/exalm/corners
isa:wip/ewlsh/unify-app-menus
isa:wip/carlosg/centralized-panel-auto-orientation
isa:cherry-pick-46547ae0
isa:gnome-3-34
isa:wip/carlosg/im-caret-taps-x11-3.36
isa:wip/mcrha/issue1875
isa:gtk3-ci
isa:gbsneto/eager-cache-invalidation
isa:wip/smcv/issue2538
isa:cherry-pick-a0def239
isa:wip/carlosg/no-wacom-leds
isa:155-move-functionality-from-evolution-alarm-notify-to-gnome-shell-calendar-server
isa:bilelmoussaoui/extensions/fix
isa:wip/chergert/3-28-perf-fixes
isa:wip/exalm/gestures
isa:wip/jimmac/osk-338-tweaks
isa:wip/jtojnar/adoc
isa:gbsneto/new-lock-screen-part2
isa:wip/carlosg/drop-device-idle-monitors
isa:wip/jimmac/system-grey-tweak
isa:wip/carlosg/lockscreen-fix
isa:drop-portal
isa:wip/lockdown-show-password
isa:uajain/adapt-user-avatar
isa:benzea/systemd-start-waiting
isa:wip/carlosg/fix-tablet-overview-window-dnd
isa:uajain/st-entry-password-2
isa:wip/hadess/always-launch-discrete-gpu
isa:gbsneto/content-part2
isa:gbsneto/new-lock-screen
isa:gbsneto/dnd-fixes
isa:wip/exalm/battery
isa:benzea/systemd-user-units-with-extension-warning
isa:gnome-3-32
isa:gnome-3-30
isa:gbsneto/icon-grid-dnd
isa:gbsneto/more-content
isa:issue369
isa:wip/aday/standardise-text-styles
isa:wip/jimmac/typography
isa:wip/jimmac/sync-with-adwaita
isa:wip/nielsdg/remove-coglerror
isa:wip/jimmac/frederik-light
isa:wip/jimmac/adwaita-light
isa:wip/mcrha/eds-libical-glib
isa:wip/fmuellner/ease-wm-animations
isa:wip/carlosg/fix-osk-warnings
isa:gnome-3-26
isa:wip/rstrode/fix-smooshed-fedora
isa:wip/fmuellner/opt-in-hot-corner
isa:wip/jimmac/osd-sync-with-gtk
isa:1151-moving-window-up-to-a-new-workspace-clears-all-always-on-visible-workspace-flags
isa:gbsneto/automatic-updates
isa:wip/jimmac/closebutton-tweaks
isa:wip/rstrode/rhel-8.0.0
isa:pot-ci
isa:gbsneto/fix-long-user-names
isa:wip/timed-login-fix
isa:wip/fmuellner/remove-app-menu
isa:cherry-pick-74bb9e62
isa:cherry-pick-b719744e
isa:wip/texture-purge-on-nvidia
isa:wip/fmuellner/focus-app-error
isa:wip/rstrode/mouse-freeze-fix
isa:wip/jimmac/sharp-icons
isa:wip/fmuellner/background-gradient
isa:wip/fmuellner/duplicate-favs
isa:wip/fix-drag-lock-up
isa:wip/fmuellner/fix-98
isa:wip/carlosg/fix-workspace-transient-dialog-warnings
isa:wip/carlosg/osk-warning-fixes
isa:wip/fmuellner/overview-keynav
isa:wip/jimmac/settings-app-icon
isa:wip/fmuellner/appstream-mappings
isa:wip/fmuellner/indicate-app-in-polkit-dialogs
isa:theme-search-version
isa:gbsneto/789110
isa:issue267
isa:issue219
isa:issue154
isa:wip/fmuellner/guard-shadow-pipeline-from-actor-call
isa:jrocha/polkit-dialog-without-passwd
isa:issue-36
isa:wip/rancell/guest
isa:wip/msanchez/620106
isa:gnome-3-24
isa:gnome-3-20
isa:wip/raresv/system-actions
isa:gnome-3-22
isa:wip/fmuellner/overview-tweaks
isa:wip/beniofel/gesture
isa:wip/rstrode/list-extension
isa:wip/raresv/uiTweaks
isa:wip/jstpierre/cursor-position-tracker
isa:gnome-3-18
isa:wip/ptomato/remove-gjs-internal-api
isa:wip/pad-osd
isa:wip/rtcm/merge
isa:gnome-3-4
isa:gnome-3-6
isa:gnome-3-0
isa:gnome-3-2
isa:wip/loc-apps
isa:gnome-3-16
isa:gnome-3-14
isa:wip/fullscreen
isa:gnome-3-10
isa:matthiasc/misc-fixes
isa:wip/halfline/env
isa:wip/csoriano/modal-dialog-button-style
isa:wip/garnacho/touchpad-gestures
isa:wip/maximize
isa:gnome-3-8
isa:gnome-3-12
isa:wip/muktupavels/flashback
isa:wip/fmuellner/chat-notifications
isa:wip/sass
isa:wip/sassWithSomeFixes
isa:wip/wobbly
isa:wip/background-rework
isa:wip/gestures
isa:wip/notif-d3
isa:wip/notif-banner-relayout
isa:wip/new-notifications
isa:wip/quadbuffer-stereo
isa:wip/wayland-gdm-cleanup
isa:wip/overview-transition
isa:wip/folders
isa:wip/desktop-file-index
isa:wip/cogl-deprecations
isa:wip/smartcard
isa:wip/login-unlock-merge
isa:wip/wayland-2
isa:wip/window-scales
isa:wip/session-menu
isa:wip/reorg
isa:wip/is-switch-fixes
isa:wip/gcampax/modal-dialogs
isa:wip/gcampax/background
isa:3.7.3.1-branch
isa:wip/re-search-v2
isa:wip/classic
isa:wip/grab-helper-top-panel
isa:3.7.2.1-branch
isa:wip/media-keys
isa:wip/gdbus-2
isa:wip/re-search
isa:screen-shield-next
isa:wip/screen-shield-rebase1
isa:wip/input-sources
isa:wip/screen-shield
isa:wip/menus-rebase2
isa:wip/menus
isa:wip/gdbus
isa:osk
isa:goa-client
isa:zeitgeist
isa:workspace-thumbnails
isa:datetime
isa:overview-relayout
isa:message-tray
isa:shell-toolkit
isa:nbtk-introduction
isa:overlay-design02
isa:3.37.91
isa:3.36.5
isa:3.37.90
isa:3.36.4
isa:3.37.3
isa:3.36.3
isa:3.37.2
isa:3.36.2
isa:3.37.1
isa:3.34.5
isa:3.36.1
isa:3.36.0
isa:3.35.92
isa:3.35.91
isa:3.34.4
isa:3.35.90
isa:3.34.3
isa:3.35.3
isa:3.34.2
isa:3.35.2
isa:3.35.1
isa:3.34.1
isa:3.34.0
isa:3.33.92
isa:3.33.91
isa:3.33.90
isa:3.33.4
isa:3.33.3
isa:3.33.2
isa:3.28.4
isa:3.32.2
isa:3.33.1
isa:3.32.1
isa:3.32.0
isa:3.31.92
isa:3.31.91
isa:3.31.90
isa:3.31.4
isa:3.31.2
isa:3.30.2
isa:3.30.1
isa:3.30.0
isa:3.29.92
isa:3.29.91
isa:3.29.90
isa:3.28.3
isa:3.29.4
isa:3.29.3
isa:3.29.2
isa:3.28.2
isa:3.29.1
isa:3.28.1
isa:3.28.0
isa:3.27.92
isa:3.27.91
isa:3.26.2
isa:3.27.1
isa:3.26.1
isa:3.26.0
isa:3.25.91
isa:3.25.90
isa:3.24.3
isa:3.25.4
isa:3.25.3
isa:3.25.2
isa:3.24.2
isa:3.25.1
isa:3.24.1
isa:3.24.0
isa:3.23.92
isa:3.23.91
isa:3.22.3
isa:3.23.90
isa:3.23.3
isa:3.23.2
isa:3.22.2
isa:3.23.1
isa:3.22.1
isa:3.22.0
isa:3.21.92
isa:3.21.91
isa:3.21.90.1
isa:3.20.4
isa:3.21.90
isa:3.21.4
isa:3.20.3
isa:3.21.3
isa:3.21.2
isa:3.20.2
isa:3.21.1
isa:3.18.5
isa:3.20.1
isa:3.20.0
isa:3.19.92
isa:3.19.91
isa:3.18.4
isa:3.19.90
isa:3.19.4
isa:3.19.3
isa:3.19.2
isa:3.18.3
isa:3.18.2
isa:3.19.1
isa:3.16.4
isa:3.18.1
isa:3.18.0
isa:3.17.92
isa:3.17.91
isa:3.17.90
isa:3.17.4
isa:3.16.3
isa:3.17.3
isa:3.17.2
isa:3.16.2
isa:3.17.1
isa:3.16.1
isa:3.16.0
isa:3.14.4
isa:3.15.92
isa:3.15.91
isa:3.15.90
isa:3.15.4
isa:3.15.3
isa:3.14.3
isa:3.15.2
isa:3.14.2
isa:3.14.1.5
isa:3.15.1
isa:3.14.1
isa:3.14.0
isa:3.13.92
isa:3.13.91
isa:3.13.90
isa:3.13.4
isa:3.13.3
isa:3.13.2
isa:3.12.2
isa:3.13.1
isa:3.12.1
isa:3.12.0
isa:3.11.92
isa:3.11.91
isa:3.11.90
isa:3.10.4
isa:3.11.5
isa:3.10.3
isa:3.11.3
isa:3.10.2.1
isa:3.10.2
isa:3.11.2
isa:3.11.1
isa:3.10.1
isa:3.10.0.1
isa:3.10.0
isa:3.9.92
isa:3.9.91
isa:3.9.90
isa:3.8.4
isa:3.9.5
isa:3.9.4
isa:3.9.3
isa:3.8.3
isa:3.9.2
isa:3.8.2
isa:3.9.1
isa:3.8.1
isa:3.8.0.1
isa:3.8.0
isa:3.7.92
isa:3.7.91
isa:3.6.3.1
isa:3.7.90
isa:3.6.3
isa:3.7.5
isa:3.7.4.1
isa:3.7.4
isa:3.7.3.1
isa:3.7.3
isa:3.7.2.1
isa:3.7.2
isa:3.6.2
isa:3.7.1
isa:3.6.1
isa:3.6.0
isa:3.5.92
isa:3.5.91
isa:3.5.90
isa:3.5.5
isa:3.4.2
isa:3.5.4
isa:3.5.3
isa:3.5.2
isa:3.4.1
isa:3.4.0
isa:3.3.92
isa:3.3.90
isa:3.3.5
isa:3.3.4
isa:3.2.2.1
isa:3.2.2
isa:3.3.3
isa:3.3.2
isa:3.2.1
isa:3.2.0
isa:3.1.92
isa:3.1.91.1
isa:3.1.91
isa:3.1.90.1
isa:3.1.90
isa:3.1.4
isa:3.1.3
isa:3.0.2
isa:3.0.1
isa:3.0.0.2
isa:3.0.0.1
isa:3.0.0
isa:2.91.93
isa:2.91.92
isa:2.91.91
isa:2.91.90
isa:2.91.6
isa:2.91.5
isa:2.91.4
isa:2.91.3
isa:2.91.2
isa:2.91.1
isa:2.91.0
isa:2.31.5
isa:2.31.4
isa:2.31.2
isa:2.29.1
isa:2.29.0
isa:2.28.0
isa:2.27.3
isa:2.27.2
isa:2.27.1
isa:2.27.0
1 Commits
citadel
...
gbsneto/78
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Mario Sanchez Prada
|
efd8df2fc9 |
bluetooth: Be consistent when determining whether Bluetooth is off
It would be nice if we could use the same exact condition to decide whether to show "Off"/"Turn On" vs "On"/"Turn Off" in the menu, since otherwise we risk showing inconsistent states in each place. https://bugzilla.gnome.org/show_bug.cgi?id=789110 |
1 changed files with 5 additions and 2 deletions
|
@ -132,14 +132,17 @@ var Indicator = new Lang.Class({
|
|||
else
|
||||
this._item.actor.visible = this._proxy.BluetoothHasAirplaneMode && !this._proxy.BluetoothAirplaneMode;
|
||||
|
||||
// Bluetooth will be considered 'Off' if either the adapter
|
||||
// is not available or it's set in airplane mode.
|
||||
let isBluetoothOff = nConnectedDevices == -1 || this._proxy.BluetoothAirplaneMode;
|
||||
if (nConnectedDevices > 0)
|
||||
/* Translators: this is the number of connected bluetooth devices */
|
||||
this._item.label.text = ngettext("%d Connected", "%d Connected", nConnectedDevices).format(nConnectedDevices);
|
||||
else if (nConnectedDevices == -1)
|
||||
else if (isBluetoothOff)
|
||||
this._item.label.text = _("Off");
|
||||
else
|
||||
this._item.label.text = _("On");
|
||||
|
||||
this._toggleItem.label.text = this._proxy.BluetoothAirplaneMode ? _("Turn On") : _("Turn Off");
|
||||
this._toggleItem.label.text = isBluetoothOff ? _("Turn On") : _("Turn Off");
|
||||
},
|
||||
});
|
||||
|
|
Write
Preview
Loading…
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.