From ce8a98e21b96e7bc37abfb013791a895d38f9313 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 7 Feb 2016 04:11:55 +0100 Subject: [PATCH] win32 theme: Get rid of deprecated style properties That's pretty easy, because we can just delete them. The theme is broken either way. --- gtk/theme/win32/gtk-win32-base.css | 19 ++++++++----------- gtk/theme/win32/gtk.css | 2 -- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/gtk/theme/win32/gtk-win32-base.css b/gtk/theme/win32/gtk-win32-base.css index 6aa899a246..7ebbd78339 100644 --- a/gtk/theme/win32/gtk-win32-base.css +++ b/gtk/theme/win32/gtk-win32-base.css @@ -27,13 +27,19 @@ viewport { * { color: -gtk-win32-color(button, 18); - -GtkWidget-link-color: -gtk-win32-color(button, 26); - -GtkWidget-visited-link-color: -gtk-win32-color(button, 26); border-color: shade (@bg_color, 0.6); -GtkScrolledWindow-scrollbars-spacing: 0; } +:link { + color: -gtk-win32-color(button, 26); +} + +:visited { + color: -gtk-win32-color(button, 26); +} + frame { border-width: 2px; border-style: solid; @@ -133,9 +139,6 @@ button { background-color: transparent; background-image: -gtk-win32-theme-part(button, 1 1); border-width: 0; - -GtkWidget-focus-line-width: 1; - -GtkWidget-focus-padding: 3; - -GtkButton-default-border: 0px; padding: 3px; } @@ -946,12 +949,6 @@ menu * { padding: 2px; } -/* Make arrows a bit smaller to fit better into W32 theme - FIXME: they still have the wrong style though - angle instead of a filled triangle */ -menuitem { - -GtkMenuItem-arrow-scaling: 0.5; -} - /* Assistant */ GtkAssistant .sidebar .highlight { diff --git a/gtk/theme/win32/gtk.css b/gtk/theme/win32/gtk.css index 906bebc25b..7f8098abd6 100644 --- a/gtk/theme/win32/gtk.css +++ b/gtk/theme/win32/gtk.css @@ -106,8 +106,6 @@ notebook { * first(last in RTL?) tab has extra gap that disappears (due to overlapping) when this tab activates This can't be emulated in GTK, so we won't even try. */ - -GtkNotebook-tab-overlap: 0; - -GtkNotebook-tab-curvature: 0; } notebook tab {