gnome-shell/js/ui
Dan Winship a40daa3c22 runDialog: popModal before running the command
If you run a command from Alt+F2 that tries to get a server grab (eg,
xmag), it will fail if it starts up before the run dialog is finished
hiding.

Additionally, the run dialog currently stays focused while it is
fading out, potentially stealing keystrokes (or causing the user to
accidentally launch two copies of a program).

Change ModalDialog.close() to call popModal() immediately

Add a ModalDialog.popModal method, and call that before running the
RunDialog command. If the command succeeds, close the dialog as
before. If it fails, call ModalDialog.pushModal() to put things back
to normal before displaying the error.

https://bugzilla.gnome.org/show_bug.cgi?id=644857
2011-03-21 14:26:08 -04:00
..
status Fix user visible typo: s/estabilished/established/ 2011-03-19 01:16:16 +01:00
altTab.js altTab: popModal before fading out 2011-03-21 14:26:08 -04:00
appDisplay.js appDisplay: use get_allocation_box() in _ensureIconVisible 2011-03-21 14:26:07 -04:00
appFavorites.js dash: Improve DND to dash and allow reordering 2010-11-29 16:35:54 +01:00
boxpointer.js Add "precision" to boxpointer alignment 2011-02-16 10:19:39 -05:00
calendar.js Move calendar handling out-of-process 2011-02-28 16:08:18 -05:00
chrome.js Switch to using the mutter primary monitor APIs 2011-03-16 20:30:58 +01:00
ctrlAltTab.js altTab: popModal before fading out 2011-03-21 14:26:08 -04:00
dash.js dash: Handle cancelled drags 2011-03-19 11:16:10 +01:00
dateMenu.js Remove broken ShellAppSystem API and all consumers 2011-03-16 15:07:22 -04:00
dnd.js dnd: Add a drag-cancelled signal 2011-03-09 10:36:09 +01:00
docDisplay.js search: Replace 'icon' property in metaInfo with a function 2011-03-02 23:12:35 +01:00
endSessionDialog.js Ensure that all signatures are defined in DBus interfaces 2011-02-28 18:40:57 +01:00
environment.js Work around Spidermonkey problem with Unicode date formats 2011-03-14 15:33:44 -04:00
extensionSystem.js extensions: Ignore extensions in directories without read permission 2011-03-02 16:00:52 +01:00
iconGrid.js base-icon: Always recreate icon texture on style changes 2011-03-03 23:14:32 +01: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 history: Fix HistoryManager 2011-03-04 09:07:15 -05: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 Only add hot corner for primary and "top left" monitors 2011-03-21 10:32:30 +01:00
messageTray.js message-tray: allocate the entire size to the icon 2011-03-21 11:17:29 -04:00
modalDialog.js runDialog: popModal before running the command 2011-03-21 14:26:08 -04:00
notificationDaemon.js MessageTray: remove source if associated application exits 2011-03-07 17:37:31 -05:00
overview.js overview: Handle drag-cancelled signal for items 2011-03-19 11:16:10 +01:00
panel.js panel: Hide spinner when switching apps 2011-03-17 22:06:34 +01:00
panelMenu.js popupMenu, panelMenu: split up panel and non-panel keynav 2011-03-07 10:57:45 -05:00
placeDisplay.js placeDisplay: Remove network places 2011-03-14 10:37:19 -04:00
polkitAuthenticationAgent.js polkit: drop gdmuser naming workaround 2011-03-15 15:50:26 -04:00
popupMenu.js popupMenu: don't include hidden items in the width computation 2011-03-14 09:28:06 -04:00
runDialog.js runDialog: popModal before running the command 2011-03-21 14:26:08 -04:00
scripting.js scripting.js: small cleanups 2011-03-11 19:21:07 -05:00
search.js search: Replace 'icon' property in metaInfo with a function 2011-03-02 23:12:35 +01:00
searchDisplay.js overview: Handle drag-cancelled signal for items 2011-03-19 11:16:10 +01:00
shellDBus.js Clean up unused includes 2010-07-19 01:46:01 +02:00
statusIconDispatcher.js tray: fix so that trayicons using symbolic icons get the right colors 2011-02-07 10:01:12 -05:00
statusMenu.js user-status: Honor lockdown settings 2011-03-21 15:02:10 +01:00
telepathyClient.js telepathyClient: remove alias-change messages, to unbreak string freeze 2011-03-15 13:12:15 -04:00
tweener.js tweener: remove tweens when target.actor is destroyed 2011-02-22 12:36:25 -05:00
viewSelector.js view-selector: Don't fade in the initially selected tab 2011-03-19 11:16:09 +01:00
windowAttentionHandler.js MessageTray: add right click menu for summary items 2011-03-07 11:14:11 -05:00
windowManager.js windowManager: fix up accounting of dimmed windows 2011-03-16 12:31:06 -04:00
workspace.js Constrain zoomed overview windows to the current monitor 2011-03-17 14:13:55 +01:00
workspacesView.js Always show the workspace thumbnails if there is a monitor to the right 2011-03-21 18:48:57 +01:00
workspaceSwitcherPopup.js workspaceSwitcher: Initially hide after creation 2011-02-10 00:16:32 +01:00
workspaceThumbnail.js Only show windows from the primary monitor in the workspace thumbnails 2011-03-17 14:13:55 +01:00
xdndHandler.js xdndHandler: Correctly disconnect the window group visibility handler 2011-03-04 11:23:18 +01:00