Make filesel API more consistent.
One of the functions, filesel_select_multiple_files_open(), was missing the path parameter.
This commit is contained in:
parent
1a39f25036
commit
04456e3b73
24 changed files with 18429 additions and 17532 deletions
4101
po/en_GB.po
4101
po/en_GB.po
File diff suppressed because it is too large
Load diff
7939
po/id_ID.po
7939
po/id_ID.po
File diff suppressed because it is too large
Load diff
802
po/pt_BR.po
802
po/pt_BR.po
File diff suppressed because it is too large
Load diff
1252
po/zh_TW.po
1252
po/zh_TW.po
File diff suppressed because it is too large
Load diff
|
@ -10335,7 +10335,7 @@ static void compose_attach_cb(GtkAction *action, gpointer data)
|
|||
* which unsets it (via focus_out_event callback on compose window). */
|
||||
manage_window_focus_in(compose->window, NULL, NULL);
|
||||
|
||||
file_list = filesel_select_multiple_files_open(_("Select file"));
|
||||
file_list = filesel_select_multiple_files_open(_("Select file"), NULL);
|
||||
|
||||
if (file_list) {
|
||||
compose_attach_from_list(compose, file_list, TRUE);
|
||||
|
@ -10349,7 +10349,7 @@ static void compose_insert_file_cb(GtkAction *action, gpointer data)
|
|||
GList *file_list;
|
||||
gint files_inserted = 0;
|
||||
|
||||
file_list = filesel_select_multiple_files_open(_("Select file"));
|
||||
file_list = filesel_select_multiple_files_open(_("Select file"), NULL);
|
||||
|
||||
if (file_list) {
|
||||
GList *tmp;
|
||||
|
|
|
@ -192,9 +192,9 @@ static GList *filesel_create(const gchar *title, const gchar *path,
|
|||
* This opens an Open type dialog.
|
||||
* @param title the title of the dialog
|
||||
*/
|
||||
GList *filesel_select_multiple_files_open(const gchar *title)
|
||||
GList *filesel_select_multiple_files_open(const gchar *title, const gchar *path)
|
||||
{
|
||||
return filesel_create(title, NULL, TRUE, TRUE, FALSE, NULL);
|
||||
return filesel_create(title, path, TRUE, TRUE, FALSE, NULL);
|
||||
}
|
||||
|
||||
GList *filesel_select_multiple_files_open_with_filter( const gchar *title,
|
||||
|
|
|
@ -29,7 +29,7 @@ gchar *filesel_select_file_save(const gchar *title, const gchar *path);
|
|||
gchar *filesel_select_file_open_folder(const gchar *title, const gchar *path);
|
||||
gchar *filesel_select_file_save_folder(const gchar *title, const gchar *path);
|
||||
|
||||
GList *filesel_select_multiple_files_open(const gchar *title);
|
||||
GList *filesel_select_multiple_files_open(const gchar *title, const gchar *path);
|
||||
GList *filesel_select_multiple_files_open_with_filter( const gchar *title,
|
||||
const gchar *path,
|
||||
const gchar *filter);
|
||||
|
|
|
@ -307,9 +307,9 @@ gchar *filesel_select_file_open(const gchar *title, const gchar *path)
|
|||
return filesel_select_file_open_with_filter(title, path, NULL);
|
||||
}
|
||||
|
||||
GList *filesel_select_multiple_files_open(const gchar *title)
|
||||
GList *filesel_select_multiple_files_open(const gchar *title, const gchar *path)
|
||||
{
|
||||
return filesel_select_multiple_files_open_with_filter(title, NULL, NULL);
|
||||
return filesel_select_multiple_files_open_with_filter(title, path, NULL);
|
||||
}
|
||||
|
||||
gchar *filesel_select_file_save(const gchar *title, const gchar *path)
|
||||
|
|
Loading…
Reference in a new issue