the .desktop file missed some entries in the MimeType field to have squeeze automatically register for those file types. the .tap file missed an = after --new, so it didn't fire up squeeze correctly. however, the create dialog doesn't work that good yet. currently when you want to add bar.txt to an archive foo.zip you have to enter squeeze --new=foo.zip bar.txt which opens the create dialog but you have to enter foo.zip again. squeeze --new=bar.txt opens the create dialog too, but no archive is created. 1. the "New" button (should be called "Create" btw), should be disabled, when the entry is empty. also when the entry is cleared again, it should get disabled. 2. squeeze --new=bar.txt should open the create dialog, with "bar" entered in the entry for the new archive's name. 3. after the entry there should be a combobox to choose the archive type, the extension should then be added automatically. use a sane default like .tar.gz 4. the archive type shouldn't be specified as an argument, only file names or folder names should be. so no --new=foo.zip bar.txt unless you have those 2 files and want to add them to a new archive. the entry in the create dialog should have the first argument pre-entered. if it's a filename, then don't add the file extension. example: squeeze --new=foo.txt bar.avi should open the create dialog, "foo" is pre-entered as the archive's name, the combobox is set to .tar.gz or maybe let the user choose his default archive type in the preferences later. of course when using the create dialog from within squeeze, no name would be pre-entered. 5. pressing the enter key in the entry should create be the same as pressing the "create" button. with those enhancements, squeeze would work fine with the thunar plugin. the only thing that would be left here is having the filename without extension pre-entered when using "extract to" but this should be done in the extract dialog anyway, not only when using the thunar plugin.
Created attachment 937 add new mimetypes and fix .tap for "new archive" damn, forgot the attachement again ;/
Aplied patch in r24376
--new=file_1.txt file_2.txt now works, file_1 is added to new_dialog. fixed in revision 24434