[rhythmbox] shell: deselect the active page on shutdown
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] shell: deselect the active page on shutdown
- Date: Tue, 13 Dec 2016 22:13:48 +0000 (UTC)
commit 921b95144a1edb7244514d7b331e3a9dee157f63
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Dec 14 08:09:49 2016 +1000
shell: deselect the active page on shutdown
This allows widgets such as the search bar to remove common mnemonics, avoiding
a warning on shutdown.
shell/rb-shell.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 555e0ee..7ae0227 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -2518,6 +2518,9 @@ rb_shell_quit (RBShell *shell,
/* or maybe just _quit */
/* g_application_release (G_APPLICATION (shell->priv->application)); */
+ /* deselect the current page so it drops mnemonics etc. */
+ rb_display_page_deselected (shell->priv->selected_page);
+
rb_settings_delayed_sync (shell->priv->settings, NULL, NULL, NULL);
gtk_widget_destroy (GTK_WIDGET (shell->priv->window));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]