2006-12-19 22:57:05 +01:00
|
|
|
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
|
|
|
|
|
2007-07-10 17:48:18 +02:00
|
|
|
Index: file-roller-2.19.2/src/fr-window.c
|
2007-04-03 21:22:32 +02:00
|
|
|
===================================================================
|
2007-07-10 17:48:18 +02:00
|
|
|
--- 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)));
|
2006-12-19 22:57:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-07-10 17:48:18 +02:00
|
|
|
@@ -4120,6 +4121,7 @@ fr_window_construct (FrWindow *window)
|
|
|
|
window->priv->stoppable = TRUE;
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2007-07-10 17:48:18 +02:00
|
|
|
window->priv->batch_adding_one_file = FALSE;
|
|
|
|
+ window->priv->batch_extracting_all = FALSE;
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2007-07-10 17:48:18 +02:00
|
|
|
window->priv->path_clicked = NULL;
|
2006-12-19 22:57:05 +01:00
|
|
|
|
2007-07-10 17:48:18 +02:00
|
|
|
@@ -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;
|
|
|
|
}
|
2007-04-03 21:22:32 +02:00
|
|
|
|
2006-12-19 22:57:05 +01:00
|
|
|
|