[metacity/gnome-3-18] theme (gtk+): stop hiding titlebar buttons in dialogs



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

    theme (gtk+): 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 7e1590c..5750668 100644
--- a/src/ui/theme.c
+++ b/src/ui/theme.c
@@ -5639,11 +5639,9 @@ theme_set_current_gtk (const gchar *name,
       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:
-            style->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]