After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 154821 - file-roller can't open archives with extension .lha
file-roller can't open archives with extension .lha
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2004-10-07 20:03 UTC by Volker Weber
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Volker Weber 2004-10-07 20:03:04 UTC
files with extension 'lha' should handeld as lha archives. 
i have patched fr-archive.c to fix this.

this is the diff:  
root@debian:/usr/src/file-roller-2.6.1# diff -u src/fr-archive.c.orig
src/fr-archive.c
--- src/fr-archive.c.orig       2004-10-07 21:47:54.000000000 +0200
+++ src/fr-archive.c    2004-10-07 21:31:52.000000000 +0200
@@ -397,7 +397,8 @@
        } else if (file_extension_is (filename, ".zoo")) {
                archive->command = fr_command_zoo_new (archive->process,
                                                       filename);
-       } else if (file_extension_is (filename, ".lzh")) {
+       } else if (file_extension_is (filename, ".lzh")
+                  || file_extension_is (filename, ".lha")) {
                archive->command = fr_command_lha_new (archive->process,
                                                       filename);
        } else if (file_extension_is (filename, ".rar")) {
root@debian:/usr/src/file-roller-2.6.1#
Comment 1 Paolo Bacchilega 2004-12-15 13:38:20 UTC
done, thank you.