Skip to content
Browse files
close-confirmation-dialog: Fix: don't resize the dialog unexpectedly
Fixes #356
  • Loading branch information
sc0w committed Aug 21, 2018
1 parent 957fc58 commit 320a44d23c9c8209042d7df2161e9fadd4a478cc
Showing with 5 additions and 1 deletion.
  1. +5 −1 pluma/dialogs/pluma-close-confirmation-dialog.c
@@ -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

0 comments on commit 320a44d

Please sign in to comment.