[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 278/331] Revert "Disable reviews for snaps"
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 278/331] Revert "Disable reviews for snaps"
- Date: Wed, 4 May 2016 14:21:54 +0000 (UTC)
commit e871d8819caf243936d692dfca297835dddc09e9
Author: William Hua <william hua canonical com>
Date: Tue Apr 19 13:44:08 2016 -0400
Revert "Disable reviews for snaps"
This reverts commit c8678907cc49b7ec6e601bf9660f3a31dc6fc9ff.
src/gs-shell-details.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 5f942e6..359ef82 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1343,17 +1343,6 @@ gs_shell_details_set_app (GsShellDetails *self, GsApp *app)
g_signal_handlers_disconnect_by_func (self->app, gs_shell_details_notify_state_changed_cb,
self);
g_signal_handlers_disconnect_by_func (self->app, gs_shell_details_progress_changed_cb, self);
}
-
- if (g_strcmp0 (gs_app_get_management_plugin (app), "snappy") == 0) {
- self->enable_reviews = FALSE;
- gtk_widget_set_visible (self->button_review, FALSE);
- } else {
- /* show review widgets if we have plugins that provide them */
- self->enable_reviews =
- gs_plugin_loader_get_plugin_supported (self->plugin_loader,
- "gs_plugin_review_submit");
- }
-
/* save app */
g_set_object (&self->app, app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]