diff options
author | TingPing <TingPing@users.noreply.github.com> | 2013-09-06 17:00:55 -0700 |
---|---|---|
committer | TingPing <TingPing@users.noreply.github.com> | 2013-09-06 17:00:55 -0700 |
commit | 703316ace60e469e3500960d54b6c9c5b353f3c8 (patch) | |
tree | 79bf048b2c43a5590d6f15a280496bbb5f368152 /src/common | |
parent | 88afa4afa2b3821f832007ad106e92d487d82ec9 (diff) | |
parent | bf269d2e0386a54650b3b9e860eeb2e2f05a3fde (diff) |
Merge pull request #733 from hexchat/filedialog
Improve file dialogs
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/fe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/fe.h b/src/common/fe.h index 22db38df..91bf0a5b 100644 --- a/src/common/fe.h +++ b/src/common/fe.h @@ -125,11 +125,12 @@ void fe_get_str (char *prompt, char *def, void *callback, void *ud); void fe_get_int (char *prompt, int def, void *callback, void *ud); #define FRF_WRITE 1 /* save file */ #define FRF_MULTIPLE 2 /* multi-select */ -#define FRF_ADDFOLDER 4 /* add ~/.config/hexchat to favourites */ +#define FRF_RECENTLYUSED 4 /* let gtk decide start dir instead of our config */ #define FRF_CHOOSEFOLDER 8 /* choosing a folder only */ #define FRF_FILTERISINITIAL 16 /* filter is initial directory */ #define FRF_NOASKOVERWRITE 32 /* don't ask to overwrite existing files */ #define FRF_EXTENSIONS 64 /* specify file extensions to be displayed */ +#define FRF_MIMETYPES 128 /* specify file mimetypes to be displayed */ void fe_get_file (const char *title, char *initial, void (*callback) (void *userdata, char *file), void *userdata, int flags); |