Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
close-confirmation-dialog: Fix: don't resize the dialog unexpectedly
Fixes #356
  • Loading branch information
sc0w committed Aug 21, 2018
1 parent 957fc58 commit 320a44d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pluma/dialogs/pluma-close-confirmation-dialog.c
Expand Up @@ -776,7 +776,11 @@ build_multiple_docs_dialog (PlumaCloseConfirmationDialog *dlg)

gtk_label_set_mnemonic_widget (GTK_LABEL (select_label), treeview);

gtk_widget_show_all (hbox);
gtk_widget_show_all (hbox);

int new_width, new_height;
gtk_window_get_size (GTK_WINDOW (GTK_DIALOG (dlg)), &new_width, &new_height);
gtk_window_set_default_size (GTK_WINDOW (GTK_DIALOG (dlg)), new_width, new_height);
}

static void
Expand Down

0 comments on commit 320a44d

Please sign in to comment.