[gnome-software] app row: Never check the allow-cancel flag
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] app row: Never check the allow-cancel flag
- Date: Fri, 2 Mar 2018 14:22:32 +0000 (UTC)
commit 92324d653680981920735c7fae749d5b093ed18b
Author: Kalev Lember <klember redhat com>
Date: Fri Mar 2 15:16:20 2018 +0100
app row: Never check the allow-cancel flag
We don't have any UI in the app row to cancel an ongoing install/remove
operation.
src/gs-app-row.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gs-app-row.c b/src/gs-app-row.c
index 6e249945..12f134bf 100644
--- a/src/gs-app-row.c
+++ b/src/gs-app-row.c
@@ -272,8 +272,7 @@ gs_app_row_refresh_button (GsAppRow *app_row, gboolean missing_search_result)
switch (gs_app_get_state (priv->app)) {
case AS_APP_STATE_INSTALLING:
case AS_APP_STATE_REMOVING:
- gtk_widget_set_sensitive (priv->button,
- gs_app_get_allow_cancel (priv->app));
+ gtk_widget_set_sensitive (priv->button, FALSE);
break;
default:
gtk_widget_set_sensitive (priv->button, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]