mirror of
https://abf.rosa.ru/djam/kdebase4-workspace.git
synced 2025-02-24 10:12:50 +00:00
Add login allowance for root user to KDM config module
This commit is contained in:
parent
05b00bfd74
commit
d82a3b5a89
2 changed files with 17 additions and 1 deletions
14
kde-workspace-4.11.22-allow-root-login.patch
Normal file
14
kde-workspace-4.11.22-allow-root-login.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff -urN kde-workspace-4.11.22.orig/kdm/kcm/kdm-users.cpp kde-workspace-4.11.22/kdm/kcm/kdm-users.cpp
|
||||
--- kde-workspace-4.11.22.orig/kdm/kcm/kdm-users.cpp 2015-08-12 10:03:15.000000000 +0300
|
||||
+++ kde-workspace-4.11.22/kdm/kcm/kdm-users.cpp 2017-09-11 14:25:14.865337393 +0300
|
||||
@@ -461,6 +461,10 @@
|
||||
rbadmonly->isChecked() ? "AdminOnly" :
|
||||
rbprefadm->isChecked() ? "PreferAdmin" :
|
||||
rbprefusr->isChecked() ? "PreferUser" : "UserOnly");
|
||||
+
|
||||
+ config->group("X-:*-Core").writeEntry("AllowRootLogin",
|
||||
+ cbinverted->isChecked() ? !hiddenUsers.contains("root") :
|
||||
+ selectedUsers.contains("root"));
|
||||
}
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
Summary: KDE 4 application workspace components
|
||||
Name: kdebase4-workspace
|
||||
Version: 4.11.22
|
||||
Release: 18
|
||||
Release: 19
|
||||
Epoch: 2
|
||||
License: GPLv2+
|
||||
Group: Graphical desktop/KDE
|
||||
|
@ -92,6 +92,7 @@ Patch30: kde-workspace-4.11.22-dont-export-colors-gtk+.patch
|
|||
Patch31: kde-workspace-4.11.22-kf5-colors.patch
|
||||
# Apply style changes to KF5 config as well if there's matching Qt5 style
|
||||
Patch32: kde-workspace-4.11.22-kf5-styles.patch
|
||||
Patch33: kde-workspace-4.11.22-allow-root-login.patch
|
||||
# See http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=c1469413f36d4e4cd9dd49e70bc5d660cf2f3c55
|
||||
# And http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=dcc70fbb55919ac56ae188ceb3d5bf7b94c2dbcd
|
||||
# We partially revert it because we need at least deKorator to work
|
||||
|
@ -1668,6 +1669,7 @@ tar xf %{SOURCE6}
|
|||
%patch30 -p1
|
||||
%patch31 -p1
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
%patch50 -p1
|
||||
%patch100 -p1
|
||||
%patch101 -p1
|
||||
|
|
Loading…
Add table
Reference in a new issue