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:
Georges Basile Stavracas Neto
2016-10-01 20:15:14 -03:00
parent 152f6ff8b7
commit e8dbe48baa
+3
View File
@@ -202,6 +202,9 @@ select_row (GcalQuickAddPopover *self,
/* Return to the events page */
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);
}