mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
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:
parent
9dfaac19cc
commit
03a50260ec
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -121,6 +121,9 @@ create_row_cb (CallsCallRecord *record,
|
|||
|
||||
row_widget = GTK_WIDGET (calls_call_record_row_new (record));
|
||||
|
||||
g_debug ("Created new row [%p] for record [%p]",
|
||||
row_widget, record);
|
||||
|
||||
g_signal_connect (record,
|
||||
"call-delete",
|
||||
G_CALLBACK (delete_call_cb),
|
||||
|
|
Loading…
Reference in a new issue