[gnome-software] trivial: Show/hide the 'Launch' button as software is removed and installed



commit 0f9119edfe20bd96f4a0d4620c63fe29a0431bee
Author: Richard Hughes <richard hughsie com>
Date:   Tue Nov 12 11:45:29 2013 +0000

    trivial: Show/hide the 'Launch' button as software is removed and installed

 src/gs-shell-details.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 0a38d83..98f4445 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -742,6 +742,7 @@ gs_shell_details_app_installed_cb (GObject *source,
 
        if (gs_app_get_state (helper->app) != GS_APP_STATE_QUEUED)
                gs_app_notify_installed (helper->app);
+       gs_shell_details_refresh_all (helper->shell_details);
        g_object_unref (helper->shell_details);
        g_object_unref (helper->app);
        g_free (helper);
@@ -775,7 +776,7 @@ gs_shell_details_app_removed_cb (GObject *source,
                return;
        }
 
-       gs_shell_details_refresh (helper->shell_details);
+       gs_shell_details_refresh_all (helper->shell_details);
        g_object_unref (helper->shell_details);
        g_object_unref (helper->app);
        g_free (helper);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]