app: do not show close button to extensions dialog.

The "OK" button next to the close button is quite redundant.
This commit is contained in:
Jehan 2018-07-19 12:56:49 +02:00
parent e49cfd0e44
commit 955136e74b
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ extensions_dialog_new (Gimp *gimp)
_("_OK"), GTK_RESPONSE_OK,
NULL);
widget = gtk_window_get_titlebar (GTK_WINDOW (dialog));
gtk_header_bar_set_show_close_button (GTK_HEADER_BAR (widget),
FALSE);
g_signal_connect (dialog, "response",
G_CALLBACK (extensions_dialog_response),
dialog);