[gnome-builder] greeter: switch back to browse mode after delete action
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] greeter: switch back to browse mode after delete action
- Date: Sat, 30 May 2015 05:32:44 +0000 (UTC)
commit a9a3fce59a2b6d1ef10d806013d3d134929a29bf
Author: Christian Hergert <christian hergert me>
Date: Fri May 29 22:32:40 2015 -0700
greeter: switch back to browse mode after delete action
Nothing more we can do here, so update filter state and switch back to
the default browse mode.
src/greeter/gb-greeter-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/greeter/gb-greeter-window.c b/src/greeter/gb-greeter-window.c
index 6eb4e91..d32c9e9 100644
--- a/src/greeter/gb-greeter-window.c
+++ b/src/greeter/gb-greeter-window.c
@@ -477,6 +477,10 @@ delete_selected_rows (GSimpleAction *action,
self->selected_count = 0;
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
+
+ egg_state_machine_set_state (self->state_machine, "browse");
+
+ gb_greeter_window_apply_filter_all (self);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]