From 1aff4f0d0e68dfccf5236289feb2fb58dfac8936 Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Tue, 25 Jan 2005 20:54:22 +0000 Subject: guard against unloaded docs when the title is accessed. Tue Jan 25 00:59:34 2005 Jonathan Blandford * pdf/xpdf/pdf-document.cc (pdf_document_get_title): guard against unloaded docs when the title is accessed. * shell/ev-password-view.[hc]: New widget for displaying password state. * shell/ev-window.[ch]: Refactor password handling code to handle the new view. --- (limited to 'shell/ev-password.c') diff --git a/shell/ev-password.c b/shell/ev-password.c index 9ea1df2..7a5c819 100644 --- a/shell/ev-password.c +++ b/shell/ev-password.c @@ -102,7 +102,7 @@ ev_password_dialog_new (GtkWidget *toplevel, g_signal_connect (entry, "changed", G_CALLBACK (ev_window_password_entry_changed_cb), dialog); format = g_strdup_printf ("%s\n\n%s", _("Password required"), - _("The document '%s' requires a password before it can be opened.")); + _("The document %s is locked and requires a password before it can be opened.")); markup = g_markup_printf_escaped (format, uri); gtk_label_set_markup (GTK_LABEL (label), markup); g_free (format); -- cgit v0.9.1