summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7172ca2)
raw | patch | inline | side by side (parent: 7172ca2)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 24 May 2008 19:32:40 +0000 (19:32 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 24 May 2008 19:32:40 +0000 (19:32 +0000) |
src/ui/dialog/filedialogimpl-gtkmm.cpp | patch | blob | history |
index 749589900a2716f5c9c183d83e1144a964b038ac..b93e7837acbee80737acae44a23811693a3a5b4f 100644 (file)
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