[gnome-todo] new-task-row: Grab focus after creating task
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] new-task-row: Grab focus after creating task
- Date: Tue, 5 May 2020 00:54:43 +0000 (UTC)
commit 4eb11f345ab03f61c25a08be5ff5aa02f575c8ec
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon May 4 21:48:54 2020 -0300
new-task-row: Grab focus after creating task
src/task-list-view/gtd-new-task-row.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/task-list-view/gtd-new-task-row.c b/src/task-list-view/gtd-new-task-row.c
index f3d0809..5d051f0 100644
--- a/src/task-list-view/gtd-new-task-row.c
+++ b/src/task-list-view/gtd-new-task-row.c
@@ -133,6 +133,7 @@ on_task_created_cb (GObject *object,
gtk_editable_set_text (GTK_EDITABLE (self->entry), "");
gtk_widget_set_sensitive (GTK_WIDGET (self->entry), TRUE);
+ gtk_widget_grab_focus (GTK_WIDGET (self->entry));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]