After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 356980 - Remember uri for file chooser
Remember uri for file chooser
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other All
: Normal minor
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-20 22:43 UTC by Wouter Bolsterlee (uws)
Modified: 2006-09-30 23:46 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Proposed fix (1006 bytes, patch)
2006-09-20 22:45 UTC, Wouter Bolsterlee (uws)
none Details | Review

Description Wouter Bolsterlee (uws) 2006-09-20 22:43:11 UTC
1. open a pdf in evince using nautilus/commandline
   (not using the open dialog)
2. open the open dialog (ctrl-o)

Expected:
3. directory of the currently open pdf file shows up

Actual:
3. home directory shows up
Comment 1 Wouter Bolsterlee (uws) 2006-09-20 22:45:55 UTC
Created attachment 73117 [details] [review]
Proposed fix

If the file dialog has not been used before, the uri of the currently document is used. Special care has been taken not to set it when no document is loaded.

Let me know if this can be committed.
Comment 2 Wouter Bolsterlee (uws) 2006-09-30 23:46:46 UTC
2006-10-01  Wouter Bolsterlee  <wbolster@gnome.org>

    * shell/ev-window.c: (ev_window_cmd_file_open): Make the
    open dialog fall back to the current document uri if the
    filechooser hasn't been used before. Fixes bug #356980.