[mutter] theme: Stop hiding titlebar buttons in dialogs



commit 86d8c3954fe2f9e206d92710f6e28888dd34d995
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Oct 5 11:11:42 2015 +0200

    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

 src/ui/theme.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/ui/theme.c b/src/ui/theme.c
index be2460c..b4f1b03 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -915,11 +915,9 @@ meta_theme_get_default (void)
       switch (frame_type)
         {
         case META_FRAME_TYPE_NORMAL:
-          break;
         case META_FRAME_TYPE_DIALOG:
         case META_FRAME_TYPE_MODAL_DIALOG:
         case META_FRAME_TYPE_ATTACHED:
-          layout->hide_buttons = TRUE;
           break;
         case META_FRAME_TYPE_MENU:
         case META_FRAME_TYPE_UTILITY:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]