gnome-shell/js/ui
Hans de Goede 9745e97e14 Add support for inhibiting automount
When connecting to virtual machines with usb-device redirection, such as Spice
enabled vms, automount may get in the way. Specifically if auto-usbredir is
enabled in the vm-viewer, then the usbredir code and the automount code race
for who gets to the device first.

If the automount code wins the race this is a problem, since usbredir causes a
device-disconnect (iow the usb mass storage driver sees an unplug), so in the
end usbredir always wins, and we end up with a non clean potentially corrupt
filesystem. Also see:
https://bugzilla.redhat.com/show_bug.cgi?id=812972

There for the need exists to be able to inhibit gnome-shell's automounting,
since all other inhibits run through gnome-session, I've chosen to do the same
for the automount-inhibiting. I've also submitted a patch to gnome-session to
reserve flag value 16 for this, see bug 678595.

This patch adds support to gnome-shell to honor this new inhibit flag.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=678597
2012-07-06 08:28:29 +02:00
..
status NetworkMenu: prefer wifi/3g over vpn in the panel 2012-06-20 17:23:53 -04:00
altTab.js
appDisplay.js appDisplay: Fix recursive directory NoDisplay testing 2012-06-21 16:03:48 -04:00
appFavorites.js
automountManager.js Add support for inhibiting automount 2012-07-06 08:28:29 +02:00
autorunManager.js autorun: use GError.matches() to fix some FIXMEs 2012-06-20 22:21:23 -04:00
boxpointer.js
calendar.js js: Remove unnecessary versions of clutter_actor_get_children 2012-06-11 13:10:25 -04:00
checkBox.js checkBox: Work around a height-for-width problem 2012-03-26 14:43:54 +02:00
ctrlAltTab.js
dash.js dash: Destroy tooltip label when item is removed 2012-04-27 15:50:48 -04:00
dateMenu.js dateMenu: Use .desktop file to launch calendar 2012-07-04 00:24:05 +02:00
dnd.js
endSessionDialog.js js: Remove unnecessary versions of clutter_actor_get_children 2012-06-11 13:10:25 -04:00
environment.js Switch string formatting to the one inside gjs 2012-05-24 15:38:44 -04:00
extensionDownloader.js extensionDownloader: Clean up names of methods 2012-07-02 18:29:56 -04:00
extensionSystem.js extensionSystem: Be saner at error handling 2012-07-02 18:29:56 -04:00
flashspot.js
iconGrid.js appDisplay: Don't show apps in NoDisplay categories in the All view 2012-06-11 13:55:59 -04:00
keyboard.js Start using MessageTray.Source directly instead of having to subclass it 2012-05-17 08:32:22 -04:00
keyringPrompt.js
layout.js modalDialog: show dialogs on monitor with the mouse pointer 2012-06-08 23:05:56 -04:00
lightbox.js
link.js
lookingGlass.js lookingGlass: Don't use a signal callback on 'paint' to draw the border 2012-07-05 14:20:50 -04:00
magnifier.js Magnifier: Add brightness and contrast functionality 2012-05-16 18:59:33 -04:00
magnifierDBus.js
main.js Main: fix ctrl-alt-arrow in the overview 2012-06-27 22:17:47 +02:00
messageTray.js telepathyClient: don't add log messages on presence changes 2012-07-05 14:09:09 -04:00
modalDialog.js modalDialog: show dialogs on monitor with the mouse pointer 2012-06-08 23:05:56 -04:00
networkAgent.js networkAgent: use absolute path if configured 2012-07-04 19:39:26 +02:00
notificationDaemon.js Added contexts to various Unknown strings 2012-06-01 14:44:40 +02:00
overview.js overview: Remove contacts search provider 2012-06-29 11:21:50 +02:00
panel.js panel: Refuse to add (legacy) status icons not part of the session mode 2012-05-29 22:06:03 +02:00
panelMenu.js
placeDisplay.js search: Remove the ability to add synchronous search providers 2012-05-07 15:29:46 -03:00
polkitAuthenticationAgent.js PolkitAgent: Look for the right password prompt 2012-06-29 17:55:20 -04:00
popupMenu.js js: Remove unnecessary versions of clutter_actor_get_children 2012-06-11 13:10:25 -04:00
remoteSearch.js remoteSearch: Parse 'DesktopId' field in key file 2012-06-25 22:57:31 +02:00
runDialog.js
scripting.js
search.js search: Remove createResultContainer() hook 2012-07-03 12:19:32 +02:00
searchDisplay.js search: Remove createResultContainer() hook 2012-07-03 12:19:32 +02:00
sessionMode.js status/keyboard: Port to the new input sources settings 2012-06-01 22:18:59 +02:00
shellDBus.js extensionDownloader: Clean up names of methods 2012-07-02 18:29:56 -04:00
shellEntry.js
shellMountOperation.js mount-operation: implement org.Gtk.MountOperationHandler 2012-06-22 15:55:56 -04:00
statusIconDispatcher.js
telepathyClient.js telepathyClient: don't add log messages on presence changes 2012-07-05 14:09:09 -04:00
tweener.js
userMenu.js userMenu: Don't disconnect account signals when disabled 2012-07-03 12:37:58 +02:00
viewSelector.js
wanda.js search: Remove the ability to add synchronous search providers 2012-05-07 15:29:46 -03:00
windowAttentionHandler.js Start using MessageTray.Source directly instead of having to subclass it 2012-05-17 08:32:22 -04:00
windowManager.js WindowManager: ignore ctrl-alt-left/right 2012-06-27 22:17:46 +02:00
workspace.js workspace: Minor cleanup 2012-06-19 18:24:52 +02:00
workspacesView.js WorkspaceSwitcher: simplify code for handling keybindings 2012-06-27 19:35:37 +02:00
workspaceSwitcherPopup.js WorkspaceSwitcher: simplify code for handling keybindings 2012-06-27 19:35:37 +02:00
workspaceThumbnail.js workspaceThumbnail: set correct cursor when hovering the drop placeholder 2012-03-30 17:44:39 +02:00
xdndHandler.js