Skip to content

Commit

Permalink
File delete dialog: show repeat action checkbox
Browse files Browse the repository at this point in the history
The checkbox needs to be explicitly shown via gtk_widget_show(). This
re-enables user to delete multiple files without having to confirm each
and every one.

https://bugzilla.gnome.org/show_bug.cgi?id=795974
  • Loading branch information
rokm authored and amigadave committed May 9, 2018
1 parent 7e313d2 commit 8354e8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/application_window.c
Expand Up @@ -362,6 +362,7 @@ delete_file (ET_File *ETFile, gboolean multiple_files, GError **error)
basename_utf8);
message_area = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(msgdialog));
msgdialog_check_button = gtk_check_button_new_with_label(_("Repeat action for the remaining files"));
gtk_widget_show(GTK_WIDGET(msgdialog_check_button));
gtk_container_add(GTK_CONTAINER(message_area),msgdialog_check_button);
gtk_dialog_add_buttons (GTK_DIALOG (msgdialog), _("_Skip"),
GTK_RESPONSE_NO, _("_Cancel"),
Expand Down

0 comments on commit 8354e8a

Please sign in to comment.