mount-operation: implement ask-password for mounting encrypted volumes

https://bugzilla.gnome.org/show_bug.cgi?id=653520
This commit is contained in:
Cosimo Cecchi
2011-07-12 11:29:49 -04:00
parent 5c1dd4ea18
commit 0b77ea422a
4 changed files with 118 additions and 8 deletions

View File

@ -26,7 +26,8 @@
* object from JS but we can't yet; the default GMountOperation impl
* automatically calls g_mount_operation_reply(UNHANDLED) after an idle,
* in interactive methods. We want to handle the reply outselves
* instead, so we just override the default methods with empty ones.
* instead, so we just override the default methods with empty ones,
* except for ask-password, as we don't want to handle that.
*
* Also, we need to workaround the fact that gjs doesn't support type
* annotations for signals yet (so we can't effectively forward e.g.