file-roller/file-roller-2.15.1-recent.patch
Matthias Clasen ba1138fdbd fix warnings
2006-07-30 18:04:00 +00:00

20 lines
630 B
Diff

--- file-roller-2.15.1/src/window.c.recent 2006-07-30 13:46:21.000000000 -0400
+++ file-roller-2.15.1/src/window.c 2006-07-30 13:48:07.000000000 -0400
@@ -3472,16 +3472,6 @@
"item_activated",
G_CALLBACK (recent_chooser_item_activated_cb),
window);
-
- /* filter */
-
- filter = gtk_recent_filter_new ();
- gtk_recent_filter_set_name (filter, _("All archives"));
- for (i = 0; open_type[i] != FR_FILE_TYPE_NULL; i++)
- gtk_recent_filter_add_mime_type (filter, file_type_desc[open_type[i]].mime_type);
-
- gtk_recent_chooser_add_filter (chooser, filter);
- gtk_recent_chooser_set_filter (chooser, filter);
}