views/month-view: Skip view when tabbing backward with Control on event widget
When an event widget is focused, there is no way to skip the entire view with key combinations. This patch addresses this by allowing the user to skip the entire view when pressing Ctrl+Shift+Tab. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/817>
This commit is contained in:
@@ -1702,6 +1702,9 @@ gcal_month_view_focus (GtkWidget *widget,
|
||||
if (gtk_widget_is_ancestor (focused, self->overflow.popover))
|
||||
GCAL_RETURN (gtk_widget_grab_focus (self->overflow.relative_to));
|
||||
|
||||
if (direction == GTK_DIR_TAB_BACKWARD)
|
||||
GCAL_RETURN (FALSE);
|
||||
|
||||
row = gtk_widget_get_ancestor (focused, GCAL_TYPE_MONTH_VIEW_ROW);
|
||||
|
||||
GCAL_RETURN (gcal_month_view_row_focus_underlying_cell (GCAL_MONTH_VIEW_ROW (row), focused));
|
||||
|
||||
Reference in New Issue
Block a user