[gtk+] Adwaita: allow window drag on menubars and toolbars
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: allow window drag on menubars and toolbars
- Date: Tue, 19 Aug 2014 17:08:05 +0000 (UTC)
commit bdaf5c8f8b1a9b2ce1bfb1559d9d112186ab4010
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Aug 19 19:06:42 2014 +0200
Adwaita: allow window drag on menubars and toolbars
- reported as regression
gtk/resources/theme/Adwaita/_common.scss | 2 ++
gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++
gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss
index 2ecb2ea..1a273df 100644
--- a/gtk/resources/theme/Adwaita/_common.scss
+++ b/gtk/resources/theme/Adwaita/_common.scss
@@ -786,6 +786,7 @@ GtkComboBox {
* Toolbars *
************/
.toolbar {
+ -GtkWidget-window-dragging: true;
padding: 4px;
background-color: $bg_color;
.osd & {
@@ -1110,6 +1111,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
* Menus *
*********/
.menubar {
+ -GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px transparentize(black, 0.9);
&:backdrop { background-color: $backdrop_bg_color; }
diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
index 20e78c9..a8c475c 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css
@@ -890,6 +890,7 @@ GtkComboBox {
* Toolbars *
************/
.toolbar, .inline-toolbar, .search-bar {
+ -GtkWidget-window-dragging: true;
padding: 4px;
background-color: #393f3f; }
.osd .toolbar, .osd .inline-toolbar, .osd .search-bar {
@@ -1219,6 +1220,7 @@ GtkTreeView.view.progressbar {
* Menus *
*********/
.menubar {
+ -GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
.menubar:backdrop {
diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css
index 16f3be2..6fccd29 100644
--- a/gtk/resources/theme/Adwaita/gtk-contained.css
+++ b/gtk/resources/theme/Adwaita/gtk-contained.css
@@ -882,6 +882,7 @@ GtkComboBox {
* Toolbars *
************/
.toolbar, .inline-toolbar, .search-bar {
+ -GtkWidget-window-dragging: true;
padding: 4px;
background-color: #ededed; }
.osd .toolbar, .osd .inline-toolbar, .osd .search-bar {
@@ -1213,6 +1214,7 @@ GtkTreeView.view.progressbar {
* Menus *
*********/
.menubar {
+ -GtkWidget-window-dragging: true;
padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
.menubar:backdrop {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]