diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-09-15 15:12:30 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-09-17 21:03:29 -0400 |
commit | ca696dd0cd7da7af7893639f5786e56972cbef09 (patch) | |
tree | 0132ac7669fd98a1a651a1277af41871616eb5fe /windows.c | |
parent | dea8d47b695b0095d3820e68be01dd45f19b547c (diff) | |
download | subsurface-ca696dd0cd7da7af7893639f5786e56972cbef09.tar.gz |
Reimplement the GtkFileChooserButton for import
One of the limitations of GtkFileChooserButton is that it only allows one
file to be chosen (so that it can display that file name in the button
after the file chooser dialog finishes). Since in the import dialog we
never want to show the button with the filename(s) filled in but want to
directly execute the import once files have been selected, I reimplemented
the button to simply open a multi file chooser when clicked and to then
run the import function if one or more file names were selected.
This does appear to require some more code but gets us a much more useful
and consistent implementation.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'windows.c')
0 files changed, 0 insertions, 0 deletions