summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-15 15:12:30 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-17 21:03:29 -0400
commitca696dd0cd7da7af7893639f5786e56972cbef09 (patch)
tree0132ac7669fd98a1a651a1277af41871616eb5fe /profile.c
parentdea8d47b695b0095d3820e68be01dd45f19b547c (diff)
downloadsubsurface-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 'profile.c')
0 files changed, 0 insertions, 0 deletions