Merge pull request #39 from l1ll1/master

Added radio items to the identity menu, toggled Identity menu items depe...
Starting to implement unmounting of WebDAV-shared home-directory
and automatic closing of the file browser window displaying the
shared home directory.  This is so that users don't see multiple
file browser windows of their shared home directory when
reconnecting to the same desktop session.
Merge branch 'master' of https://github.com/CVL-dev/cvl-fabric-launcher
Fix for CVLFAB-717 (Launcher's CVL tab was asking for MASSIVE password.)
Renamed 'VNC Options' to 'Preferences', fixed issue with RadioBox
font size on wxMac, and fixed some spelling errors/typos in the
Options dialog's Authentication Mode explanation.
Updating submodule version.
Merge branch 'master' of https://github.com/l1ll1/cvl-fabric-launcher

Fixed minor conflicts.

Conflicts:
	cvlsshutils
	launcher.py
Added Preferences menu item to Edit menu.
Edit menu is now visible on Windows.
Options/Preferences button is now hidden by default. Preferences
can be accessed from the Preferences menu item which is in the
Edit menu on Windows/Linux and in the MASSIVE Launcher menu on
Mac OS X.  The Cancel button has been renamed to Exit.  The
Preferences dialog can be accessed using shortcut keys
(command-comma on Mac OS X and control-P on Windows/Linux).
Adding some more server-side scripts for MASSIVE.
- On MASSIVE, the WebDAV Konqueror window is now automatically
closed when closing a VNC window without killing the VNC session.
- On the CVL Desktop, some code has been committed to do something
similar (unmount the GVFS-mounted WebDAV share and close the
Nautilus window), but it hasn't been properly tested yet.

- Fixed GUI threading bug in LoginTasks's shutdownReal.
  dialog.ShowModal() was being called outside of the main GUI
  thread, causing the Launcher to crash on Mac OS X.

- Fixed some punctuation errors / typos.
- Fix for wrong value of removeKeyOnExit being passed to
  LoginProcess.__init__
Trying to fix issue where temporary key wasn't getting removed
from agent when running in "password" mode.  There were a
few different bugs contributing to this.  One was that
removeKeyOnAgent wasn't being properly set in launcher.py
when creating the LoginProcess object, which was fixed in the
last commit.

A second issue (being fixed in this commit), is
that calling KeyDist's shutdown() from LoginProcess's
shutdownReal() wasn't calling KeyDist's shutdownReal(),
so now LoginProcess's shutdownReal() calls KeyDist's shutdownReal()
directly, instead calling KeyDist's shutdown() method.

A third issue (not fixed yet) is that the temporary key being
generated seems to be missing its comment (as created with
ssh-keygen -C), so the KeyModel method which tries to remove
the key from the agent doesn't find any key with "Launcher"
in its comment. (Other methods of removing a key from the
agent using the private key would require entering a passphrase.)
Updating submodule version.
Trying to fix CVLFAB-720, but unfortunately, I'm having
trouble testing this now, because CVLFAB-687 / CVLFAB-679
(or something similar) has resurfaced - I am being allocated
cvldesktop4 from the pool, and the GNOME startup is sufficiently
slow to trigger the problem where having home-directory sharing
turned on results in a huge number of Nautilus File Browser
windows being opened.
A small change to the nautilus command-line arguments, for displaying
the WebDAV share in the remote file browser.  This may help with CVLFAB-687.
But the real fix seems to be changing
/usr/share/applications/gnome-nautilus.desktop, and removing or
commenting out the following:

X-GNOME-AutoRestart=true

It may also help to remove or comment out these lines too:

StartupNotify=true
X-GNOME-Autostart-Phase=Desktop
X-GNOME-Autostart-Notify=true

For now, I just copied /usr/share/applications/gnome-nautilus.desktop
into my ~/.local/share/applications/ and edited my local copy to
apply the changes to a single user (myself).

I'm testing this against cvldesktop4 (which is the VM I keep getting
allocated from the pool, and it is slow enough to start up to trigger
the multiple-Nautilus-windows bug).
Small changes to debug logging.
Commented out some print statements used for debugging.
Updating submodule version.
Still working on issue of multiple Nautilus WebDAV windows when
reconnecting to an existing desktop with home-directory-sharing
turned on.