Issue #14515: Fix stiff GIMP Debug Dialog
Closes: #14515 Also, make the dialog centered since it isn't modal to the, for example, crashed GIMP, it is independent.
This commit is contained in:
parent
40e147af11
commit
fe4cbb6512
1 changed files with 4 additions and 0 deletions
|
|
@ -116,6 +116,10 @@ gimp_critical_dialog_init (GimpCriticalDialog *dialog)
|
|||
|
||||
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
|
||||
gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
|
||||
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
gtk_window_set_titlebar (GTK_WINDOW (dialog), NULL);
|
||||
#endif
|
||||
|
||||
dialog->main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (dialog->main_vbox), 6);
|
||||
|
|
|
|||
Loading…
Reference in a new issue