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

Proposed by Carlo Lobrano
Status: Merged
Approved by: Marco Trevisan (Treviño)
Approved revision: 554
Merged at revision: 559
Proposed branch: lp:~c-lobrano/ubuntu-themes/fix-1700218
Merge into: lp:ubuntu-themes
Diff against target: 37 lines (+16/-0)
2 files modified
Ambiance/gtk-3.20/gtk-widgets.css (+8/-0)
Radiance/gtk-3.20/gtk-widgets.css (+8/-0)
To merge this branch: bzr merge lp:~c-lobrano/ubuntu-themes/fix-1700218
Reviewer Review Type Date Requested Status
Marco Trevisan (Treviño) Approve
Review via email: mp+327422@code.launchpad.net

Commit message

Added support for GtkTextView::monospace

Added font-family monospace for textview with monospace class.
Moreover, this commit added the code to keep the initial font style for context-menus opened in this textview.

To post a comment you must log in.
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Thanks!

review: Approve

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-07-14 12:49:51 +0000
4@@ -1947,6 +1947,14 @@
5 background-color: @base_color;
6 }
7
8+textview.monospace {
9+ font-family: monospace;
10+}
11+
12+textview.monospace .context-menu {
13+ font: initial;
14+}
15+
16 /*
17 * Header Bars and decorations
18 *
19
20=== modified file 'Radiance/gtk-3.20/gtk-widgets.css'
21--- Radiance/gtk-3.20/gtk-widgets.css 2017-06-09 08:46:35 +0000
22+++ Radiance/gtk-3.20/gtk-widgets.css 2017-07-14 12:49:51 +0000
23@@ -1946,6 +1946,14 @@
24 background-color: @base_color;
25 }
26
27+textview.monospace {
28+ font-family: monospace;
29+}
30+
31+textview.monospace .context-menu {
32+ font: initial;
33+}
34+
35 /*
36 * Header Bars and decorations
37 *

Subscribers

People subscribed via source and target branches