Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::UI::Dialogs::FileSaveDialogImpl::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 1073 of file filedialog.cpp.

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

Referenced by FileSaveDialogImpl().

{
    Glib::ustring fileName = get_preview_filename();
    if (!fileName.c_str())
        return;
    bool retval = svgPreview.set(fileName, dialogType);
    set_preview_widget_active(retval);
}


Generated by  Doxygen 1.6.0   Back to index