views/month-view: Skip view when tabbing with Control on month cell
We want to skip the entire view, because, otherwise, it runs gcal_month_view_row_focus_underlying_cell(). Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/817>
This commit is contained in:
@@ -1691,6 +1691,12 @@ gcal_month_view_focus (GtkWidget *widget,
|
|||||||
{
|
{
|
||||||
g_assert_nonnull (focused);
|
g_assert_nonnull (focused);
|
||||||
|
|
||||||
|
if (GCAL_IS_MONTH_CELL (focused))
|
||||||
|
{
|
||||||
|
gcal_view_clear_marks (GCAL_VIEW (self));
|
||||||
|
GCAL_RETURN (FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
gcal_month_popover_popdown (GCAL_MONTH_POPOVER (self->overflow.popover));
|
gcal_month_popover_popdown (GCAL_MONTH_POPOVER (self->overflow.popover));
|
||||||
|
|
||||||
if (gtk_widget_is_ancestor (focused, self->overflow.popover))
|
if (gtk_widget_is_ancestor (focused, self->overflow.popover))
|
||||||
|
|||||||
Reference in New Issue
Block a user