[gnome-software/wip/rancell/ubuntu-3-20-1: 66/72] Disable app folders feature when run outside GNOME
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/ubuntu-3-20-1: 66/72] Disable app folders feature when run outside GNOME
- Date: Sat, 17 Jun 2017 12:00:16 +0000 (UTC)
commit 21492b9e1d5f6e2de2059dbeb29aa33aa2d98d5b
Author: Jeremy Bicha <jbicha linux com>
Date: Mon Jun 13 09:18:09 2016 -0400
Disable app folders feature when run outside GNOME
Other desktops don't support GNOME's app folders
https://bugzilla.gnome.org/show_bug.cgi?id=767378
src/gs-shell-installed.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell-installed.c b/src/gs-shell-installed.c
index 8c9c86a..5126ad4 100644
--- a/src/gs-shell-installed.c
+++ b/src/gs-shell-installed.c
@@ -275,7 +275,7 @@ gs_shell_installed_switch_to (GsPage *page, gboolean scroll_up)
widget = GTK_WIDGET (gtk_builder_get_object (self->builder, "buttonbox_main"));
gtk_widget_show (widget);
- gtk_widget_show (self->button_select);
+ gtk_widget_set_visible (self->button_select, gs_utils_is_current_desktop ("GNOME"));
if (scroll_up) {
GtkAdjustment *adj;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]