Make filesel API more consistent.

One of the functions, filesel_select_multiple_files_open(),
was missing the path parameter.
This commit is contained in:
Andrej Kacian 2016-08-28 20:11:03 +02:00
parent 1a39f25036
commit 04456e3b73
24 changed files with 18429 additions and 17532 deletions

802
po/ca.po

File diff suppressed because it is too large Load diff

802
po/cs.po

File diff suppressed because it is too large Load diff

1066
po/da.po

File diff suppressed because it is too large Load diff

802
po/de.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

881
po/es.po

File diff suppressed because it is too large Load diff

851
po/fi.po

File diff suppressed because it is too large Load diff

969
po/fr.po

File diff suppressed because it is too large Load diff

4284
po/he.po

File diff suppressed because it is too large Load diff

802
po/hu.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

802
po/it.po

File diff suppressed because it is too large Load diff

4178
po/nb.po

File diff suppressed because it is too large Load diff

802
po/nl.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

802
po/ru.po

File diff suppressed because it is too large Load diff

802
po/sk.po

File diff suppressed because it is too large Load diff

851
po/sv.po

File diff suppressed because it is too large Load diff

2357
po/tr.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -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;

View file

@ -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,

View file

@ -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);

View file

@ -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)