From: buliabyak Date: Sat, 24 May 2008 19:32:40 +0000 (+0000) Subject: this hack does not seem to be needed with modern gtk, and it prevents remembering... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7f223e4b992e0fd8b86698915200ee8e3c0cf933;p=inkscape.git this hack does not seem to be needed with modern gtk, and it prevents remembering of last-browsed directory from working --- diff --git a/src/ui/dialog/filedialogimpl-gtkmm.cpp b/src/ui/dialog/filedialogimpl-gtkmm.cpp index 749589900..b93e7837a 100644 --- a/src/ui/dialog/filedialogimpl-gtkmm.cpp +++ b/src/ui/dialog/filedialogimpl-gtkmm.cpp @@ -761,10 +761,6 @@ void FileOpenDialogImplGtk::createFilterMenu() bool FileOpenDialogImplGtk::show() { - Glib::ustring s = Glib::filename_to_utf8 (get_current_folder()); - if (s.length() == 0) - s = getcwd (NULL, 0); - set_current_folder(Glib::filename_from_utf8(s)); //hack to force initial dir listing set_modal (TRUE); //Window sp_transientize((GtkWidget *)gobj()); //Make transient gint b = run(); //Dialog