Logo Search packages:      
Sourcecode: inkscape version File versions

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

Callback for user changing which item is selected on the list

Callback for fileNameEntry widget

Definition at line 741 of file filedialog.cpp.

References fileNameEntry.

Referenced by FileOpenDialogImpl().

{
    Glib::ustring fileName     = get_filename();
    if (!Glib::get_charset()) //If we are not utf8
        fileName = Glib::filename_to_utf8(fileName);
    //g_message("User selected '%s'\n",
    //       filename().c_str());

#ifdef INK_DUMP_FILENAME_CONV
    ::dump_ustr( get_filename() );
#endif
    fileNameEntry.set_text(fileName);
}


Generated by  Doxygen 1.6.0   Back to index