quick-add-popover: focus "Create" button after selecting an agenda
So that the keyboard flow is smooth and clean. https://bugzilla.gnome.org/show_bug.cgi?id=770714
This commit is contained in:
@@ -202,6 +202,9 @@ select_row (GcalQuickAddPopover *self,
|
|||||||
/* Return to the events page */
|
/* Return to the events page */
|
||||||
gtk_stack_set_visible_child_name (GTK_STACK (self->stack), "events");
|
gtk_stack_set_visible_child_name (GTK_STACK (self->stack), "events");
|
||||||
|
|
||||||
|
/* Focus back the "Create" button */
|
||||||
|
gtk_widget_grab_focus (self->add_button);
|
||||||
|
|
||||||
g_clear_object (&circle_pixbuf);
|
g_clear_object (&circle_pixbuf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user