summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2008-05-24 19:32:40 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2008-05-24 19:32:40 +0000
commitdece92a059d937a0bb7e0395839f3c8d8e4381cf (patch)
tree6a4fd69ab3576e8394ae2ba57a0370e1de2b2879 /src
parentFixed the open dialog so that it remembers which folder you were browsing in (diff)
downloadinkscape-dece92a059d937a0bb7e0395839f3c8d8e4381cf.tar.gz
inkscape-dece92a059d937a0bb7e0395839f3c8d8e4381cf.zip
this hack does not seem to be needed with modern gtk, and it prevents remembering of last-browsed directory from working
(bzr r5750)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/filedialogimpl-gtkmm.cpp4
1 files changed, 0 insertions, 4 deletions
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