diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-09-25 18:22:37 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-09-25 18:22:37 +0200 |
| commit | ca3326e09a30181127a3e49985538ef424b5e612 (patch) | |
| tree | 345eba9cb6ad06fbe969f6852907cfc11b86cd39 /ui/src/widgets/participant_row.cpp | |
| parent | 4c5d17bc8e6fceeb6fd9cc45c10f07b7bc639f49 (diff) | |
| download | turns-ca3326e09a30181127a3e49985538ef424b5e612.tar.xz turns-ca3326e09a30181127a3e49985538ef424b5e612.zip | |
core: rename property accessors of participant
Diffstat (limited to 'ui/src/widgets/participant_row.cpp')
| -rw-r--r-- | ui/src/widgets/participant_row.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/widgets/participant_row.cpp b/ui/src/widgets/participant_row.cpp index 305336e..0a2a3b6 100644 --- a/ui/src/widgets/participant_row.cpp +++ b/ui/src/widgets/participant_row.cpp @@ -86,13 +86,13 @@ namespace turns::ui::widgets if (participant) { - Glib::Binding::bind_property(participant->name(), m_title->property_label(), Glib::Binding::Flags::SYNC_CREATE); + Glib::Binding::bind_property(participant->property_name(), m_title->property_label(), Glib::Binding::Flags::SYNC_CREATE); - Glib::Binding::bind_property(participant->priority(), m_subtitle->property_label(), Glib::Binding::Flags::SYNC_CREATE, [](auto n) { + Glib::Binding::bind_property(participant->property_priority(), m_subtitle->property_label(), Glib::Binding::Flags::SYNC_CREATE, [](auto n) { return std::vformat(_(lang::priority_number), std::make_format_args(n)); }); - Glib::Binding::bind_property(participant->disposition(), + Glib::Binding::bind_property(participant->property_disposition(), m_toggle_defeated->property_css_classes(), Glib::Binding::Flags::SYNC_CREATE, [this](auto value) { @@ -105,7 +105,7 @@ namespace turns::ui::widgets return classes; }); - Glib::Binding::bind_property(participant->is_active(), property_css_classes(), Glib::Binding::Flags::SYNC_CREATE, [this](auto value) { + Glib::Binding::bind_property(participant->property_is_active(), property_css_classes(), Glib::Binding::Flags::SYNC_CREATE, [this](auto value) { auto classes = get_css_classes(); if (!value) { |
