[gnome-software] Don't special case the details page when saving the back button state
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Don't special case the details page when saving the back button state
- Date: Tue, 19 Mar 2019 11:11:06 +0000 (UTC)
commit 19ffbee42f8560dcc5ea501d50fc67d2a9bc8cf7
Author: Kalev Lember <klember redhat com>
Date: Tue Mar 19 10:54:27 2019 +0000
Don't special case the details page when saving the back button state
Partially revert commit cbdbadf76f322aab560a5855a0f1e95517133d0e.
This caused the back button to not show up when opening a details page,
closing the gnone-software window, and then invoking it again through
'gnome-software --local-filename'.
The next commit fixes the state handling in a different way so that we
should never end up going back to a details page.
Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/618
src/gs-shell.c | 6 ------
1 file changed, 6 deletions(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index 4b77cce5..d44d3d27 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -383,12 +383,6 @@ save_back_entry (GsShell *shell)
BackEntry *entry;
GsPage *page;
- /* never go back to a details page */
- if (priv->mode == GS_SHELL_MODE_DETAILS) {
- g_debug ("ignoring back entry for details");
- return;
- }
-
entry = g_new0 (BackEntry, 1);
entry->mode = priv->mode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]