54 lines
1.9 KiB
Diff
54 lines
1.9 KiB
Diff
Novell bug: https://bugzilla.novell.com/show_bug.cgi?id=187126
|
|
Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=342043
|
|
Original bug: https://launchpad.net/distros/ubuntu/+source/file-roller/+bug/40899
|
|
|
|
2006-12-11 jacob berkman <jberkman@novell.com>
|
|
|
|
* src/window.h (FRWindow): add batch_extracting_all boolean
|
|
|
|
* src/window.c (window_fake_load): load if batch extracting
|
|
all and archive doesn't directly support extracting all
|
|
|
|
* src/window.c (window_new): initialise batch_extracting_all
|
|
|
|
* src/window.c (window_archive__open_extract): tell
|
|
window_fake_load that we are batch extracting all
|
|
|
|
Index: file-roller-2.19.2/src/fr-window.c
|
|
===================================================================
|
|
--- file-roller-2.19.2.orig/src/fr-window.c
|
|
+++ file-roller-2.19.2/src/fr-window.c
|
|
@@ -309,6 +309,7 @@ struct _FrWindowPrivateData {
|
|
gboolean extract_interact_use_default_dir;
|
|
gboolean update_dropped_files;
|
|
gboolean batch_adding_one_file;
|
|
+ gboolean batch_extracting_all;
|
|
|
|
GtkWindow *load_error_parent_window;
|
|
};
|
|
@@ -3762,7 +3763,7 @@ fr_window_fake_load (FrArchive *archive,
|
|
return (window->priv->batch_mode
|
|
&& ! (add_after_opening && window->priv->update_dropped_files && ! archive->command->propAddCanUpdate)
|
|
&& ! (add_after_opening && ! window->priv->update_dropped_files && ! archive->command->propAddCanReplace)
|
|
- && ! (extract_after_opening && !archive->command->propCanExtractAll));
|
|
+ && ! (window->priv->batch_extracting_all && !(extract_after_opening && !archive->command->propCanExtractAll)));
|
|
}
|
|
|
|
|
|
@@ -4120,6 +4121,7 @@ fr_window_construct (FrWindow *window)
|
|
window->priv->stoppable = TRUE;
|
|
|
|
window->priv->batch_adding_one_file = FALSE;
|
|
+ window->priv->batch_extracting_all = FALSE;
|
|
|
|
window->priv->path_clicked = NULL;
|
|
|
|
@@ -7038,6 +7040,7 @@ fr_window_new_batch (FrWindow *window)
|
|
{
|
|
fr_window_free_batch_data (window);
|
|
window->priv->non_interactive = TRUE;
|
|
+ window->priv->batch_extracting_all = TRUE;
|
|
}
|
|
|
|
|