[gnome-software/wip/rancell/ubuntu-3-20-rebase: 37/37] Only show the external installed notification on success
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-rebase: 37/37] Only show the external installed notification on success
- Date: Sat, 17 Jun 2017 09:28:38 +0000 (UTC)
commit 1b01e28b19dca683dbebaf7d2e7fcca6a8a32abf
Author: Richard Hughes <richard hughsie com>
Date: Mon Sep 12 16:50:58 2016 +0100
Only show the external installed notification on success
src/gs-page.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-page.c b/src/gs-page.c
index 34a2701..623182e 100644
--- a/src/gs-page.c
+++ b/src/gs-page.c
@@ -82,7 +82,7 @@ gs_page_app_installed_cb (GObject *source,
}
/* only show this if the window is not active */
- if (gs_app_get_state (helper->app) != AS_APP_STATE_QUEUED_FOR_INSTALL &&
+ if (gs_app_is_installed (helper->app) &&
!gs_shell_is_active (priv->shell))
gs_app_notify_installed (helper->app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]