Adwaita: allow window drag on menubars and toolbars

- reported as regression
This commit is contained in:
Jakub Steiner 2014-08-19 19:06:42 +02:00
parent f9724d1d34
commit bdaf5c8f8b
3 changed files with 6 additions and 0 deletions

View File

@ -786,6 +786,7 @@ GtkComboBox {
* Toolbars * * Toolbars *
************/ ************/
.toolbar { .toolbar {
-GtkWidget-window-dragging: true;
padding: 4px; padding: 4px;
background-color: $bg_color; background-color: $bg_color;
.osd & { .osd & {
@ -1110,6 +1111,7 @@ GtkTreeView.view.progressbar { //Progressbar in treeview cells
* Menus * * Menus *
*********/ *********/
.menubar { .menubar {
-GtkWidget-window-dragging: true;
padding: 0px; padding: 0px;
box-shadow: inset 0 -1px transparentize(black, 0.9); box-shadow: inset 0 -1px transparentize(black, 0.9);
&:backdrop { background-color: $backdrop_bg_color; } &:backdrop { background-color: $backdrop_bg_color; }

View File

@ -890,6 +890,7 @@ GtkComboBox {
* Toolbars * * Toolbars *
************/ ************/
.toolbar, .inline-toolbar, .search-bar { .toolbar, .inline-toolbar, .search-bar {
-GtkWidget-window-dragging: true;
padding: 4px; padding: 4px;
background-color: #393f3f; } background-color: #393f3f; }
.osd .toolbar, .osd .inline-toolbar, .osd .search-bar { .osd .toolbar, .osd .inline-toolbar, .osd .search-bar {
@ -1219,6 +1220,7 @@ GtkTreeView.view.progressbar {
* Menus * * Menus *
*********/ *********/
.menubar { .menubar {
-GtkWidget-window-dragging: true;
padding: 0px; padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); } box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
.menubar:backdrop { .menubar:backdrop {

View File

@ -882,6 +882,7 @@ GtkComboBox {
* Toolbars * * Toolbars *
************/ ************/
.toolbar, .inline-toolbar, .search-bar { .toolbar, .inline-toolbar, .search-bar {
-GtkWidget-window-dragging: true;
padding: 4px; padding: 4px;
background-color: #ededed; } background-color: #ededed; }
.osd .toolbar, .osd .inline-toolbar, .osd .search-bar { .osd .toolbar, .osd .inline-toolbar, .osd .search-bar {
@ -1213,6 +1214,7 @@ GtkTreeView.view.progressbar {
* Menus * * Menus *
*********/ *********/
.menubar { .menubar {
-GtkWidget-window-dragging: true;
padding: 0px; padding: 0px;
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); } box-shadow: inset 0 -1px rgba(0, 0, 0, 0.1); }
.menubar:backdrop { .menubar:backdrop {