Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::UI::Dialogs::FileOpenDialogImpl::updatePreviewCallback (  )  [private]

Callback for seeing if the preview needs to be drawn

Callback for checking if the preview needs to be redrawn

Definition at line 687 of file filedialog.cpp.

References Inkscape::UI::Dialogs::SVGPreview::set(), and svgPreview.

Referenced by FileOpenDialogImpl().

{
    Glib::ustring fileName = get_preview_filename();

    if (fileName.length() < 1)
        return;

    svgPreview.set(fileName, dialogType);
}


Generated by  Doxygen 1.6.0   Back to index