diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/validate.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -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); |