gnome-shell/js/ui
Christian Kellner 1f864c905d thunderbolt: only try to enroll if we are allowed
Check via Polkit if the current user is actually allowed to enroll
devices before trying to do so. If not, show a notification that
explains that a system administrator needs to authorize the device.
Clicking on the notification will guide the user to the thunderbolt
control center panel. Before this patch, when the current user was
not allowed to enroll a device a polkit dialog would pop up which
is confusing because it did not contain any information why it was
shown. This patch implements the behavior as designed (see [1],
section "Multi-user environments").

[1] https://wiki.gnome.org/Design/Whiteboards/ThunderboltAccess
2019-01-18 22:10:23 +01:00
..
components animation: Optionally animate spinner start/stop 2019-01-16 17:44:42 +00:00
status thunderbolt: only try to enroll if we are allowed 2019-01-18 22:10:23 +01:00
accessDialog.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
altTab.js windowIcon: Subclass St.BoxLayout 2018-10-08 22:42:24 -03:00
animation.js animation: Optionally animate spinner start/stop 2019-01-16 17:44:42 +00:00
appDisplay.js app-usage: Remove crufty old "context"s idea 2018-11-17 12:08:33 +00:00
appFavorites.js Add Iagno to appFavorites 2019-01-15 15:31:13 +00:00
audioDeviceSelection.js audioDeviceSelection: Only include settings button when allowed 2019-01-16 00:30:46 +00:00
background.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
backgroundMenu.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
barLevel.js barLevel: Add "overdrive" capability 2018-07-31 18:14:14 +00:00
boxpointer.js boxPointer: Stop using Shell.GenericContainer 2018-10-08 22:43:01 -03:00
calendar.js calendar: Disconnect signals when resetting notification 2019-01-16 17:46:09 +00:00
checkBox.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
closeDialog.js closeDialog: Untrack chrome when window loses focus 2018-10-08 16:03:53 +00:00
ctrlAltTab.js switcherList: Stop using Shell.GenericContainer 2018-10-08 22:42:24 -03:00
dash.js dash: destroy items's child before tooltip 2018-11-19 15:51:32 +00:00
dateMenu.js Remove padding from date strings 2018-10-25 13:05:47 +02:00
dialog.js js/ui: Choose some actors to cache on the GPU 2018-08-27 14:16:59 +00:00
dnd.js dnd: Repick target actor if destroyed mid iteration 2019-01-09 16:15:59 +00:00
edgeDragAction.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
endSessionDialog.js endSessionDialog: squash "reference to undefined property" warning 2018-09-25 21:28:35 +01:00
environment.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
extensionDownloader.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
extensionSystem.js extensionSystem: Unset stylesheet file reference when unloaded 2018-09-03 23:29:01 +00:00
focusCaretTracker.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
grabHelper.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
ibusCandidatePopup.js boxPointer: Stop using Shell.GenericContainer 2018-10-08 22:43:01 -03:00
iconGrid.js iconGrid: Eliminate JavaScript for painting/picking 2018-11-27 13:25:37 +00:00
inhibitShortcutsDialog.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
kbdA11yDialog.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
keyboard.js keyboard: Use addSettingsItem() in language menu 2019-01-16 00:29:23 +00:00
layout.js layout: Always allow hiding the overview 2019-01-09 15:47:38 +00:00
lightbox.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
lookingGlass.js inspector: Stop using Shell.GenericContainer 2018-10-08 22:43:01 -03:00
magnifier.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
magnifierDBus.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
main.js Add app introspection API 2019-01-09 10:13:45 +01:00
messageList.js messageList: stop syncing if closeButton has been destroyed 2018-09-03 22:43:21 +00:00
messageTray.js messageTray: Port to MetaSoundPlayer for emitting sounds 2019-01-09 23:09:18 +00:00
modalDialog.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
mpris.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
notificationDaemon.js notificationDaemon.js: Fix a typo (missing ')') 2019-01-17 11:55:04 +08:00
osdMonitorLabeler.js Remove usage of MetaScreen 2018-07-06 19:56:19 +02:00
osdWindow.js osdWindow: Disconnect signals on destroy 2018-10-22 14:58:50 +00:00
overview.js panel: Stop using Shell.GenericContainer 2018-10-08 22:42:23 -03:00
overviewControls.js thumbnailBox: Stop using Shell.GenericContainer 2018-10-08 22:42:25 -03:00
padOsd.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
panel.js panel: Also ignore hidden windows for proximity 2018-10-23 16:24:22 +02:00
panelMenu.js panel: Delegate container destruction to PanelMenu.ButtonBox 2018-10-08 22:43:13 -03:00
pointerWatcher.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
popupMenu.js popupMenu: Handle keypress if numlock is enabled 2018-10-11 07:45:44 +00:00
remoteMenu.js remoteMenu: Support icons in app-menu 2018-04-14 09:02:20 +00:00
remoteSearch.js js: use ES6 template strings for dbus interfaces 2018-08-27 19:23:00 +02:00
runDialog.js runDialog: Use ClutterText::activate for enter handling 2018-08-17 18:37:32 +00:00
screencast.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
screenShield.js messageTray: Drop Shell.GenericContainer usage 2018-10-08 22:42:26 -03:00
screenshot.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
scripting.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
search.js iconGrid: Stop using Shell.GenericContainer 2018-10-08 22:42:25 -03:00
sessionMode.js Explicitly convert raw data to strings 2018-07-31 16:28:53 +00:00
shellDBus.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
shellEntry.js shellEntry: Use correct enum for input purpose hints 2018-03-14 13:30:47 +00:00
shellMountOperation.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
slider.js barLevel: Support maxValue higher than 1 2018-07-31 18:14:10 +00:00
switcherPopup.js switcherPopup: Bind to the stage, not the monitor 2018-10-25 12:33:10 -03:00
switchMonitor.js switchMonitor: switch to next config upon initial keypress 2018-09-13 16:11:16 +00:00
tweener.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
unlockDialog.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
userWidget.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00
viewSelector.js viewSelector: Don't unfocus other modals on reset 2018-10-04 16:40:46 +00:00
windowAttentionHandler.js windowAttentionHandler: Fix syntax errors 2018-11-14 19:38:33 +01:00
windowManager.js windowManager: make TouchpadWorkspaceSwitchAction respect natural-scroll 2018-11-13 14:56:11 +00:00
windowMenu.js windowMenu: Port from Meta.ScreenDirection to Meta.DisplayDirection 2018-09-11 12:59:07 +02:00
workspace.js theme: Drop custom assets for window close buttons in overview 2018-11-22 23:50:24 +01:00
workspacesView.js workspaces: Use correct schema for workspace settings 2018-11-08 10:50:32 +01:00
workspaceSwitcherPopup.js workspaceSwitcherPopup: Stop using Shell.GenericContainer 2018-10-08 22:42:26 -03:00
workspaceThumbnail.js workspaces: Use correct schema for workspace settings 2018-11-08 10:50:32 +01:00
xdndHandler.js cleanup: Use Function.prototype.bind() 2018-02-21 13:55:02 +00:00