summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2009-01-10 17:18:40 +0000
committerVincent Untz <vuntz@gnome.org>2009-01-10 17:18:40 +0000
commit54e7d80e9dc2042ce0331cf65af2fb85c2960962 (patch)
treef96e6dd4e41ddc99451a5ea79559ef9121c2e1fc
parentdb8e1039fbd4e9e9e23273bb49ea9922dd8d595c (diff)
add "warning" to the error strings that are output when fixing the desktop
2009-01-10 Vincent Untz <vuntz@gnome.org> * src/validate.c: (desktop_file_fixup): add "warning" to the error strings that are output when fixing the desktop file so that people can learn about the errors and directly fix them. Fix bug #18206.
-rw-r--r--ChangeLog7
-rw-r--r--src/validate.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 79a1dc5..7936fce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2009-01-10 Vincent Untz <vuntz@gnome.org>
+ * src/validate.c: (desktop_file_fixup): add "warning" to the error
+ strings that are output when fixing the desktop file so that people can
+ learn about the errors and directly fix them.
+ Fix bug #18206.
+
+2009-01-10 Vincent Untz <vuntz@gnome.org>
+
* src/validate.c: add LXDE in the list of registered OnlyShowIn values.
2008-12-10 Vincent Untz <vuntz@gnome.org>
diff --git a/src/validate.c b/src/validate.c
index 129ea85..2469151 100644
--- a/src/validate.c
+++ b/src/validate.c
@@ -2520,7 +2520,7 @@ desktop_file_fixup (GKeyFile *keyfile,
unsigned int i;
if (g_key_file_has_group (keyfile, GROUP_KDE_DESKTOP_ENTRY)) {
- g_printerr ("%s: renaming deprecated \"%s\" group to \"%s\"\n",
+ g_printerr ("%s: warning: renaming deprecated \"%s\" group to \"%s\"\n",
filename, GROUP_KDE_DESKTOP_ENTRY, GROUP_DESKTOP_ENTRY);
dfu_key_file_rename_group (keyfile,
GROUP_KDE_DESKTOP_ENTRY, GROUP_DESKTOP_ENTRY);
@@ -2544,7 +2544,7 @@ desktop_file_fixup (GKeyFile *keyfile,
(len < 3 || value[len - 3] != '\\')))) {
char *str;
- g_printerr ("%s: key \"%s\" is a list and does not have a "
+ g_printerr ("%s: warning: key \"%s\" is a list and does not have a "
"semicolon as trailing character, fixing\n",
filename, registered_desktop_keys[i].name);