gnome-control-center/gnome-control-center-info-never-use-gnome-software.patch

26 lines
695 B
Diff
Raw Normal View History

From 0884359b9fe093f4023ee404274ed3cdf76b857e Mon Sep 17 00:00:00 2001
From: Felix Zhang <fezhang@suse.com>
Date: Sat, 17 Sep 2016 00:33:20 +0800
Subject: [PATCH] info: never use gnome-software
---
panels/info/cc-info-panel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index ad89d54..d904f6c 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1512,7 +1512,7 @@ info_panel_setup_overview (CcInfoPanel *self)
static gboolean
does_gnome_software_exist (void)
{
- return g_file_test (BINDIR "/gnome-software", G_FILE_TEST_EXISTS);
+ return FALSE;
}
static gboolean
--
2.6.6