[gnome-terminal/gnome-41] window: Add close button to info bar



commit 101c9d47451d2acd77823ab8d393f4545dede184
Author: Christian Persch <chpe src gnome org>
Date:   Sat Aug 28 20:55:35 2021 +0200

    window: Add close button to info bar
    
    ... to allow to view the text that's obscured by the info bar.
    
    (cherry picked from commit dbfd47a4aa66890c4eb9d19650c86488210c1040)

 src/terminal-info-bar.cc | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/terminal-info-bar.cc b/src/terminal-info-bar.cc
index dd2be784..1b451a67 100644
--- a/src/terminal-info-bar.cc
+++ b/src/terminal-info-bar.cc
@@ -73,6 +73,7 @@ terminal_info_bar_new (GtkMessageType type,
   info_bar = reinterpret_cast<GtkWidget*>
     (g_object_new (TERMINAL_TYPE_INFO_BAR,
                   "message-type", type,
+                   "show-close-button", true,
                   nullptr));
 
   va_start (args, first_button_text);


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