[Xfce4-commits] r22610 - xarchiver/branches/xarchiver-psybsd/src

Stephan Arts stephan at xfce.org
Tue Aug 1 14:01:48 UTC 2006


Author: stephan
Date: 2006-08-01 14:01:47 +0000 (Tue, 01 Aug 2006)
New Revision: 22610

Modified:
   xarchiver/branches/xarchiver-psybsd/src/main.c
Log:
Fixed return of main. fixed strings.



Modified: xarchiver/branches/xarchiver-psybsd/src/main.c
===================================================================
--- xarchiver/branches/xarchiver-psybsd/src/main.c	2006-08-01 13:27:16 UTC (rev 22609)
+++ xarchiver/branches/xarchiver-psybsd/src/main.c	2006-08-01 14:01:47 UTC (rev 22610)
@@ -47,19 +47,19 @@
 static GOptionEntry entries[] =
 {
 	{	"extract-to", 'x', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING, &extract_archive_path,
-		N_(""),
+		"",
 		N_("[destination path]")
 	},
 	{	"extract", 'e', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &extract_archive,
-		N_(""),
+		"",
 		NULL
 	},
 	{	"add-to", 'd', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING, &add_archive_path,
-		N_(""),
+		"",
 		N_("[archive path] [file1] [file2] ... [fileN]")
 	},
 	{	"new", 'n', G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_NONE, &new_archive,
-		N_(""),
+		"",
 		N_("[file1] [file2] ... [fileN]")
 	},
 	{ NULL }
@@ -303,6 +303,7 @@
 					dialog = gtk_message_dialog_new (NULL,GTK_DIALOG_MODAL,GTK_MESSAGE_ERROR,GTK_BUTTONS_OK,_("Archive type unknown\n"));
 					gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_YES);
 					gtk_dialog_run (GTK_DIALOG (dialog) );
+					return 1;
 				}
 			}
 			gtk_widget_destroy (GTK_WIDGET (dialog) );



More information about the Xfce4-commits mailing list