[gnome-todo/wip/lists] storage-popover: change focus back to list name entry
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo/wip/lists] storage-popover: change focus back to list name entry
- Date: Mon, 15 Jun 2015 14:14:49 +0000 (UTC)
commit bb189e889da19100ba2b45ff979750511551e7d4
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jun 15 11:14:00 2015 -0300
storage-popover: change focus back to list name entry
src/gtd-storage-popover.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-storage-popover.c b/src/gtd-storage-popover.c
index a443745..b8163ac 100644
--- a/src/gtd-storage-popover.c
+++ b/src/gtd-storage-popover.c
@@ -158,6 +158,10 @@ gtd_storage_popover__storage_selected (GtdStoragePopover *popover,
gtd_storage_get_icon (storage),
GTK_ICON_SIZE_BUTTON);
gtk_widget_set_tooltip_text (priv->change_location_button, gtd_storage_get_name (storage));
+
+ /* Go back immediately after selecting a storage */
+ gtk_stack_set_visible_child_name (GTK_STACK (priv->stack), "main");
+ gtk_widget_grab_focus (priv->new_list_name_entry);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]