[gnome-todo/wip/jimmac/no-custom-devel-styling: 2/2] theme: use adwaita styling for nightly windows



commit baab4c9a5267960dee8da07ad2e0f441f4045fa4
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Oct 4 20:29:48 2018 +0200

    theme: use adwaita styling for nightly windows
    
    - no custom theming needed

 data/theme/Adwaita.css | 11 -----------
 src/gtd-window.c       |  2 +-
 2 files changed, 1 insertion(+), 12 deletions(-)
---
diff --git a/data/theme/Adwaita.css b/data/theme/Adwaita.css
index 55c5512..7009e02 100644
--- a/data/theme/Adwaita.css
+++ b/data/theme/Adwaita.css
@@ -127,17 +127,6 @@ image.color-circle-icon {
 .titlebar > separator:dir(rtl) { margin-right: -1px; }
 .titlebar > headerbar:first-child:dir(rtl) { margin-left: 1px; }
 
-window.development-version headerbar:last-child {
-    background: transparent -gtk-icontheme("system-run-symbolic") 80% 0/128px 128px no-repeat,
-                linear-gradient(to left,
-                                mix(@theme_fg_color, @theme_bg_color, 0.5) 0%,
-                                @theme_bg_color 25%);
-    color: alpha(@theme_fg_color, 0.2);
-}
-
-window.development-version headerbar label {
-    color: @theme_fg_color;
-}
 
 /* Color button */
 colorbutton.dark image {
diff --git a/src/gtd-window.c b/src/gtd-window.c
index f25b1f9..1815da9 100644
--- a/src/gtd-window.c
+++ b/src/gtd-window.c
@@ -109,7 +109,7 @@ setup_development_build (GtdWindow *self)
 
   context = gtk_widget_get_style_context (GTK_WIDGET (self));
 
-  gtk_style_context_add_class (context, "development-version");
+  gtk_style_context_add_class (context, "devel");
 }
 
 static gboolean


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