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"> <object class="GtkLabel" id="web_sources_calendar_label">
<property name="label" translatable="yes">Calendars</property> <property name="label" translatable="yes">Calendars</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<attributes> <style>
<attribute name="weight" value="bold" /> <class name="heading" />
</attributes> </style>
</object> </object>
</child> </child>
<child> <child>
+2 -4
View File
@@ -104,12 +104,10 @@
<child> <child>
<object class="GtkLabel" id="placeholder_label"> <object class="GtkLabel" id="placeholder_label">
<property name="vexpand">True</property> <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-top">12</property>
<property name="margin-bottom">12</property> <property name="margin-bottom">12</property>
<attributes> <property name="use-markup">True</property>
<attribute name="style" value="italic" />
</attributes>
<style> <style>
<class name="dim-label" /> <class name="dim-label" />
</style> </style>
+3 -3
View File
@@ -15,9 +15,9 @@
<child> <child>
<object class="GtkLabel" id="title"> <object class="GtkLabel" id="title">
<property name="halign">start</property> <property name="halign">start</property>
<attributes> <style>
<attribute name="weight" value="bold" /> <class name="heading" />
</attributes> </style>
</object> </object>
</child> </child>
<child> <child>
+6 -6
View File
@@ -26,9 +26,9 @@
<child> <child>
<object class="GtkLabel" id="title_label"> <object class="GtkLabel" id="title_label">
<property name="hexpand">True</property> <property name="hexpand">True</property>
<attributes> <style>
<attribute name="weight" value="bold"/> <class name="heading" />
</attributes> </style>
<layout> <layout>
<property name="column">0</property> <property name="column">0</property>
<property name="row">0</property> <property name="row">0</property>
@@ -133,9 +133,9 @@
<child type="center"> <child type="center">
<object class="GtkLabel"> <object class="GtkLabel">
<property name="label" translatable="yes">Calendar</property> <property name="label" translatable="yes">Calendar</property>
<attributes> <style>
<attribute name="weight" value="bold"/> <class name="heading" />
</attributes> </style>
</object> </object>
</child> </child>
</object> </object>