Merge lp:~mathias-porten/scratch/fix-1467148 into lp:~elementary-apps/scratch/scratch

Proposed by mporten
Status: Merged
Approved by: xapantu
Approved revision: 1544
Merged at revision: 1544
Proposed branch: lp:~mathias-porten/scratch/fix-1467148
Merge into: lp:~elementary-apps/scratch/scratch
Diff against target: 13 lines (+2/-1)
1 file modified
src/Dialogs/PreferencesDialog.vala (+2/-1)
To merge this branch: bzr merge lp:~mathias-porten/scratch/fix-1467148
Reviewer Review Type Date Requested Status
xapantu (community) Approve
Review via email: mp+268302@code.launchpad.net

Commit message

Fix bug #1467148: Changed bold sections in Preferences Dialog to h4

Description of the change

Changed bold sections in Preferences Dialog to h4. Now in the right way: with label.get_style_context ().add_class("h4"), as supposed.

To post a comment you must log in.
Revision history for this message
xapantu (xapantu) wrote :

Thanks, that works fine :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Dialogs/PreferencesDialog.vala'
2--- src/Dialogs/PreferencesDialog.vala 2015-07-06 17:30:24 +0000
3+++ src/Dialogs/PreferencesDialog.vala 2015-08-18 08:38:51 +0000
4@@ -103,7 +103,8 @@
5
6 void add_section (Gtk.Grid grid, Gtk.Label name, ref int row) {
7 name.use_markup = true;
8- name.set_markup ("<b>%s</b>".printf (name.get_text ()));
9+ name.set_markup (name.get_text ());
10+ name.get_style_context ().add_class("h4");
11 name.halign = Gtk.Align.START;
12 grid.attach (name, 0, row, 1, 1);
13 row ++;

Subscribers

People subscribed via source and target branches