[geary] Don't allow border-radius in headerbars when using server-side decorations



commit 06e6b59bc8c55f0e9b6107407637e6c4724b180f
Author: Robert Schroll <rschroll gmail com>
Date:   Fri Mar 13 14:44:43 2015 -0400

    Don't allow border-radius in headerbars when using server-side decorations
    
    The Ambiance theme isn't smart enough to give headerbars square corners
    when they aren't being used as title bars.  In this case, they're always
    inside vertical Gtk.Boxes, so we target a CSS rule at that.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=746172

 src/client/components/main-window.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/client/components/main-window.vala b/src/client/components/main-window.vala
index ab6ce51..2f83f26 100644
--- a/src/client/components/main-window.vala
+++ b/src/client/components/main-window.vala
@@ -170,7 +170,8 @@ public class MainWindow : Gtk.ApplicationWindow {
                 border-top-width: 0px;
             }
             ComposerEmbed GtkHeaderBar,
-            ComposerBox GtkHeaderBar {
+            ComposerBox GtkHeaderBar,
+            GtkBox.vertical GtkHeaderBar {
                 border-radius: 0px;
             }
             .geary-titlebar-left:dir(ltr),


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