Merge lp:~3v1n0/ubuntu-themes/non-titlebar-headerbar-as-toolbar into lp:ubuntu-themes

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 548
Merged at revision: 547
Proposed branch: lp:~3v1n0/ubuntu-themes/non-titlebar-headerbar-as-toolbar
Merge into: lp:ubuntu-themes
Prerequisite: lp:~3v1n0/ubuntu-themes/titlebar-separator-theme
Diff against target: 43 lines (+8/-0)
2 files modified
Ambiance/gtk-3.20/gtk-widgets.css (+4/-0)
Radiance/gtk-3.20/gtk-widgets.css (+4/-0)
To merge this branch: bzr merge lp:~3v1n0/ubuntu-themes/non-titlebar-headerbar-as-toolbar
Reviewer Review Type Date Requested Status
Iain Lane :not's cleaning Pending
Ubuntu Artwork Packagers Pending
Review via email: mp+324267@code.launchpad.net

This proposal supersedes a proposal from 2017-05-18.

Commit message

Ambiance, Radiance: apply toolbar style to headerbars that are not child or are not .titlebar's

Some patched apps to work in Unity have converted headerbar's to toolbars
in the wrong way, not to fix them all this is the faster (and safer, so far) way.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Ambiance/gtk-3.20/gtk-widgets.css'
2--- Ambiance/gtk-3.20/gtk-widgets.css 2017-05-18 15:49:35 +0000
3+++ Ambiance/gtk-3.20/gtk-widgets.css 2017-05-18 15:49:35 +0000
4@@ -2174,6 +2174,8 @@
5 * primary-toolbar *
6 *******************/
7 .primary-toolbar,
8+/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
9+:not(.titlebar) > headerbar:not(.titlebar),
10 .titlebar.toolbar-mode {
11 -GtkWidget-window-dragging: true;
12
13@@ -2193,6 +2195,8 @@
14 }
15
16 .primary-toolbar:backdrop,
17+/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
18+:not(.titlebar) > headerbar:not(.titlebar):backdrop,
19 .titlebar.toolbar-mode:backdrop {
20 background-image: none;
21 background-color: @dark_bg_color;
22
23=== modified file 'Radiance/gtk-3.20/gtk-widgets.css'
24--- Radiance/gtk-3.20/gtk-widgets.css 2017-05-18 15:49:35 +0000
25+++ Radiance/gtk-3.20/gtk-widgets.css 2017-05-18 15:49:35 +0000
26@@ -2177,6 +2177,8 @@
27 * primary-toolbar *
28 *******************/
29 .primary-toolbar,
30+/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
31+:not(.titlebar) > headerbar:not(.titlebar),
32 .titlebar.toolbar-mode {
33 -GtkWidget-window-dragging: true;
34
35@@ -2196,6 +2198,8 @@
36 }
37
38 .primary-toolbar:backdrop,
39+/* Workaround for LP: #1689239, selects headerbars used as toolbar in Unity */
40+:not(.titlebar) > headerbar:not(.titlebar):backdrop,
41 .titlebar.toolbar-mode:backdrop {
42 background-image: none;
43 background-color: @dark_bg_color;

Subscribers

People subscribed via source and target branches