[gnome-software] details: Refresh the page after remove confirumation dialog



commit 5c8918900f000b9f29c2edcffdbe60edbec0c9e8
Author: Kalev Lember <kalevlember gmail com>
Date:   Mon Aug 11 21:01:49 2014 +0200

    details: Refresh the page after remove confirumation dialog
    
    This fixes an issue where cancelling the remove confirmation dialog
    could leave the add-on checkboxes in wrong state.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1128354

 src/gs-shell-details.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 362e9af..0900f8e 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1130,6 +1130,9 @@ gs_shell_details_app_remove (GsShellDetails *shell_details, GsApp *app)
        }
        g_string_free (markup, TRUE);
        gtk_widget_destroy (dialog);
+
+       gs_shell_details_refresh_addons (shell_details);
+       gs_shell_details_refresh_all (shell_details);
 }
 
 /**


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