HACKERALERT / Picocrypt

A very small, very simple, yet very secure encryption tool.
GNU General Public License v3.0
2.41k stars 147 forks source link

Add button to select file to encrypt #115

Closed lord-re closed 2 years ago

lord-re commented 2 years ago

Picocrypt is nice with its little GUI but it can't work if you can't drag'n'drop files. If you use a linux distro without a file manager you can't use it.

It would be quite nice to change the "clear" button to a "select" button which would open a file chooser. When the file is chosen, the button could become a "clear" button.

That way you won't have to change the window geometry or anything else.

Benson665 commented 2 years ago

Ok am in it,thanks

HACKERALERT commented 2 years ago

If you don't have a file manager installed, the file chooser dialog won't work either because it depends on the system file manager which isn't installed. I think if you don't have a file manager on your system in 2022, you have greater things to worry about than if I can add a file chooser to Picocrypt 😅

lord-re commented 2 years ago

No the file chooser doesn't depend on a file manager but in the case of picocrypt on GTK alone. I dragged an image from my browser to picocrypt, then clicked on "save" and i had the GTK file chooser to choose where to save the file. So it would work without installing anything more.

It's your project, you do as you wish ;-)

HACKERALERT commented 2 years ago

Ah okay, pardon my incompetence in Linux. Still though, I think not having a file manager is a 0.0001% sort of thing, so I don't think making the potentially bug-inducing changes would be worth the extremely small number of cases where it is useful. I appreciate your request though :P