gnome-shell/src
Dan Williams 17726abb0a NetworkAgent: handle empty hints and VPN secrets correctly
get_secrets_keyring_cb() contained an optimization (copied over from
nm-applet) that avoided a D-Bus round-trip when NetworkManager sent
secrets hints that were not satisified by the user.  This code did
not properly handle empty hints though, and proceeded to always
request new secrets whenever empty hints were sent.  Remove this
code entirely since the complexity is not worth it (per Jasper).

Second, get_secrets_keyring_cb() was mishandling VPN secrets which
were marked as "always ask".  Because the VPN secrets are not GObject
properties because they cannot be pre-defined, they are passed in
a hash table that is a GObject property marked 'secret'.  Unfortunately,
that means that the shell agent cannot determine their secret flags.
But since the VPN plugin auth dialogs have much better information
about what's required than the shell agent does, always ask the VPN
auth dialogs to handle the secrets requests after grabbing any that
already exist from the keyring.  This is also what nm-applet does.

https://bugzilla.gnome.org/show_bug.cgi?id=719815
2013-12-13 16:23:24 -06:00
..
calendar-server Calendar: only show events when configured in Evolution 2013-03-04 18:59:30 +01:00
gvc@e14dbe8aa6 Update gvc 2013-09-17 11:54:44 -04:00
hotplug-sniffer Remove use of deprecated g_type_init () ... 2012-10-17 22:49:32 +02:00
st st-scroll-view: Fix style 2013-12-11 20:36:44 -05:00
tray etc: Use generic marshaller 2012-01-25 19:03:13 -05:00
data-to-c.pl scroll-view-fade: Put the shader in another file 2012-11-29 16:17:09 -05:00
gnome-shell-extension-prefs.in Fix typo in gnome-shell-extension-prefs 2013-02-04 12:00:42 +01:00
gnome-shell-extension-tool.in st: Remove StIconType 2012-08-29 16:41:09 -03:00
gnome-shell-perf-tool.in gnome-shell-perf-tool: Fix various problems 2012-11-05 13:08:25 -05:00
gnome-shell-plugin.c bluetooth: Remove GnomeBluetoothApplet hacks 2013-11-26 18:53:18 +01:00
gtkactionmuxer.c gtkactionmuxer: Reintroduce the passing of event timestamps 2013-05-13 18:34:26 -04:00
gtkactionmuxer.h Update copy/paste code from upstream 2013-05-13 18:34:26 -04:00
gtkactionobservable.c Update copy/paste code from upstream 2013-05-13 18:34:26 -04:00
gtkactionobservable.h Update copy/paste code from upstream 2013-05-13 18:34:26 -04:00
gtkactionobserver.c Update copy/paste code from upstream 2013-05-13 18:34:26 -04:00
gtkactionobserver.h Update copy/paste code from upstream 2013-05-13 18:34:26 -04:00
gtkmenutracker.c remoteMenu: Port to GtkMenuTrackerItem 2013-05-13 18:34:26 -04:00
gtkmenutracker.h remoteMenu: Port to GtkMenuTrackerItem 2013-05-13 18:34:26 -04:00
gtkmenutrackeritem.c remoteMenu: Port to GtkMenuTrackerItem 2013-05-13 18:34:26 -04:00
gtkmenutrackeritem.h remoteMenu: Port to GtkMenuTrackerItem 2013-05-13 18:34:26 -04:00
main.c bluetooth: Remove GnomeBluetoothApplet hacks 2013-11-26 18:53:18 +01:00
Makefile-calendar-server.am build: Remove -DG_DISABLE_DEPRECATED 2013-08-15 16:06:54 -04:00
Makefile-hotplug-sniffer.am build: Remove -DG_DISABLE_DEPRECATED 2013-08-15 16:06:54 -04:00
Makefile-st.am build: Do not ship generated source-files in tarball 2013-10-30 23:29:45 +01:00
Makefile-tray.am build: Do not ship generated source-files in tarball 2013-10-30 23:29:45 +01:00
Makefile.am bluetooth: Remove GnomeBluetoothApplet hacks 2013-11-26 18:53:18 +01:00
run-js-test.c bluetooth: Remove GnomeBluetoothApplet hacks 2013-11-26 18:53:18 +01:00
shell-app-private.h appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-app-system-private.h apps: Ensure running apps override new .desktop file data 2011-09-05 17:29:41 -04:00
shell-app-system.c appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-app-system.h appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-app-usage.c appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-app-usage.h appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-app.c shell-app: Track all application windows 2013-12-07 10:10:06 +01:00
shell-app.h app-system: Remove use of gnome-menus internally 2013-11-02 20:12:37 -04:00
shell-embedded-window-private.h shell-embedded-window: Remove hacks for old and fixed Clutter bug 2012-07-13 17:28:50 -04:00
shell-embedded-window.c embedded-window: Set as app-paintable to workaround opaque region issues 2013-09-06 16:28:41 -04:00
shell-embedded-window.h Don't use ClutterX11TexturePixmap directly to embed docked windows 2013-03-18 16:49:47 +00:00
shell-enum-types.c.in Create GTypes for Shell namespace 2010-04-12 16:01:54 -04:00
shell-enum-types.h.in Create GTypes for Shell namespace 2010-04-12 16:01:54 -04:00
shell-generic-container.c shell-generic-container: Exclude skip_paint actors from the paint volume 2013-03-01 19:13:10 +01:00
shell-generic-container.h st: Remove st-container 2012-02-28 08:14:06 -05:00
shell-global-private.h Revert "Add an OSD for sticky modifiers" 2013-04-15 18:39:52 -04:00
shell-global.c shell_global_reexec_self: add support for OpenBSD 2013-10-31 11:46:59 +01:00
shell-global.h remove direct access to jsapi 2013-10-30 07:44:34 +11:00
shell-gtk-embed.c shell-gtk-embed: Make the MetaWindowActor for a tray icon unreactive 2013-08-21 16:53:05 -04:00
shell-gtk-embed.h Don't use ClutterX11TexturePixmap directly to embed docked windows 2013-03-18 16:49:47 +00:00
shell-invert-lightness-effect.c Magnifier: Add brightness and contrast functionality 2012-05-16 18:59:33 -04:00
shell-invert-lightness-effect.h Magnifier: Add brightness and contrast functionality 2012-05-16 18:59:33 -04:00
shell-js.cpp port shell-js to c++ 2013-10-30 07:44:34 +11:00
shell-js.h shell-js: fix incorrect G_BEGIN_DECLS in header 2013-10-15 09:21:59 +11:00
shell-keybinding-modes.h panel: Add keybinding mode for top bar popups and use it 2013-04-26 17:32:53 +02:00
shell-keyring-prompt.c shell: Make KeyringPrompt.cancel() callable from signal handlers 2013-09-23 13:32:17 +02:00
shell-keyring-prompt.h Add gnome-keyring prompter 2012-02-29 20:16:14 +01:00
shell-menu-tracker.c remoteMenu: Add support for submenu items 2013-05-13 18:34:26 -04:00
shell-menu-tracker.h remoteMenu: Add support for submenu items 2013-05-13 18:34:26 -04:00
shell-mount-operation.c shell: Use generic marshaller 2012-01-25 19:03:48 -05:00
shell-mount-operation.h *.[ch]: add emacs modeline to C files that were missing it 2011-10-11 08:05:17 -04:00
shell-network-agent.c NetworkAgent: handle empty hints and VPN secrets correctly 2013-12-13 16:23:24 -06:00
shell-network-agent.h network-agent: Remove prototype of unused function 2013-07-02 14:17:38 -04:00
shell-perf-helper.c gnome-shell-perf-helper: add server for creating test windows 2011-03-11 19:21:07 -05:00
shell-perf-log.c Doc fixes 2011-11-07 15:24:59 -05:00
shell-perf-log.h Dump a complete report from a performance run, as JSON 2010-05-21 00:18:45 -04:00
shell-polkit-authentication-agent.c Rearchitect the Shell to have a components system 2012-09-04 18:42:44 -03:00
shell-polkit-authentication-agent.h Rearchitect the Shell to have a components system 2012-09-04 18:42:44 -03:00
shell-recorder-src.c shell-recorder-src: Set frame duration 2012-11-19 19:17:31 +01:00
shell-recorder-src.h Add emacs modelines to all .c and .h files that were missing them 2009-10-27 11:27:45 -04:00
shell-recorder.c ShellRecorder: update to use MetaCursorTracker 2013-08-19 16:14:12 +02:00
shell-recorder.h shell-recorder: Make drawing the cursor optional 2013-05-10 19:49:01 +02:00
shell-screenshot.c ShellScreenshot: replace XFixes usage with MetaCursorTracker 2013-08-19 16:14:12 +02:00
shell-screenshot.h screenshot: change API to return the filename used for saving 2013-01-03 12:56:45 +01:00
shell-secure-text-buffer.c Use non-pageable memory for gnome-keyring passwords 2012-02-29 20:24:02 +01:00
shell-secure-text-buffer.h Use non-pageable memory for gnome-keyring passwords 2012-02-29 20:24:02 +01:00
shell-slicer.c popupMenu: Simplify allocation code 2013-07-15 12:34:22 -04:00
shell-slicer.h Don't generate st.h in a subdir 2010-02-22 19:37:49 -05:00
shell-stack.c St: don't focus hidden actors 2012-09-10 21:23:25 +02:00
shell-stack.h st: Remove st-container 2012-02-28 08:14:06 -05:00
shell-tp-client.c telepathyClient: Remove some obsolete wrappers 2012-08-16 20:10:24 -04:00
shell-tp-client.h telepathyClient: Remove some obsolete wrappers 2012-08-16 20:10:24 -04:00
shell-tray-icon.c Implementing building two separate binaries for x11 and wayland 2013-08-27 09:46:01 +02:00
shell-tray-icon.h messageTray: forward clicks on trayicon SummaryItems to the icon 2011-03-21 14:56:53 -04:00
shell-tray-manager.c Don't use ClutterX11TexturePixmap directly to embed docked windows 2013-03-18 16:49:47 +00:00
shell-tray-manager.h Don't use ClutterX11TexturePixmap directly to embed docked windows 2013-03-18 16:49:47 +00:00
shell-util.c appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-util.h appDisplay: Use the desktop file index for app searching 2013-11-14 14:28:52 -05:00
shell-window-tracker-private.h apps: Ensure running apps override new .desktop file data 2011-09-05 17:29:41 -04:00
shell-window-tracker.c shell-app: Track all application windows 2013-12-07 10:10:06 +01:00
shell-window-tracker.h autoWorkspaces: fix creation of new workspaces with application launchers 2012-03-16 16:41:30 +01:00
shell-wm-private.h Add a confirmation dialog for display changes 2013-08-20 12:03:13 +02:00
shell-wm.c Add a confirmation dialog for display changes 2013-08-20 12:03:13 +02:00
shell-wm.h Add a confirmation dialog for display changes 2013-08-20 12:03:13 +02:00