Commit 73dd1f2a authored by Guillaume Castagnino's avatar Guillaume Castagnino Committed by Nate Graham
Browse files

gtk3: custom GTK properties are case sensitive

Formating with prettier make those properties lower case.
But those properties are case sensitive.

Best way to see the issue: look at the scrollbars: the
steppers are not correctly hidden since commit
c18f2a47

BUG 446639


(cherry picked from commit 3785faeb)
parent cc0df194
......@@ -4,28 +4,28 @@ $ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
* {
padding: 0;
-gtktoolbutton-icon-spacing: 4;
-gtktextview-error-underline-color: gtk("@error_color");
-GtkToolbutton-icon-spacing: 4;
-GtkTextview-error-underline-color: gtk("@error_color");
// The size for scrollbars. The slider is 2px smaller, but we keep it
// up so that the whole area is sensitive to button presses for the
// slider. The stepper button is larger in both directions, the slider
// only in the width
-gtkscrolledwindow-scrollbar-spacing: 0;
-GtkScrolledwindow-scrollbar-spacing: 0;
-gtkscrolled-window-overlay-scrolling: FALSE;
-GtkScrolled-window-overlay-scrolling: FALSE;
-gtktoolitemgroup-expander-size: 11;
-gtktreeview-expander-size: 11;
-GtkToolitemgroup-expander-size: 11;
-GtkTreeview-expander-size: 11;
-gtktreeview-horizontal-separator: 4;
-GtkTreeview-horizontal-separator: 4;
-gtkwidget-text-handle-width: 20;
-gtkwidget-text-handle-height: 20;
-GtkWidget-text-handle-width: 20;
-GtkWidget-text-handle-height: 20;
-gtkdialog-button-spacing: 4;
-gtkdialog-action-area-border: 0;
-GtkDialog-button-spacing: 4;
-GtkDialog-action-area-border: 0;
outline-width: 0px;
}
......
......@@ -132,7 +132,7 @@ headerbar {
padding: 4px 6px;
GtkArrow {
-gtkarrow-arrow-scaling: 1;
-GtkArrow-arrow-scaling: 1;
}
.arrow {
......
......@@ -18,7 +18,7 @@
menubar,
.menubar {
-gtkwidget-window-dragging: true;
-GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: none;
border-style: none;
......
......@@ -5,8 +5,8 @@
**************/
scrollbar {
-gtkscrollbar-has-backward-stepper: false;
-gtkscrollbar-has-forward-stepper: false;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
background-color: gtk("@theme_bg_color");
border-width: 0px 0px;
......@@ -55,8 +55,8 @@ scrollbar {
} //
&.overlay-indicator:not(.dragging):not(.hovering) {
-gtkscrollbar-has-backward-stepper: false;
-gtkscrollbar-has-forward-stepper: false;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
}
&.overlay-indicator {
......
......@@ -4,7 +4,7 @@
* Toolbars *
************/
%toolbar {
-gtkwidget-window-dragging: true;
-GtkWidget-window-dragging: true;
padding: 4px;
background-color: gtk("@theme_bg_color");
}
......
......@@ -63,11 +63,11 @@
* Tree Views *
**************/
treeview.view {
-gtktreeview-grid-line-width: 0;
-gtktreeview-grid-line-pattern: "";
-gtktreeview-tree-line-width: 1;
-gtktreeview-tree-line-pattern: "";
-gtktreeview-expander-size: 16;
-GtkTreeview-grid-line-width: 0;
-GtkTreeview-grid-line-pattern: "";
-GtkTreeview-tree-line-width: 1;
-GtkTreeview-tree-line-pattern: "";
-GtkTreeview-expander-size: 16;
border-left-color: gtk(
"@borders"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment