gnome-control-center/gnome-control-center-users-page-Don-t-show-the-system-accounts.patch

28 lines
1.0 KiB
Diff
Raw Normal View History

- Update to version 47.0.1+8: * online-accounts: Fix gettext use for row * online-accounts: fix gettext calls to static strings * Updated translations. - Update to version 47.0.1: + Fix invalid appstream release notes syntax. - Changes from version 47.0: + Appearance: Fix accessibility regression on background names. + Apps: Handle opening details of Epiphany webapps. + Color: - Fix visibility of control buttons when expanding rows. - Fix "Show details" link on profile warning. + Sharing: Make "Media Sharing" dialog use GtkFileDialog for adding new folders. + Updated translations. - Rebase gnome-control-center-more-power-button-actions.patch. - Update some version requirements. - Update to version 47.rc: + Various ports from deprecated GTK and Libadwaita APIs + Appearance: Improve performance when loading wallpapers + Apps: Fix crash when handling invalid app permissions + Date and Time: Fix "Auto Timezone" setting visibility when Location Services are unavailable + Online Accounts: Update description of MS365 online account provider + Sharing: Fix adding "Shared Media" folders + Users: - Update feedback icons for validating username and passwords - Use a dialog to confirm removable of user fingerprints + WiFi: Fix crash when unplugging removable WiFi adapters + Updated translations. - Update to version 47.beta: + Various CI fixes + Various ports to modern libadwaita widgets + Various mnemonics additions + Use GtkWindow.set_default_icon_name for legacy sessions + Accessibility: Rename "Reduce Animation" setting to "Animation Effects" + Apps: - Rename "File and Link Associations" page to "Files and Links" - Show status page when Parental Controls aren't available - Don't show "App is not sandboxed" banner for system components + Display: - Adapt rotation labels to the screen ratio - Don't set automatic Night Light when Location Services are unavailable + Keyboard - Load input choice locales asynchronously - Fix "Move" buttons in input rows + Location: Remove reference to now retired Mozilla Location Services + Mouse: - Use monochrome assets to support different accent colors - Separate "Touchpad" row into its own preferences row group + Network: Don't set empty ignored hosts + Notifications: Turn "App Notifications" dialog into a subpage + Online Accounts: Add a toast overlay for panel notifications/error messages + Users: - Modernize the "Add User" dialog - Respect password "enforcing" based on /etc/security/pwquality.conf - Avoid user names with underscores being interpreted as mnemonics - Show correctly the remaining list of fingerprints to enroll - Reverse sorting of finger names list to prioritize most used ones + Printers: - Various tweaks for the PPD Selection dialog - Add button instead of link to open printer cups web page + Privacy: - Don't leak Bolt and Location subpages - Fix visibility of Bolt settings when Bolt isn't available + Remote Desktop: - Fix loop resetting credentials - Use new gnome-remote-desktop server configuration DBUs interface + Sound: Add an empty state page for when no sound device is available + Wacom: Set up Wacom stylus keyboard shortcuts and switch monitor + WWAN: Fix crash preventing the load of the SIM Unlock dialog + Updated translations. - Rebase patch, and disable patch 1, needs manual rebase. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=567
2024-09-30 09:50:42 +02:00
From cf0a84f2a79d3685b0f7a516e4c9d9ade1b888dc Mon Sep 17 00:00:00 2001
From: Xiaoguang Wang <xwang@suse.com>
Date: Thu, 23 May 2024 09:32:43 +0800
Subject: [PATCH] users-page: Don't show the system accounts
When handling user-added signal, omit the system accounts.
Fixes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3066
---
panels/system/users/cc-users-page.c | 4 ++++
1 file changed, 4 insertions(+)
Index: gnome-control-center-47.beta/panels/system/users/cc-users-page.c
===================================================================
--- gnome-control-center-47.beta.orig/panels/system/users/cc-users-page.c
+++ gnome-control-center-47.beta/panels/system/users/cc-users-page.c
@@ -174,6 +174,10 @@ on_user_added (CcUsersPage *self,
g_list_store_insert_sorted (self->model, user, sort_users, self);
+ if (act_user_is_system_account (user)) {
+ return;
+ }
+
page = CC_USER_PAGE (adw_navigation_view_get_visible_page (self->navigation));
if (page != self->current_user_page)
return;