Commit 3dc195c6 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:create_with_error_message): Minor code rearrangement.

* src/filebuffer.cc (FileBuffer::create_with_error_message):
Minor code rearrangement.
parent 27f9931a
2004-06-02 Daniel Elstner <daniel.elstner@gmx.net>
* src/filebuffer.cc (FileBuffer::create_with_error_message):
Minor code rearrangement.
2004-06-01 Daniel Elstner <daniel.elstner@gmx.net>
* src/filetree.cc (FileTree::find_files): Slightly clarify
......
......@@ -194,16 +194,15 @@ FileBuffer::create_with_error_message(const Glib::RefPtr<Gdk::Pixbuf>& pixbuf,
const Glib::ustring& message)
{
const Glib::RefPtr<FileBuffer> buffer (new FileBuffer());
const Glib::RefPtr<RegexxerTags> tagtable = RegexxerTags::instance();
iterator pend = buffer->end();
iterator pend = buffer->insert_pixbuf(buffer->end(), pixbuf);
Glib::ustring title = "\302\240";
// TRANSLATORS: Please replace space by U+00A0 NO-BREAK SPACE.
title += _("Can't read file:");
title += '\n';
pend = buffer->insert_pixbuf(pend, pixbuf);
pend = buffer->insert_with_tag(pend, title, tagtable->error_title);
pend = buffer->insert(pend, message);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment