summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2016-05-13 02:01:18 +0200
committerZenWalker <[email protected]>2016-05-13 02:01:18 +0200
commitdf9d7f1c4bdada81866890260a1742435951acec (patch)
tree049edee37b1a6784dfb9ccf45609b789560dfa27 /src
parent1af3e43014341b5112e90dd44b7c5504a62bf0bc (diff)
downloadengrampa-df9d7f1c4bdada81866890260a1742435951acec.tar.bz2
engrampa-df9d7f1c4bdada81866890260a1742435951acec.tar.xz
'All files' is duplicated in available formats
Fixes #132
Diffstat (limited to 'src')
-rw-r--r--src/dlg-new.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/dlg-new.c b/src/dlg-new.c
index 0f0e36e..9a5c79f 100644
--- a/src/dlg-new.c
+++ b/src/dlg-new.c
@@ -269,7 +269,6 @@ dlg_new_archive (FrWindow *window,
{
DlgNewData *data;
GtkWidget *n_new_button;
- GtkFileFilter *filter;
GSettings *settings;
/*char *default_ext;*/
int i;
@@ -309,18 +308,6 @@ dlg_new_archive (FrWindow *window,
if (default_name != NULL)
gtk_file_chooser_set_current_name (GTK_FILE_CHOOSER (data->dialog), default_name);
- filter = gtk_file_filter_new ();
- gtk_file_filter_set_name (filter, _("All archives"));
- for (i = 0; data->supported_types[i] != -1; i++)
- gtk_file_filter_add_mime_type (filter, mime_type_desc[data->supported_types[i]].mime_type);
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (data->dialog), filter);
- gtk_file_chooser_set_filter (GTK_FILE_CHOOSER (data->dialog), filter);
-
- filter = gtk_file_filter_new ();
- gtk_file_filter_set_name (filter, _("All files"));
- gtk_file_filter_add_pattern (filter, "*");
- gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (data->dialog), filter);
-
/**/
gtk_button_set_use_stock (GTK_BUTTON (n_new_button), TRUE);