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
|
|
|
|
|
2008-06-24 04:35:05 +02:00
|
|
|
Index: file-roller-2.23.3/src/fr-window.c
|
2007-04-03 21:22:32 +02:00
|
|
|
===================================================================
|
2008-06-24 04:35:05 +02:00
|
|
|
--- file-roller-2.23.3.orig/src/fr-window.c
|
|
|
|
+++ file-roller-2.23.3/src/fr-window.c
|
|
|
|
@@ -389,6 +389,7 @@ struct _FrWindowPrivateData {
|
|
|
|
gboolean extract_interact_use_default_dir;
|
|
|
|
gboolean update_dropped_files;
|
|
|
|
gboolean batch_adding_one_file;
|
2007-07-10 17:48:18 +02:00
|
|
|
+ gboolean batch_extracting_all;
|
|
|
|
|
2008-06-24 04:35:05 +02:00
|
|
|
GtkWindow *load_error_parent_window;
|
|
|
|
gboolean showing_error_dialog;
|
|
|
|
@@ -4952,7 +4953,7 @@ fr_window_fake_load (FrArchive *archive,
|
2007-07-10 17:48:18 +02:00
|
|
|
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
|
|
|
}
|
|
|
|
|
|
|
|
|
2008-06-24 04:35:05 +02:00
|
|
|
@@ -5369,6 +5370,7 @@ fr_window_construct (FrWindow *window)
|
2007-07-10 17:48:18 +02:00
|
|
|
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
|
|
|
|
2008-06-24 04:35:05 +02:00
|
|
|
@@ -8406,6 +8408,7 @@ fr_window_new_batch (FrWindow *window)
|
2007-07-10 17:48:18 +02:00
|
|
|
{
|
|
|
|
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
|
|
|
|