gui: Replace Pango attributes

Blueprint doesn't support Pango attributes.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/567>
This commit is contained in:
Jamie Gravendeel
2025-06-08 12:47:12 +02:00
parent c03c501888
commit 2aceaa816f
4 changed files with 14 additions and 16 deletions
@@ -110,9 +110,9 @@
<object class="GtkLabel" id="web_sources_calendar_label">
<property name="label" translatable="yes">Calendars</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold" />
</attributes>
<style>
<class name="heading" />
</style>
</object>
</child>
<child>
+2 -4
View File
@@ -104,12 +104,10 @@
<child>
<object class="GtkLabel" id="placeholder_label">
<property name="vexpand">True</property>
<property name="label" translatable="yes">No event notes</property>
<property name="label" translatable="yes">&lt;i&gt;No event notes&lt;/i&gt;</property>
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<attributes>
<attribute name="style" value="italic" />
</attributes>
<property name="use-markup">True</property>
<style>
<class name="dim-label" />
</style>
+3 -3
View File
@@ -15,9 +15,9 @@
<child>
<object class="GtkLabel" id="title">
<property name="halign">start</property>
<attributes>
<attribute name="weight" value="bold" />
</attributes>
<style>
<class name="heading" />
</style>
</object>
</child>
<child>
+6 -6
View File
@@ -26,9 +26,9 @@
<child>
<object class="GtkLabel" id="title_label">
<property name="hexpand">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<style>
<class name="heading" />
</style>
<layout>
<property name="column">0</property>
<property name="row">0</property>
@@ -133,9 +133,9 @@
<child type="center">
<object class="GtkLabel">
<property name="label" translatable="yes">Calendar</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
<style>
<class name="heading" />
</style>
</object>
</child>
</object>