Do not reset chosen session and maintain the session-choser dialog after a failed login attempt. Patch by E. Bavier --- slim-1.3.6/panel.cpp.orig 1969-12-31 18:00:00.000000000 -0600 +++ slim-1.3.6/panel.cpp 2016-10-17 17:00:07.259649063 -0500 @@ -260,13 +260,12 @@ } void Panel::ClearPanel() { - session_name = ""; - session_exec = ""; Reset(); XClearWindow(Dpy, Root); XClearWindow(Dpy, Win); Cursor(SHOW); ShowText(); + ShowSession(); XFlush(Dpy); } @@ -760,9 +760,7 @@ pair ses = cfg->nextSession(); session_name = ses.first; session_exec = ses.second; - if (session_name.size() > 0) { - ShowSession(); - } + ShowSession(); } /* Display session type on the screen */ cted='selected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/home-import.scm
AgeCommit message (Expand)Author
2021-11-16home: Adjust 'guix home import' test for shell aliases....This is a followup to 4b96998292442ec03024481c911d88f86c7c36b5. * tests/home-import.scm (match-home-environment-bash-service): Match the 'aliases' field. Ludovic Courtès
2021-10-31home: import: Avoid duplication of 'manifest->code'....* guix/scripts/home/import.scm (manifest->code): Remove. (manifest+configuration-files->code): New procedure. (import-manifest): Use 'manifest+configuration-files->code' instead of 'manifest->code'. * tests/home-import.scm (eval-test-with-home-environment): Likewise. (match-home-environment-transformations): New procedure. ("manifest->code: No services, package transformations"): New test. Ludovic Courtès
2021-10-31home: import: Factorize triplicated 'version-spec' procedure....* guix/scripts/package.scm (manifest-entry-version-prefix): New procedure, moved from... (export-manifest)[version-spec]: ... here. Adjust caller. * tests/home-import.scm (version-spec): Remove. (eval-test-with-home-environment): Use 'manifest-entry-version-prefix' instead. * guix/scripts/home/import.scm (import-manifest): Likewise. Ludovic Courtès
2021-10-31guix home: import: Call ‘local-file’ with ‘name’...Set the name of the file to just the basename of the file passed to ‘local-file’. * guix/scripts/home/import.scm (basename+remove-dots): New procedure. (generate-bash-configuration+modules): Use it. * tests/home-import.scm (match-home-environment-bash-service): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen
2021-10-31Add tests for ‘guix home import’....* tests/home-import.scm: New file. * Makefile.am (SCM_TESTS): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Xinglu Chen