theme: Stop hiding titlebar buttons in dialogs

As design patterns have evolved, dialogs that use CSD do use titlebar
buttons, so it's time to re-enable them for SSD as well.

https://bugzilla.gnome.org/show_bug.cgi?id=641630
This commit is contained in:
Florian Müllner 2015-10-05 11:11:42 +02:00
parent 54557f062e
commit 86d8c3954f

View File

@ -915,11 +915,9 @@ meta_theme_get_default (void)
switch (frame_type) switch (frame_type)
{ {
case META_FRAME_TYPE_NORMAL: case META_FRAME_TYPE_NORMAL:
break;
case META_FRAME_TYPE_DIALOG: case META_FRAME_TYPE_DIALOG:
case META_FRAME_TYPE_MODAL_DIALOG: case META_FRAME_TYPE_MODAL_DIALOG:
case META_FRAME_TYPE_ATTACHED: case META_FRAME_TYPE_ATTACHED:
layout->hide_buttons = TRUE;
break; break;
case META_FRAME_TYPE_MENU: case META_FRAME_TYPE_MENU:
case META_FRAME_TYPE_UTILITY: case META_FRAME_TYPE_UTILITY: