gnome-shell/js/ui
Cosimo Cecchi 5c1dd4ea18 autorun: prefer Safe Removal over eject/unmount if possible
Basically do what NautilusPlacesSidebar does with the drive/volume/mount
eject/unmount/stop priorities.

We follow this pattern:
- always prefer Safely Remove if available (i.e. drive.stop())
- fallback to ejecting the mount/volume/drive if that's not possible
- finally, fallback to unmounting the mount if even eject is not
  available

This also means we don't care about the distinction between
Stop/Eject/Unmount at this level. Disk Utility (or Nautilus) are
available for those who want that degree of control, but the common case
here should do the most useful action without presenting the choice.

https://bugzilla.gnome.org/show_bug.cgi?id=653520
2011-07-13 14:39:36 -04:00
..
status power: Remove _checkError() 2011-07-13 19:45:29 +02:00
altTab.js altTab: try to avoid showing the switcher when "flipping" 2011-07-06 09:03:42 -04:00
appDisplay.js appDisplay: make the categories list scrollable, if necessary 2011-07-05 13:49:01 -04:00
appFavorites.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
automountManager.js mount-operation: add a ShellMountOperation implementation 2011-07-13 14:39:36 -04:00
autorunManager.js autorun: prefer Safe Removal over eject/unmount if possible 2011-07-13 14:39:36 -04:00
boxpointer.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
calendar.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
chrome.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
ctrlAltTab.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
dash.js dnd: Rename DND.removeMonitor() to DND.removeDragMonitor() 2011-06-27 21:39:28 +02:00
dateMenu.js Consistently exit the overview when launching external applications 2011-06-22 17:49:44 -04:00
dnd.js dnd: Reparent drag actor to the uiGroup rather then the stage 2011-06-30 21:13:15 +02:00
docDisplay.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
endSessionDialog.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
environment.js shell_global_set_property_mutable: Remove 2011-06-20 17:58:40 -04:00
extensionSystem.js Add org.gnome.shell.enabled-extensions complementing disabled-extensions 2011-05-25 17:53:06 -04:00
iconGrid.js Setting StWidget::label-actor on some ui elements 2011-04-27 02:09:11 +02:00
layout.js layout: deal better with vertically-stacked monitors 2011-07-06 08:38:35 -04:00
lightbox.js Clean up unused includes 2010-07-19 01:46:01 +02:00
link.js Clean up unused includes 2010-07-19 01:46:01 +02:00
lookingGlass.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
magnifier.js magnifier: Adjust for removal of 'show-magnifier' key 2011-02-17 16:09:07 +01:00
magnifierDBus.js Refactor Magnifier.ZoomRegion to avoid permanent Clutter.Clone 2010-12-03 14:21:57 -05:00
main.js automount: add an AutomountManager class 2011-07-13 14:39:35 -04:00
messageTray.js messageTray.js: raise an exception only if parseInt(count) returns NaN 2011-07-07 15:47:12 +02:00
modalDialog.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
notificationDaemon.js Fix methods that take array arguments 2011-07-11 20:13:35 +02:00
overview.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
panel.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
panelMenu.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
placeDisplay.js Use Shell.get_file_contents_utf8_sync over GLib.file_get_contents 2011-05-19 15:27:23 -04:00
polkitAuthenticationAgent.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
popupMenu.js NetworkMenu: take out an item from More... when another is destroyed 2011-07-13 01:33:47 +02:00
runDialog.js run-dialog: Use user preference when executing in terminal 2011-06-01 19:29:41 +02:00
scripting.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
search.js search: Fix documentation comment 2011-05-20 14:19:16 +02:00
searchDisplay.js search-display: Try harder to use a correct drag actor source 2011-06-21 22:23:00 +02:00
shellDBus.js Clean up unused includes 2010-07-19 01:46:01 +02:00
shellMountOperation.js mount-operation: implement ask-question 2011-07-13 14:39:36 -04:00
statusIconDispatcher.js statusIconDispatcher: fix trailing comma 2011-03-25 21:24:42 -04:00
statusMenu.js screensaver: factor out a ScreenSaverProxy helper class 2011-07-13 14:39:35 -04:00
telepathyClient.js Allow other clients to preempt the channels we are handling 2011-07-11 14:43:14 +02:00
tweener.js tweener: remove tweens when target.actor is destroyed 2011-02-22 12:36:25 -05:00
viewSelector.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
windowAttentionHandler.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
windowManager.js altTab: honor switch_*_backward key binding actions 2011-07-06 08:45:31 -04:00
workspace.js workspace: Fix layout errors caused by window zoom 2011-07-06 22:06:45 +02:00
workspacesView.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
workspaceSwitcherPopup.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
workspaceThumbnail.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
xdndHandler.js xdndHandler: Correctly disconnect the window group visibility handler 2011-03-04 11:23:18 +01:00