gnome-shell/js/ui
David Zeuthen adb04eb010 polkit: don't show authentication dialog until needed
See https://bugs.freedesktop.org/show_bug.cgi?id=27788#c1 for details
about the problem this patch is solving

In particular, we should never bring up the dialog if there is no
password on the account. While this sounds like a weird corner case,
it's not.. the Live CD, for example, does not have a root password.

This also avoids the initial dialog resize.. before the patch the
authentication dialog appears and a split-second later an StEntry
widget is added.

Also print out more diagnostic information if showing the modal dialog
fails. Also add a comment about how to easily make this happen.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-02-23 14:49:09 -05:00
..
status KeyboardStatus: fix showing current layout 2011-02-23 20:13:31 +01:00
altTab.js altTab: Properly query the themenode's color when painting the arrows 2011-02-15 20:58:21 +01:00
appDisplay.js Add "precision" to boxpointer alignment 2011-02-16 10:19:39 -05: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 calendar: clean up l10n for time format and labels (close bug #641245) 2011-02-03 12:12:57 +01:00
chrome.js Track fullscreen status per-monitor in Chrome 2011-02-23 20:16:48 +01:00
ctrlAltTab.js ctrlAltTabManager: implement Ctrl-Alt-Tab 2010-12-20 17:43:01 -05:00
dash.js dash: Adjust CSS in RTL locales 2011-02-19 11:19:19 +01:00
dateMenu.js dateMenu: Make sure that the event list fills the available width 2011-02-23 14:56:26 +01:00
dnd.js dnd: Fix bug in computation of snap-back position 2011-02-11 12:34:15 -05:00
docDisplay.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
endSessionDialog.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05:00
environment.js environment: Fix runtime crash due to GTK+ change 2011-01-20 16:44:16 +01:00
extensionSystem.js ExtensionSystem: pass the metadata object to extensions 2011-02-13 13:57:36 +01:00
iconGrid.js Fix fuzziness for application icons 2011-02-11 16:21:11 -05: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 lookingGlass: use new history manager implementation 2011-02-19 13:28:17 -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 panel: Add a relayout() method to position the panel 2011-02-23 20:32:31 +01:00
messageTray.js MessageTray: Use status from gnome-session 2011-02-22 23:14:55 +01:00
modalDialog.js modalDialog: remove old actions from _actionKeys in setButtons 2011-02-01 23:41:28 +03:00
notificationDaemon.js Emit NotificationClosed for a notification iff we destroy it 2011-01-28 13:02:20 -05:00
overview.js overview: avoid round-off errors when sizing and positioning view selector 2011-02-21 12:20:38 -05:00
panel.js panel: Reposition corners on changes to the monitor layout 2011-02-23 20:32:31 +01:00
panelMenu.js Add "precision" to boxpointer alignment 2011-02-16 10:19:39 -05:00
placeDisplay.js placeDisplay: Fix another typo preventing place launching 2011-02-13 14:55:33 -05:00
polkitAuthenticationAgent.js polkit: don't show authentication dialog until needed 2011-02-23 14:49:09 -05:00
popupMenu.js popupMenu: add alternate menu item 2011-02-22 18:46:57 -05:00
runDialog.js runDialog: use new history manager implementation 2011-02-19 13:28:16 -05:00
scripting.js Clean up unused includes 2010-07-19 01:46:01 +02:00
search.js search: return an empty list instead of null 2011-02-13 11:56:24 -05:00
searchDisplay.js Don't switch to a workspace when dragging it to launch on that workspace 2011-02-08 19:43:21 -05: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 statusMenu: change how we stop the system 2011-02-22 18:46:57 -05:00
telepathyClient.js telepathyClient: changed default icon for contacts without an avatar 2011-02-17 08:08:53 -05:00
tweener.js tweener: remove tweens when target.actor is destroyed 2011-02-22 12:36:25 -05:00
viewSelector.js search-entry: Update style 2011-02-21 17:38:47 +01:00
windowAttentionHandler.js MessageTray: untangle click notifications 2010-10-12 17:21:58 -04:00
windowManager.js altTab: enable the switch_group keybinding action 2011-02-15 13:43:32 -05:00
workspace.js workspaces: Remove the unused '_removeSelf' method 2011-02-21 21:31:07 +01:00
workspacesView.js workspaceThumbnails: Allow mousewheel scrolling 2011-02-18 18:12:18 +01:00
workspaceSwitcherPopup.js workspaceSwitcher: Initially hide after creation 2011-02-10 00:16:32 +01:00
workspaceThumbnail.js Fix cursor when dragging a window over its current workspace 2011-02-20 12:38:10 -05:00
xdndHandler.js XDND: Use only one constraint for the cursor window position 2011-01-26 20:41:26 +01:00