From d555de986b694c23ef7ced8d3204933c69ae4b41 Mon Sep 17 00:00:00 2001 From: rbuj Date: Sat, 25 Jan 2020 11:51:56 +0100 Subject: caja-sendto-command: add .7z,.tar.xz to packed type drop-down list --- sendto/caja-sendto-command.c | 12 +++++++++--- sendto/caja-sendto.ui | 11 +++++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c index d10859a..6c16647 100644 --- a/sendto/caja-sendto-command.c +++ b/sendto/caja-sendto-command.c @@ -203,13 +203,19 @@ pack_files (NS_ui *ui) switch (gtk_combo_box_get_active (GTK_COMBO_BOX(ui->pack_combobox))) { case 0: - pack_type = g_strdup (".zip"); + pack_type = g_strdup (".7z"); break; case 1: - pack_type = g_strdup (".tar.gz"); + pack_type = g_strdup (".tar.bz2"); break; case 2: - pack_type = g_strdup (".tar.bz2"); + pack_type = g_strdup (".tar.gz"); + break; + case 3: + pack_type = g_strdup (".tar.xz"); + break; + case 4: + pack_type = g_strdup (".zip"); break; default: pack_type = NULL; diff --git a/sendto/caja-sendto.ui b/sendto/caja-sendto.ui index 189ce3b..b78c068 100644 --- a/sendto/caja-sendto.ui +++ b/sendto/caja-sendto.ui @@ -7,13 +7,19 @@ - .zip + .7z + + + .tar.bz2 .tar.gz - .tar.bz2 + .tar.xz + + + .zip @@ -392,6 +398,7 @@ False True model1 + 4 -- cgit v1.2.1