history-box: Add debug statement

This helps in debugging in debugging
why the slice list model rebuilds the whole list
when a single call gets added.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
This commit is contained in:
Evangelos Ribeiro Tzaras
2024-09-05 21:37:01 +02:00
parent 9dfaac19cc
commit 03a50260ec
2 changed files with 4 additions and 0 deletions

View File

@@ -401,6 +401,7 @@ calls_call_record_row_button_press_event (GtkGestureClick* controller,
GtkWidget *self)
{
GdkEvent *event = gtk_event_controller_get_current_event (GTK_EVENT_CONTROLLER (controller));
if (gdk_event_triggers_context_menu (event)) {
context_menu (self, (GdkEvent *) event);
}