brasero r1431 - in trunk: . src
- From: lmedinas svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1431 - in trunk: . src
- Date: Mon, 27 Oct 2008 20:42:17 +0000 (UTC)
Author: lmedinas
Date: Mon Oct 27 20:42:17 2008
New Revision: 1431
URL: http://svn.gnome.org/viewvc/brasero?rev=1431&view=rev
Log:
2008-10-27 Luis Medinas <lmedinas gnome org>
* src/main.c (brasero_app_parse_options):
Parse video project to cmd line args.
Fixes bgo #556725.
Modified:
trunk/ChangeLog
trunk/src/main.c
Modified: trunk/src/main.c
==============================================================================
--- trunk/src/main.c (original)
+++ trunk/src/main.c Mon Oct 27 20:42:17 2008
@@ -61,6 +61,7 @@
gchar **files;
gchar **audio_project;
gchar **data_project;
+gchar **video_project;
gint copy_project;
gint empty_project;
gint disc_blank;
@@ -92,6 +93,10 @@
N_("Copy a disc"),
NULL },
+ { "video", 'o', 0, G_OPTION_ARG_NONE, &video_project,
+ N_("Open a video project adding the URIs given on the command line"),
+ NULL },
+
/* FIXME: last argument should be defined */
{ "image", 'i', G_OPTION_FLAG_FILENAME, G_OPTION_ARG_STRING, &iso_uri,
N_("Uri of an image file to be burnt (autodetected)"),
@@ -178,6 +183,8 @@
nb ++;
if (data_project)
nb ++;
+ if (video_project)
+ nb ++;
if (disc_blank)
nb ++;
if (open_ncb)
@@ -241,6 +248,9 @@
else if (data_project) {
BRASERO_PROJECT_OPEN_LIST (manager, brasero_project_manager_data, files);
}
+ else if (video_project) {
+ BRASERO_PROJECT_OPEN_LIST (manager, brasero_project_manager_video, files);
+ }
else if (disc_blank) {
brasero_app_blank (app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]