views/month-view-row: Replace "adjacent" with "underlying" cell

"Adjacent" is incorrect because we are focusing the cell that is
behind the event widget.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/816>
This commit is contained in:
Hari Rana
2026-08-25 22:02:50 -04:00
parent 2f8d74e75f
commit 14869fa02b
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1696,7 +1696,7 @@ gcal_month_view_focus (GtkWidget *widget,
row = gtk_widget_get_ancestor (focused, GCAL_TYPE_MONTH_VIEW_ROW);
return gcal_month_view_row_focus_adjacent_cell (GCAL_MONTH_VIEW_ROW (row), focused);
return gcal_month_view_row_focus_underlying_cell (GCAL_MONTH_VIEW_ROW (row), focused);
}
else if (focused)
{
@@ -1717,7 +1717,7 @@ gcal_month_view_focus (GtkWidget *widget,
return TRUE;
row = gtk_widget_get_ancestor (focused, GCAL_TYPE_MONTH_VIEW_ROW);
return gcal_month_view_row_focus_adjacent_cell (GCAL_MONTH_VIEW_ROW (row), focused);
return gcal_month_view_row_focus_underlying_cell (GCAL_MONTH_VIEW_ROW (row), focused);
}
}