bug-buddy r2732 - in trunk: . src



Author: cosimoc
Date: Fri Sep 26 23:16:46 2008
New Revision: 2732
URL: http://svn.gnome.org/viewvc/bug-buddy?rev=2732&view=rev

Log:
2008-09-27  Cosimo Cecchi  <cosimoc gnome org>

	* src/bug-buddy.c: (main): use --unlink-tempfile instead of --own-file,
	as Evince seems to do the same and it sounds a bit better as well.
	Suggested by Christian Persch.


Modified:
   trunk/ChangeLog
   trunk/src/bug-buddy.c

Modified: trunk/src/bug-buddy.c
==============================================================================
--- trunk/src/bug-buddy.c	(original)
+++ trunk/src/bug-buddy.c	Fri Sep 26 23:16:46 2008
@@ -77,7 +77,7 @@
 	{ "appname",    '\0', 0, G_OPTION_ARG_FILENAME, &gopt_data.app_file,      N_("File name of crashed program"),            N_("FILE") },
 	{ "pid",        '\0', 0, G_OPTION_ARG_INT,      &gopt_data.pid,           N_("PID of crashed program"),                  N_("PID") },
 	{ "include",    '\0', 0, G_OPTION_ARG_FILENAME, &gopt_data.include_file,  N_("Text file to include in the report"),      N_("FILE") },
-	{ "own-file",   '\0', 0, G_OPTION_ARG_NONE, &gopt_data.own_file,          N_("Delete the included file after reporting"),NULL},
+	{ "unlink-tempfile", '\0', 0, G_OPTION_ARG_NONE, &gopt_data.own_file,     N_("Delete the included file after reporting"),NULL},
 	{ "minidump",   '\0', 0, G_OPTION_ARG_FILENAME, &gopt_data.minidump_file, N_("MiniDump file with info about the crash"), N_("FILE") },
 	{ NULL }
 };
@@ -1853,7 +1853,7 @@
 	}
 
 	if (gopt_data.own_file == TRUE && gopt_data.include_file == NULL) {
-		buddy_error (NULL, _("The --own-file option needs a --include argument.\n"));
+		buddy_error (NULL, _("The --unlink-tempfile option needs a --include argument.\n"));
 		return 0;
 	}
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]