summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-12-11 00:22:03 +0100
committerlukefromdc <[email protected]>2018-12-11 20:46:57 +0000
commit3b4ae2f8ed1dfe1bd6e7d25a862111016f8e72e5 (patch)
tree8f77054f20f4887b166690d04713314b3a976c5f /src
parent11bbca8174315bc8a1cbc76cdfc585e3e2e06cf6 (diff)
downloadengrampa-3b4ae2f8ed1dfe1bd6e7d25a862111016f8e72e5.tar.bz2
engrampa-3b4ae2f8ed1dfe1bd6e7d25a862111016f8e72e5.tar.xz
fr-window: show the pause button only if the dialog is working
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index 5fbee92..719c9ba 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2741,6 +2741,7 @@ open_progress_dialog (FrWindow *window,
create_the_progress_dialog (window);
gtk_widget_show (window->priv->pd_cancel_button);
+ gtk_widget_show (window->priv->pd_state_button);
gtk_widget_hide (window->priv->pd_open_archive_button);
gtk_widget_hide (window->priv->pd_open_destination_button);
gtk_widget_hide (window->priv->pd_open_destination_and_quit_button);
@@ -2822,6 +2823,7 @@ open_progress_dialog_with_open_destination (FrWindow *window)
create_the_progress_dialog (window);
gtk_widget_hide (window->priv->pd_cancel_button);
+ gtk_widget_hide (window->priv->pd_state_button);
gtk_widget_hide (window->priv->pd_open_archive_button);
gtk_widget_show (window->priv->pd_open_destination_button);
gtk_widget_show (window->priv->pd_open_destination_and_quit_button);
@@ -2847,6 +2849,7 @@ open_progress_dialog_with_open_archive (FrWindow *window)
create_the_progress_dialog (window);
gtk_widget_hide (window->priv->pd_cancel_button);
+ gtk_widget_hide (window->priv->pd_state_button);
gtk_widget_hide (window->priv->pd_open_destination_button);
gtk_widget_hide (window->priv->pd_open_destination_and_quit_button);
gtk_widget_show (window->priv->pd_open_archive_button);