Skip to content


close-confirmation-dialog: Fix: don't resize the dialog unexpectedly
Browse files Browse the repository at this point in the history
Fixes #356
  • Loading branch information
sc0w committed Aug 21, 2018
1 parent 9cb7cae commit 315ab11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pluma/dialogs/pluma-close-confirmation-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,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 315ab11

Please sign in to comment.