changed file_open_from_command_line() to deal with a single filename only.

2007-03-27  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.[ch]: changed file_open_from_command_line()
	to deal with a single filename only.

	* app/widgets/gimpdbusservice.[ch]
	* app/widgets/dbus-service.xml: changed the D-Bus Open method to
	take only a single filename.

	* app/app.c
	* app/main.c: changed accordingly.


svn path=/trunk/; revision=22181
This commit is contained in:
Sven Neumann
2007-03-27 19:40:31 +00:00
committed by Sven Neumann
parent 3ab0abce3c
commit 518b13d17b
8 changed files with 141 additions and 101 deletions

View File

@ -220,7 +220,12 @@ app_run (const gchar *full_prog_name,
/* Load the images given on the command-line.
*/
if (filenames)
file_open_from_command_line (gimp, filenames);
{
gint i;
for (i = 0; filenames[i] != NULL; i++)
file_open_from_command_line (gimp, filenames[i]);
}
#ifndef GIMP_CONSOLE_COMPILATION
if (! no_interface)