[gnome-calendar] quick-add-popover: focus "Create" button after selecting an agenda
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] quick-add-popover: focus "Create" button after selecting an agenda
- Date: Sat, 1 Oct 2016 23:15:20 +0000 (UTC)
commit e8dbe48baacf0e91efc342b2bb9785e0feefdc85
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Oct 1 20:15:14 2016 -0300
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
src/gcal-quick-add-popover.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-quick-add-popover.c b/src/gcal-quick-add-popover.c
index 705cf84..c75b531 100644
--- a/src/gcal-quick-add-popover.c
+++ b/src/gcal-quick-add-popover.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]