summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-01-25 11:51:56 +0100
committerraveit65 <[email protected]>2020-02-06 12:59:42 +0100
commitd555de986b694c23ef7ced8d3204933c69ae4b41 (patch)
tree45e5ad92cab6fe09fe1d18a37e017c249c28b3a2
parentbf31052fa8f08780fd6e2355317d5663fa63d18c (diff)
downloadcaja-extensions-d555de986b694c23ef7ced8d3204933c69ae4b41.tar.bz2
caja-extensions-d555de986b694c23ef7ced8d3204933c69ae4b41.tar.xz
caja-sendto-command: add .7z,.tar.xz to packed type drop-down list
-rw-r--r--sendto/caja-sendto-command.c12
-rw-r--r--sendto/caja-sendto.ui11
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 @@
</columns>
<data>
<row>
- <col id="0">.zip</col>
+ <col id="0">.7z</col>
+ </row>
+ <row>
+ <col id="0">.tar.bz2</col>
</row>
<row>
<col id="0">.tar.gz</col>
</row>
<row>
- <col id="0">.tar.bz2</col>
+ <col id="0">.tar.xz</col>
+ </row>
+ <row>
+ <col id="0">.zip</col>
</row>
</data>
</object>
@@ -392,6 +398,7 @@
<property name="add_tearoffs">False</property>
<property name="focus_on_click">True</property>
<property name="model">model1</property>
+ <property name="active">4</property>
<child>
<object class="GtkCellRendererText" id="renderer1"/>
<attributes>