Merge lp:~c-lobrano/ubuntu-themes/fix-1701512 into lp:ubuntu-themes

Proposed by Carlo Lobrano
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 556
Merged at revision: 560
Proposed branch: lp:~c-lobrano/ubuntu-themes/fix-1701512
Merge into: lp:ubuntu-themes
Diff against target: 31 lines (+10/-0)
2 files modified
Ambiance/gtk-3.20/gtk-widgets.css (+5/-0)
Radiance/gtk-3.20/gtk-widgets.css (+5/-0)
To merge this branch: bzr merge lp:~c-lobrano/ubuntu-themes/fix-1701512
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
Ubuntu Artwork Packagers Pending
Review via email: mp+327057@code.launchpad.net

Commit message

Fixes support GtkTreeView separators

Added 2px min-height to treeview's separator in order to avoid vertical glitches
Added also a @border color to separator itself.

Description of the change

This patch is intended to fix lp:1701512 Ambiance and Radiance Gtk theme do not properly support GtkTreeView separators

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please remember to update Radiance/* with the same if required.

Revision history for this message
Carlo Lobrano (c-lobrano) wrote :

Sure. I will update the patch then

555. By Carlo Lobrano

Porting from Ambiance to Radiance

Ported fix for lp:1701512 from Ambiance to Radiance, which is affected as well.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Looks good, as for the gray color you chose, could you instead use one of the defined colors we have in gtk-main.css?

So that we reduce the usage of custom colors

Revision history for this message
Carlo Lobrano (c-lobrano) wrote :

Do you think that @borders would be ok? I'm trying to find a color with a
suitable name

On 10 August 2017 at 16:07, Marco Trevisan (Treviño) <mail@3v1n0.net> wrote:

> Looks good, as for the gray color you chose, could you instead use one of
> the defined colors we have in gtk-main.css?
>
> So that we reduce the usage of custom colors
> --
> https://code.launchpad.net/~c-lobrano/ubuntu-themes/fix-
> 1701512/+merge/327057
> You are the owner of lp:~c-lobrano/ubuntu-themes/fix-1701512.
>

556. By Carlo Lobrano

Replaced custom color with one from gtk-main

As per code review, this will reduce the usage of custom colors

Revision history for this message
Carlo Lobrano (c-lobrano) wrote :

I though it would be safe to discuss on the code directly and then I pushed the change. Let me know if this is OK

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Looks good, thanks

review: Approve
Revision history for this message
Carlo Lobrano (c-lobrano) wrote :

Great! Thanks

Revision history for this message
Adolfo Jayme Barrientos (fitojb) wrote :

Is anything blocking the merging of this patch?

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-06-09 08:46:35 +0000
3+++ Ambiance/gtk-3.20/gtk-widgets.css 2017-08-20 16:54:36 +0000
4@@ -1698,6 +1698,11 @@
5 color: shade (@bg_color, 0.92);
6 }
7
8+treeview.view.separator {
9+ min-height: 2px;
10+ color: @borders;
11+}
12+
13 separator.horizontal {
14 border-width: 1px 0 1px 0;
15 }
16
17=== modified file 'Radiance/gtk-3.20/gtk-widgets.css'
18--- Radiance/gtk-3.20/gtk-widgets.css 2017-06-09 08:46:35 +0000
19+++ Radiance/gtk-3.20/gtk-widgets.css 2017-08-20 16:54:36 +0000
20@@ -1697,6 +1697,11 @@
21 color: shade (@bg_color, 0.92);
22 }
23
24+treeview.view.separator {
25+ min-height: 2px;
26+ color: @borders;
27+}
28+
29 separator.horizontal {
30 border-width: 1px 0 1px 0;
31 }

Subscribers

People subscribed via source and target branches