[libadwaita/wip/sophie-h/pref-row-markup] Default to use-markup=FALSE for ComboRow
- From: Sophie Herold <sophieherold src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/sophie-h/pref-row-markup] Default to use-markup=FALSE for ComboRow
- Date: Mon, 4 Apr 2022 20:14:10 +0000 (UTC)
commit 717f260288402eb56ab2894f766aec466e831031
Author: Sophie Herold <sophie hemio de>
Date: Mon Apr 4 22:13:50 2022 +0200
Default to use-markup=FALSE for ComboRow
src/adw-combo-row.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/adw-combo-row.c b/src/adw-combo-row.c
index a1d46aee..56a47122 100644
--- a/src/adw-combo-row.c
+++ b/src/adw-combo-row.c
@@ -521,6 +521,8 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
*
* If `TRUE`, you should not access [property@ActionRow:subtitle].
*
+ * The subtitle can be interpreted as Pango markup if [property@PreferencesRow:use-markup] is set to
`TRUE`.
+ *
* Since: 1.0
*/
props[PROP_USE_SUBTITLE] =
@@ -549,6 +551,7 @@ adw_combo_row_init (AdwComboRow *self)
{
gtk_widget_init_template (GTK_WIDGET (self));
+ adw_preferences_row_set_use_markup (ADW_PREFERENCES_ROW (self), FALSE);
set_default_factory (self);
model_changed (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]