[file-roller] changed --extract--here command line argument description
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Subject: [file-roller] changed --extract--here command line argument description
- Date: Mon, 15 Jun 2009 12:16:04 -0400 (EDT)
commit 0033d66cec7e7d3b4e628b79991088fca618f91b
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Jun 15 18:12:20 2009 +0200
changed --extract--here command line argument description
GNOME bug #583863
src/main.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 9e7cb3f..e5ba2cf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -188,7 +188,7 @@ static const GOptionEntry options[] = {
NULL },
{ "extract-here", 'h', 0, G_OPTION_ARG_NONE, &extract_here,
- N_("Extract archives using the archive name as destination folder and quit the program"),
+ N_("Extract the contents of the archives in the archive folder and quit the program"),
NULL },
{ "default-dir", '\0', 0, G_OPTION_ARG_STRING, &default_url,
@@ -669,23 +669,23 @@ add_if_non_present (int *a,
static int
-cmp_mime_type_by_extension (const void *p1,
+cmp_mime_type_by_extension (const void *p1,
const void *p2)
{
int i1 = * (int*) p1;
int i2 = * (int*) p2;
-
+
return strcmp (mime_type_desc[i1].default_ext, mime_type_desc[i2].default_ext);
}
static int
-cmp_mime_type_by_description (const void *p1,
+cmp_mime_type_by_description (const void *p1,
const void *p2)
{
int i1 = * (int*) p1;
int i2 = * (int*) p2;
-
+
return g_utf8_collate (_(mime_type_desc[i1].name), _(mime_type_desc[i2].name));
}
@@ -696,8 +696,8 @@ sort_mime_types (int *a,
{
int n = 0;
- while (a[n] != -1)
- n++;
+ while (a[n] != -1)
+ n++;
qsort (a, n, sizeof (int), compar);
}
@@ -763,11 +763,11 @@ get_uri_from_command_line (const char *path)
{
GFile *file;
char *uri;
-
+
file = g_file_new_for_commandline_arg (path);
uri = g_file_get_uri (file);
g_object_unref (file);
-
+
return uri;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]