Skip to content
Permalink
Browse files

fr-window: show the pause button only if the dialog is working

  • Loading branch information...
sc0w authored and lukefromdc committed Dec 10, 2018
1 parent 11bbca8 commit 3b4ae2f8ed1dfe1bd6e7d25a862111016f8e72e5
Showing with 3 additions and 0 deletions.
  1. +3 −0 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);

0 comments on commit 3b4ae2f

Please sign in to comment.
You can’t perform that action at this time.