From 7b65680edad0a91cc34c4fc79c123fa57e0725ab Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Sat, 30 Jan 2016 01:21:05 +0100 Subject: Gtk+-3.20 BlueMenta: fix some warnings and don't use deprecations --- .../BlueMenta/gtk-3.0/gnome-applications.css | 2 +- .../BlueMenta/gtk-3.0/gtk-widgets-assets.css | 4 ++-- desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css | 17 ++++++++--------- desktop-themes/BlueMenta/gtk-3.0/mate-applications.css | 18 +++++++++--------- .../BlueMenta/gtk-3.0/other-applications.css | 2 +- 5 files changed, 21 insertions(+), 22 deletions(-) (limited to 'desktop-themes/BlueMenta') diff --git a/desktop-themes/BlueMenta/gtk-3.0/gnome-applications.css b/desktop-themes/BlueMenta/gtk-3.0/gnome-applications.css index 405c79bd..95bd1c28 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gnome-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gnome-applications.css @@ -21,7 +21,7 @@ } .nautilus-desktop.nautilus-canvas-item:active, -.nautilus-desktop.nautilus-canvas-item:prelight, +.nautilus-desktop.nautilus-canvas-item:hover, .nautilus-desktop.nautilus-canvas-item:selected { text-shadow: none; } diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css index 8840df4b..81074f8c 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets-assets.css @@ -25,8 +25,8 @@ headerbar > box > separator.vertical, .header-bar > GtkBox > .separator.vertical { - -GtkWidget-wide-separators: 1; /* deprecated, but ignored */ - -GtkWidget-separator-width: 2px; /* deprecated, but ignored */ +/* -GtkWidget-wide-separators: 1; deprecated */ +/* -GtkWidget-separator-width: 2px; deprecated */ background: transparent; border-width: 0 1px 0 1px; border-style: solid; diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css index 7f3e6fbc..0ec00702 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css @@ -68,11 +68,11 @@ /* Apply effects to insensitive and prelit images */ *:disabled { - -gtk-image-effect: dim; + -gtk-icon-effect: dim; } *:hover { - -gtk-image-effect: highlight; + -gtk-icon-effect: highlight; } .gtkstyle-fallback { @@ -2386,7 +2386,7 @@ notebook, border-width: 0px; background-color: shade (@theme_bg_color, 1.1); /* -GtkNotebook-initial-gap: 0; */ -/* -GtkNotebook-arrow-spacing: 5; *//* deprecated, but ignored */ +/* -GtkNotebook-arrow-spacing: 5; deprecated */ /* -GtkNotebook-tab-curvature: 0; -GtkNotebook-tab-overlap: 0; -GtkNotebook-has-tab-gap: false; @@ -2396,7 +2396,7 @@ notebook, notebook :hover, .notebook :hover { - -gtk-image-effect: highlight; /* deprecated, but ignored */ + -gtk-icon-effect: highlight; /* deprecated, but ignored */ color: @theme_fg_color; } @@ -2759,7 +2759,7 @@ GtkComboBox:disabled { combobox separator, GtkComboBox .separator { /* always disable separators */ - -GtkWidget-wide-separators: true; /* deprecated, but ignored */ +/* -GtkWidget-wide-separators: true; deprecated */ -GtkWidget-horizontal-separator: 0; -GtkWidget-vertical-separator: 0; } @@ -2882,7 +2882,7 @@ GtkFontButton .separator, GtkFileChooserButton .separator, GtkFileChooserWidget horizontal.separator { /* always disable separators */ - -GtkWidget-wide-separators: true; /* deprecated, but ignored */ +/* -GtkWidget-wide-separators: true; deprecated */ -GtkWidget-horizontal-separator: 0; -GtkWidget-vertical-separator: 0; } @@ -3205,7 +3205,7 @@ menubar menuitem:hover, menu menuitem, .menu .menuitem { background-color: transparent; - -GtkMenuItem-arrow-scaling: 0.6; /* deprecated, but ignored */ +/* -GtkMenuItem-arrow-scaling: 0.6; deprecated */ transition: all 150ms ease-out; padding: 6px 5px; } @@ -3273,8 +3273,7 @@ menuitem arrow, menuitem separator, .menuitem.separator { color: @menu_separator; - - -GtkMenuItem-horizontal-padding: 0; /* deprecated, but ignored */ +/* -GtkMenuItem-horizontal-padding: 0; deprecated */ } menuitem check, diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index 82bb43c1..dc9a8205 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -265,7 +265,7 @@ CajaDesktopWindow.background .caja-canvas-item:selected { } CajaDesktopWindow.background .caja-canvas-item:active, -CajaDesktopWindow.background .caja-canvas-item:prelight, +CajaDesktopWindow.background .caja-canvas-item:hover, CajaDesktopWindow.background .caja-canvas-item:selected { text-shadow: none; } @@ -307,7 +307,7 @@ CajaWindow .notebook tab .button.flat:hover { background-color: transparent; background-image: none; text-shadow: none; - icon-shadow: none; + -gtk-icon-shadow: none; border-image: none; } @@ -457,7 +457,7 @@ PanelMenuBar.menubar .menuitem:hover { /* set menubar menuitem separator */ PanelMenuBar.menubar .menu .menuitem.separator { color: @menu_separator; - -GtkMenuItem-horizontal-padding: 0; +/* -GtkMenuItem-horizontal-padding: 0; deprecated */ } /* set normal menubar menuitem */ @@ -495,7 +495,7 @@ PanelMenuButton .menu .menuitem { /* Mate menu menuitem separator */ PanelMenuButton .menu .menuitem.separator { color: @menu_separator; - -GtkMenuItem-horizontal-padding: 0; +/* -GtkMenuItem-horizontal-padding: 0; deprecated */ } /* desktop-applet, clockapplet, drivemount, character-map, @@ -633,7 +633,7 @@ WnckSelector.menubar .menu .menuitem:hover { /* set WnckSelector menuitem separator */WnckSelector.menubar .menu .menuitem.separator { color: @menu_separator; - -GtkMenuItem-horizontal-padding: 0; +/* -GtkMenuItem-horizontal-padding: 0; */ } /* WnckPager */ @@ -751,8 +751,8 @@ PlumaWindow .button.flat:hover { PlumaCloseButton.button.flat, PlumaCloseButton.button.flat:hover, -PlumaCloseButton:prelight.button.flat, -PlumaCloseButton:prelight.button.flat:hover { +PlumaCloseButton:hover.button.flat, +PlumaCloseButton:hover.button.flat:hover { padding: 1px; } @@ -764,7 +764,7 @@ PlumaWindow .notebook tab .button.flat:hover { background-image: none; box-shadow: inset 0 1px rgba(255,255,255,0), 0 1px rgba(255,255,255,0); text-shadow: none; - icon-shadow: none; + -gtk-icon-shadow: none; border-image: none; padding: 1px; } @@ -926,7 +926,7 @@ EomThumbNav .button.flat:hover { border-color: @menu_combobox_border; } -EomThumbNav .button.flat:insensitive { +EomThumbNav .button.flat:disabled { border-color: transparent; } diff --git a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css index 141a07f1..45cd3d90 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css @@ -170,7 +170,7 @@ NemoWindow .sidebar row:hover { } .nemo-desktop.nemo-canvas-item:active, -.nemo-desktop.nemo-canvas-item:prelight, +.nemo-desktop.nemo-canvas-item:hover, .nemo-desktop.nemo-canvas-item:selected { text-shadow: none; } -- cgit v1.2.1