[gtk+] Adwaita: Don't set nonexisting style properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: Don't set nonexisting style properties
- Date: Sun, 11 Jan 2015 02:15:22 +0000 (UTC)
commit e15152c837b9d328f4d0a43cb591dcb2bb52aed3
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 10 21:14:02 2015 -0500
Adwaita: Don't set nonexisting style properties
These don't exist, so setting them can't do any good.
gtk/theme/Adwaita/_common.scss | 4 ----
gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++------
gtk/theme/Adwaita/gtk-contained.css | 8 ++------
3 files changed, 4 insertions(+), 16 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2774ee9..0d7513a 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1044,8 +1044,6 @@ GtkComboBox {
.separator.vertical {
// always disable separators
-GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0;
}
&.combobox-entry .entry { @extend %linked; }
&.combobox-entry .button, &.combobox-entry .button:backdrop {
@@ -2567,8 +2565,6 @@ GtkScrolledWindow {
GtkFontButton &.vertical {
// always disable separators
-GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0;
}
}
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 457e386..d6b7feb 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1531,9 +1531,7 @@ GtkComboBox {
GtkComboBox .menuitem {
text-shadow: none; }
GtkComboBox .separator.vertical, GtkComboBox GtkPlacesSidebar.sidebar .view .vertical.separator,
GtkPlacesSidebar.sidebar .view GtkComboBox .vertical.separator {
- -GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0; }
+ -GtkWidget-wide-separators: true; }
/************
* Toolbars *
@@ -3466,9 +3464,7 @@ GtkScrolledWindow GtkViewport.frame {
GtkPlacesSidebar.sidebar .view .separator:backdrop {
color: rgba(0, 0, 0, 0.1); }
GtkFileChooserButton .separator.vertical, GtkFileChooserButton GtkPlacesSidebar.sidebar .view
.vertical.separator, GtkPlacesSidebar.sidebar .view GtkFileChooserButton .vertical.separator, GtkFontButton
.separator.vertical, GtkFontButton GtkPlacesSidebar.sidebar .view .vertical.separator,
GtkPlacesSidebar.sidebar .view GtkFontButton .vertical.separator {
- -GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0; }
+ -GtkWidget-wide-separators: true; }
/*********
* Lists *
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index ed40257..8056131 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1531,9 +1531,7 @@ GtkComboBox {
GtkComboBox .menuitem {
text-shadow: none; }
GtkComboBox .separator.vertical, GtkComboBox GtkPlacesSidebar.sidebar .view .vertical.separator,
GtkPlacesSidebar.sidebar .view GtkComboBox .vertical.separator {
- -GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0; }
+ -GtkWidget-wide-separators: true; }
/************
* Toolbars *
@@ -3628,9 +3626,7 @@ GtkScrolledWindow GtkViewport.frame {
GtkPlacesSidebar.sidebar .view .separator:backdrop {
color: rgba(0, 0, 0, 0.1); }
GtkFileChooserButton .separator.vertical, GtkFileChooserButton GtkPlacesSidebar.sidebar .view
.vertical.separator, GtkPlacesSidebar.sidebar .view GtkFileChooserButton .vertical.separator, GtkFontButton
.separator.vertical, GtkFontButton GtkPlacesSidebar.sidebar .view .vertical.separator,
GtkPlacesSidebar.sidebar .view GtkFontButton .vertical.separator {
- -GtkWidget-wide-separators: true;
- -GtkWidget-horizontal-separator: 0;
- -GtkWidget-vertical-separator: 0; }
+ -GtkWidget-wide-separators: true; }
/*********
* Lists *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]