[gnome-software/wip/kalev/fix-offline-updates: 2/2] update list: Don't make offline update buttons insensitive
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/fix-offline-updates: 2/2] update list: Don't make offline update buttons insensitive
- Date: Thu, 23 Mar 2017 17:46:32 +0000 (UTC)
commit 0645e4b8b3bc41886590696bf11a3aabccbebfea
Author: Kalev Lember <klember redhat com>
Date: Thu Mar 23 18:43:45 2017 +0100
update list: Don't make offline update buttons insensitive
Just remove setting them insensitive as we don't have any way currently
of making them sensitive again when the shell reboot dialog is
cancelled.
src/gs-update-list.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-update-list.c b/src/gs-update-list.c
index 1e66d06..0c67f43 100644
--- a/src/gs-update-list.c
+++ b/src/gs-update-list.c
@@ -193,7 +193,6 @@ gs_update_list_update_offline_firmware_cb (GtkButton *button,
{
g_autoptr(GsAppList) apps = gs_update_list_get_apps_for_section (update_list,
GS_UPDATE_LIST_SECTION_OFFLINE_FIRMWARE);
- gtk_widget_set_sensitive (GTK_WIDGET (button), FALSE);
g_signal_emit (update_list, signals[SIGNAL_UPDATE_ALL], 0, apps);
}
@@ -202,7 +201,6 @@ gs_update_list_update_offline_cb (GtkButton *button, GsUpdateList *update_list)
{
g_autoptr(GsAppList) apps = gs_update_list_get_apps_for_section (update_list,
GS_UPDATE_LIST_SECTION_OFFLINE);
- gtk_widget_set_sensitive (GTK_WIDGET (button), FALSE);
g_signal_emit (update_list, signals[SIGNAL_UPDATE_ALL], 0, apps);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]