[Bug 231841] Multiple encrypted partitions: password prompt needs additional info

bugzilla at redhat.com bugzilla at redhat.com
Sun Apr 13 22:24:32 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Multiple encrypted partitions: password prompt needs additional info


https://bugzilla.redhat.com/show_bug.cgi?id=231841





------- Additional Comments From selinux at gmail.com  2008-04-13 18:24 EST -------
This patch also includes the device file name in the title bar:

--- gnome-mount.c-old	2008-04-13 11:14:25.000000000 -0700
+++ gnome-mount.c	2008-04-13 15:21:12.000000000 -0700
@@ -2152,6 +2152,7 @@
 	char            *drive_name;
 	char            *result;
 	char            *prompt;
+	char            *title;
 	GtkWidget	*dialog;
 	GnomePasswordDialogRemember remember;
 	char            *keyring_password;
@@ -2230,9 +2231,12 @@
 	notify_parent (TRUE);
 
 	prompt = g_strdup_printf (
-		_("The storage device %s contains encrypted data. Enter a password to
unlock."), drive_name);
+		_("The storage device %s contains encrypted data. Enter a password to unlock
%s."), drive_name, get_dev_file (volume, drive));
 	
-	dialog = gnome_password_dialog_new (_("Unlock Encrypted Data"), prompt, NULL,
NULL, FALSE);
+	title = g_strdup_printf (
+		_("Unlock Encrypted Data for %s"), get_dev_file (volume, drive));
+	dialog = gnome_password_dialog_new (title, prompt, NULL, NULL, FALSE);
+	g_free (title);
 	g_free (prompt);
 
 	gnome_password_dialog_set_show_username (GNOME_PASSWORD_DIALOG (dialog), FALSE);


-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-triage-list mailing list