Well, the patch is so trivial, that I found it not worth posting.
What I'm really wondering is, where and how will this UI be presented? Did you think this through, yet?
My initial impression is that this will sidestep the established desktop mechanisms. Shouldn't this be intregrated with upstream? What about PolicyKit to avoid suid root? What about making this button a banner at the top of the nautilus window, similar to what you get in the Trash Bin view, or on memory cards with photos? Shouldn't the little eject icon in the Nautilus sidepane work for an unmount?
The icons are /usr/share/epiphany-browser/icons/hicolor/48x48/status/lock-{in,}secure.png
Well, the patch is so trivial, that I found it not worth posting.
What I'm really wondering is, where and how will this UI be presented? Did you think this through, yet?
My initial impression is that this will sidestep the established desktop mechanisms. Shouldn't this be intregrated with upstream? What about PolicyKit to avoid suid root? What about making this button a banner at the top of the nautilus window, similar to what you get in the Trash Bin view, or on memory cards with photos? Shouldn't the little eject icon in the Nautilus sidepane work for an unmount?
The icons are /usr/share/ epiphany- browser/ icons/hicolor/ 48x48/status/ lock-{in, }secure. png