aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/file_dlg.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-09-23 18:50:07 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-09-23 18:50:07 +0000
commite34467a28c88a74bc109164ea61c32f9068bc9e5 (patch)
tree9cc8f5c1800cd10565ed388e2cfcb5ba93102309 /gtk/file_dlg.c
parent3fd9edbf1090156acb663d0cfb13fd5f6390f96b (diff)
disable gzip output compression for now, as it won't work in some cases (see source commment for details)
svn path=/trunk/; revision=15981
Diffstat (limited to 'gtk/file_dlg.c')
-rw-r--r--gtk/file_dlg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/file_dlg.c b/gtk/file_dlg.c
index 100b5bf193..e845ac3b34 100644
--- a/gtk/file_dlg.c
+++ b/gtk/file_dlg.c
@@ -1358,7 +1358,11 @@ file_save_as_cmd(action_after_save_e action_after_save, gpointer action_after_sa
/* compressed */
compressed_cb = gtk_check_button_new_with_label("Compress with gzip");
gtk_container_add(GTK_CONTAINER(ft_hb), compressed_cb);
- gtk_widget_show(compressed_cb);
+ /* XXX - disable output compression for now, as this doesn't work with the
+ * current optimization to simply copy a capture file if it's using the same
+ * encapsulation ... */
+ /* the rest of the implementation is just working fine :-( */
+ /*gtk_widget_show(compressed_cb);*/
OBJECT_SET_DATA(file_save_as_w, "compressed", compressed_cb);
gtk_widget_set_sensitive(compressed_cb, wtap_dump_can_compress(cfile.cd_t));