[gtk+] Adwaita: draw combo box separators
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: draw combo box separators
- Date: Sun, 11 Jan 2015 01:29:21 +0000 (UTC)
commit 9c4d478dc77ae8f390c94b26b5148d8bb1c4472e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 10 20:25:56 2015 -0500
Adwaita: draw combo box separators
Killing the separator in the button had the unintended side effect
of also killing separators in the popup.
https://bugzilla.gnome.org/show_bug.cgi?id=742704
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 4 +---
gtk/theme/Adwaita/gtk-contained.css | 4 +---
3 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index cf1a559..0118084 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1041,7 +1041,7 @@ GtkComboBox {
color: $backdrop_insensitive_color;
}
.menuitem { text-shadow: none; }
- .separator {
+ .separator.vertical {
// always disable separators
-GtkWidget-wide-separators: true;
-GtkWidget-horizontal-separator: 0;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index d66e641..428b594 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1530,9 +1530,7 @@ GtkComboBox {
color: #5d6767; }
GtkComboBox .menuitem {
text-shadow: none; }
- GtkComboBox .separator, GtkComboBox GtkPlacesSidebar.sidebar .view .separator, GtkPlacesSidebar.sidebar
.view GtkComboBox .separator,
- GtkComboBox GtkPlacesSidebar.sidebar .view .separator:backdrop,
- GtkPlacesSidebar.sidebar .view GtkComboBox .separator:backdrop {
+ 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; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index fb9c9a1..a66d01f 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1530,9 +1530,7 @@ GtkComboBox {
color: #c7c7c7; }
GtkComboBox .menuitem {
text-shadow: none; }
- GtkComboBox .separator, GtkComboBox GtkPlacesSidebar.sidebar .view .separator, GtkPlacesSidebar.sidebar
.view GtkComboBox .separator,
- GtkComboBox GtkPlacesSidebar.sidebar .view .separator:backdrop,
- GtkPlacesSidebar.sidebar .view GtkComboBox .separator:backdrop {
+ 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]