summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2387skju <[email protected]>2026-02-14 23:14:21 +0100
committerVictor Kareh <[email protected]>2026-02-25 13:29:39 -0500
commit6d4a435d52e5879218c911c7d0e96fae8a6acc04 (patch)
tree26af14ece83865c32952d31b9f0a6a6cf58fdc7a
parent5b69f1cea1fb4259e213c9d80019beaecc8f8e7d (diff)
downloadcaja-extensions-6d4a435d52e5879218c911c7d0e96fae8a6acc04.tar.bz2
caja-extensions-6d4a435d52e5879218c911c7d0e96fae8a6acc04.tar.xz
sendto bugfix: pack as 7z was defect (index starts with 0)
-rw-r--r--sendto/caja-sendto-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c
index 8181db6..de1602e 100644
--- a/sendto/caja-sendto-command.c
+++ b/sendto/caja-sendto-command.c
@@ -202,7 +202,7 @@ pack_files (NS_ui *ui)
g_mkdir (tmp_work_dir, 0700);
g_free (tmp_dir);
- if (gtk_combo_box_get_active (GTK_COMBO_BOX(ui->pack_combobox)) != 0) {
+ if (gtk_combo_box_get_active (GTK_COMBO_BOX(ui->pack_combobox)) >= 0) {
pack_type = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT(ui->pack_combobox));
} else {
pack_type = NULL;