[gtk+] win32 theme: Get rid of deprecated style properties
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32 theme: Get rid of deprecated style properties
- Date: Thu, 11 Feb 2016 02:46:22 +0000 (UTC)
commit ce8a98e21b96e7bc37abfb013791a895d38f9313
Author: Benjamin Otte <otte gnome org>
Date: Sun Feb 7 04:11:55 2016 +0100
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 6aa899a..7ebbd78 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 906bebc..7f8098a 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 {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]