diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-import-assistant.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/widgets/misc/e-import-assistant.c b/widgets/misc/e-import-assistant.c index 6a1e1f4787..9ff1a5c391 100644 --- a/widgets/misc/e-import-assistant.c +++ b/widgets/misc/e-import-assistant.c @@ -760,17 +760,10 @@ prepare_progress_page (GtkAssistant *assistant, priv = E_IMPORT_ASSISTANT_GET_PRIVATE (assistant); page = &priv->selection_page; -#if GTK_CHECK_VERSION(2,21,2) /* Because we're a GTK_ASSISTANT_PAGE_PROGRESS, this will * prevent the assistant window from being closed via window * manager decorations while importing. */ gtk_assistant_commit (assistant); -#else - /* Hide all GtkAssistant buttons. */ - gtk_widget_hide (assistant->back); - gtk_widget_hide (assistant->forward); - gtk_widget_hide (assistant->cancel); -#endif /* Install a custom "Cancel Import" button. */ cancel_button = gtk_button_new_with_mnemonic (_("_Cancel Import")); |