gnome-control-center/gnome-control-center-system-never-use-gnome-software.patch
Bjørn Lie 4e500ea167 - Recommend ppd-server instead of power-profiles-daemon: there is
also tuned-ppd, which provides the same dbus interface. If the
  user does not chose between the two, we suggest the original
  power-profiles-daemon.

- Fix escaping of commented out patch: with RPM 4.20, %patch
  becomes a standard, expandable macro, that can span more than one
  line. Commenting out with #%patch can thus lead to invalid
  results.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=578
2025-01-17 12:58:49 +00:00

15 lines
613 B
Diff

diff -urp gnome-control-center-46.3.orig/panels/system/cc-system-panel.c gnome-control-center-46.3/panels/system/cc-system-panel.c
--- gnome-control-center-46.3.orig/panels/system/cc-system-panel.c 2024-07-30 14:27:24.426647687 -0500
+++ gnome-control-center-46.3/panels/system/cc-system-panel.c 2024-07-30 14:36:02.188142991 -0500
@@ -77,8 +77,8 @@ gnome_software_allows_updates (void)
static gboolean
gnome_software_exists (void)
{
- g_autofree gchar *path = g_find_program_in_path ("gnome-software");
- return path != NULL;
+ /* Don't use gnome-software in SLE. */
+ return FALSE;
}
static gboolean