[nautilus] application: use prettier format strings
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] application: use prettier format strings
- Date: Sat, 30 Oct 2010 15:24:00 +0000 (UTC)
commit d8ad1ab61cdb9929a8cb4f7d393e8b501e054289
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Sat Oct 30 17:20:48 2010 +0200
application: use prettier format strings
src/nautilus-application.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-application.c b/src/nautilus-application.c
index cedea2e..cee93d6 100644
--- a/src/nautilus-application.c
+++ b/src/nautilus-application.c
@@ -1509,24 +1509,24 @@ nautilus_application_command_line (GApplication *app,
}
if (version) {
- g_application_command_line_print (command_line, "GNOME nautilus " PACKAGE_VERSION);
+ g_application_command_line_print (command_line, "GNOME nautilus " PACKAGE_VERSION "\n");
goto out;
}
if (perform_self_check && (remaining != NULL || kill_shell)) {
- g_application_command_line_printerr (command_line,
+ g_application_command_line_printerr (command_line, "%s\n",
_("--check cannot be used with other options."));
retval = EXIT_FAILURE;
goto out;
}
if (kill_shell && remaining != NULL) {
- g_application_command_line_printerr (command_line,
+ g_application_command_line_printerr (command_line, "%s\n",
_("-- quit cannot be used with URIs."));
retval = EXIT_FAILURE;
goto out;
}
if (geometry != NULL &&
remaining != NULL && remaining[0] != NULL && remaining[1] != NULL) {
- g_application_command_line_printerr (command_line,
+ g_application_command_line_printerr (command_line, "%s\n",
_("--geometry cannot be used with more than one URI."));
retval = EXIT_FAILURE;
goto out;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]