diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 21:42:48 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 21:42:48 +0200 |
commit | bc651b0222a41edcbc40b6a26bdc8ecfe4a7f503 (patch) | |
tree | c58bf43ab4f13081ab1b25304b6870cef325e7db /src/fe-gtk/setup.c | |
parent | 2b3e1f46e36ee0726dcf9d55593cadab9d42fcb1 (diff) |
Add extension filter for file dialogs, specify filters and starting folder for loading plugins
Diffstat (limited to 'src/fe-gtk/setup.c')
-rw-r--r-- | src/fe-gtk/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-gtk/setup.c b/src/fe-gtk/setup.c index 9d1079ad..fafb8334 100644 --- a/src/fe-gtk/setup.c +++ b/src/fe-gtk/setup.c @@ -955,7 +955,7 @@ setup_filereq_cb (GtkWidget *entry, char *file) static void setup_browsefile_cb (GtkWidget *button, GtkWidget *entry) { - gtkutil_file_req (_("Select an Image File"), setup_filereq_cb, entry, NULL, 0); + gtkutil_file_req (_("Select an Image File"), setup_filereq_cb, entry, NULL, NULL, 0); } static void @@ -990,7 +990,7 @@ setup_fontsel_cancel (GtkWidget *button, GtkFontSelectionDialog *dialog) static void setup_browsefolder_cb (GtkWidget *button, GtkEntry *entry) { - gtkutil_file_req (_("Select Download Folder"), setup_filereq_cb, entry, entry->text, FRF_CHOOSEFOLDER); + gtkutil_file_req (_("Select Download Folder"), setup_filereq_cb, entry, entry->text, NULL, FRF_CHOOSEFOLDER); } static void @@ -1552,7 +1552,7 @@ setup_snd_filereq_cb (GtkWidget *entry, char *file) static void setup_snd_browse_cb (GtkWidget *button, GtkEntry *entry) { - gtkutil_file_req (_("Select a sound file"), setup_snd_filereq_cb, entry, NULL, 0); + gtkutil_file_req (_("Select a sound file"), setup_snd_filereq_cb, entry, NULL, NULL, 0); } static void |