[gnome-contacts/wip/cdavis/typography-updates: 1/2] editor-persona: Use heading styling for heading
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/wip/cdavis/typography-updates: 1/2] editor-persona: Use heading styling for heading
- Date: Sat, 6 Feb 2021 06:27:52 +0000 (UTC)
commit 35dbfaab66617eccb9f632b291e07e15390afbf6
Author: Christopher Davis <brainblasted disroot org>
Date: Fri Feb 5 22:02:46 2021 -0800
editor-persona: Use heading styling for heading
Uses GTK's styling for headings to denote the headers
in the editor.
src/contacts-editor-persona.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/contacts-editor-persona.vala b/src/contacts-editor-persona.vala
index d3410b8a..cc0fe488 100644
--- a/src/contacts-editor-persona.vala
+++ b/src/contacts-editor-persona.vala
@@ -162,6 +162,7 @@ public class Contacts.EditorPersona : Gtk.Box {
}
Gtk.Label addressbook = new Gtk.Label (title);
+ addressbook.get_style_context ().add_class ("heading");
this.header.pack_start (addressbook, false, false, 0);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]