rpms/plymouth/F-12 fix-text-ask-for-password.patch, NONE, 1.1 plymouth.spec, 1.159, 1.160

Ray Strode rstrode at fedoraproject.org
Wed Oct 14 15:35:46 UTC 2009


Author: rstrode

Update of /cvs/pkgs/rpms/plymouth/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6110

Modified Files:
	plymouth.spec 
Added Files:
	fix-text-ask-for-password.patch 
Log Message:
- Don't clear screen in text plugin immediately after displaying
  password prompt (bug 527426)


fix-text-ask-for-password.patch:
 plugin.c |    3 ---
 1 file changed, 3 deletions(-)

--- NEW FILE fix-text-ask-for-password.patch ---
>From d63a2aec8d3d155b6eaf664114c77c126ddbce9e Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode at redhat.com>
Date: Wed, 14 Oct 2009 11:29:55 -0400
Subject: [PATCH] [text] Don't redraw views after password request

The text plugin doesn't have proper draw handlers at
the moment.  Drawing happens outside of the draw handlers,
and the draw handlers only clear screen.  Don't force
draw_area calls because that clears any drawing.
---
 src/plugins/splash/text/plugin.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/plugins/splash/text/plugin.c b/src/plugins/splash/text/plugin.c
index bb09b22..61dafa9 100644
--- a/src/plugins/splash/text/plugin.c
+++ b/src/plugins/splash/text/plugin.c
@@ -692,7 +692,6 @@ display_password (ply_boot_splash_plugin_t *plugin,
 
   show_password_prompt (plugin, prompt, bullets);
 
-  redraw_views (plugin);
   unpause_views (plugin);
 }
 
@@ -712,7 +711,6 @@ display_question (ply_boot_splash_plugin_t *plugin,
 
   show_prompt (plugin, prompt, entry_text);
 
-  redraw_views (plugin);
   unpause_views (plugin);
 }
 
-- 
1.6.5.rc2



Index: plymouth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/plymouth/F-12/plymouth.spec,v
retrieving revision 1.159
retrieving revision 1.160
diff -u -p -r1.159 -r1.160
--- plymouth.spec	13 Oct 2009 16:51:18 -0000	1.159
+++ plymouth.spec	14 Oct 2009 15:35:46 -0000	1.160
@@ -6,7 +6,7 @@
 Summary: Graphical Boot Animation and Logger
 Name: plymouth
 Version: 0.8.0
-Release: 0.2009.29.09.11%{?dist}
+Release: 0.2009.29.09.12%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2
@@ -38,6 +38,7 @@ Patch4: more-drm-fixes.patch
 Patch5: fix-emergency-shell.patch
 Patch6: fix-details-clear-screen.patch
 Patch7: fix-text-shutdown-crash.patch
+Patch8: fix-text-ask-for-password.patch
 
 %description
 Plymouth provides an attractive graphical boot animation in
@@ -253,6 +254,7 @@ plugin.
 %patch5 -p1 -b .fix-emergency-shell
 %patch6 -p1 -b .fix-details-clear-screen
 %patch7 -p1 -b .fix-text-shutdown-crash
+%patch8 -p1 -b .fix-text-ask-for-password
 
 %build
 %configure --enable-tracing --disable-tests --without-boot-entry \
@@ -470,6 +472,10 @@ fi
 %defattr(-, root, root)
 
 %changelog
+* Wed Oct 14 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.12
+- Don't clear screen in text plugin immediately after displaying
+  password prompt (bug 527426)
+
 * Tue Oct 13 2009 Ray Strode <rstrode at redhat.com> 0.8.0-0.2009.29.09.11
 - Clean up terminal on exit (bug 528683 again)
 




More information about the fedora-extras-commits mailing list