record-row: Only create popover when needed

Creating a popover for each CallsCallRecordRow comes with a big performance
hit when scrolling the history, so we should avoid doing this.

Fixes #198
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-08 10:25:15 +01:00
parent 4353effa98
commit 4df3ea005d
2 changed files with 15 additions and 10 deletions

View File

@@ -97,9 +97,6 @@
</object>
</child>
</template>
<object class="GtkPopover" id="popover">
<property name="relative-to">CallsCallRecordRow</property>
</object>
<menu id="context_menu">
<section>
<item>