[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:15:51 +0000 (UTC)
commit ebef0a1c5afe6b1bb6d0099a9687a2754bf00e61
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 | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/src/adw-combo-row.c b/src/adw-combo-row.c
index a1d46aee..2d04b724 100644
--- a/src/adw-combo-row.c
+++ b/src/adw-combo-row.c
@@ -521,6 +521,9 @@ adw_combo_row_class_init (AdwComboRowClass *klass)
*
* If `TRUE`, you should not access [property@ActionRow:subtitle].
*
+ * The subtitle is interpreted as Pango markup if
+ * [property@PreferencesRow:use-markup] is set to `TRUE`.
+ *
* Since: 1.0
*/
props[PROP_USE_SUBTITLE] =
@@ -549,6 +552,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]