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 351245 - 'browse' dialog sets wrong directory
'browse' dialog sets wrong directory
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other All
: Normal normal
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-08-14 06:37 UTC by Charles Kerr
Modified: 2006-08-14 13:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0.108 patch. (2.04 KB, patch)
2006-08-14 06:40 UTC, Charles Kerr
none Details | Review

Description Charles Kerr 2006-08-14 06:37:47 UTC
in the save dialog, when popping up the 'browse' dialog it gets
the right directory, but after changing directories the result
passed back to the save directory is wrong.

This looks like it's because we pass set_current_directory()
into the dialog but use get_filename() to pull the results.

Note that the pan-file-entry dialog can be used for both file
and directory selection, so we ought to key off of the gtkfilechooser
action mode to decide whether to use the filename or directory API calls.
Comment 1 Charles Kerr 2006-08-14 06:40:10 UTC
Created attachment 70849 [details] [review]
0.108 patch.