diff options
author | Jonathan Blandford <jrb@redhat.com> | 2005-01-25 20:54:22 (GMT) |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2005-01-25 20:54:22 (GMT) |
commit | 1aff4f0d0e68dfccf5236289feb2fb58dfac8936 (patch) | |
tree | 5a30de52b9e00b97ad25de1cb240f14f2d890037 /shell/ev-password.c | |
parent | d3ea391eeabb901a8dfe269edc5980f0f800aa65 (diff) |
guard against unloaded docs when the title is accessed.
Tue Jan 25 00:59:34 2005 Jonathan Blandford <jrb@redhat.com>
* 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.
Diffstat (limited to 'shell/ev-password.c')
-rw-r--r-- | shell/ev-password.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ("<span size=\"larger\" weight=\"bold\">%s</span>\n\n%s", _("Password required"), - _("The document '%s' requires a password before it can be opened.")); + _("The document <i>%s</i> 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); |