- make desktop file validation non-fatal until we add support for

categories beginning with X- and clean up our menu system to not
    require invalid categories (bug 212048)
This commit is contained in:
Ray Strode 2006-10-26 14:05:54 +00:00
parent db8000b5dc
commit fde022b509
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- desktop-file-utils-0.11/src/validate.c.make-category-validation-non-fatal 2006-10-26 10:07:30.000000000 -0400
+++ desktop-file-utils-0.11/src/validate.c 2006-10-26 10:07:37.000000000 -0400
@@ -285,7 +285,7 @@
char *valid_onlyshowins;
valid_onlyshowins = g_strjoinv ("\", \"", (gchar **) onlyshowin_keys);
- print_fatal (filename, "%s values must be one of \"%s\" (found \"%s\")\n",
+ print_warning (filename, "%s values must be one of \"%s\" (found \"%s\")\n",
key, valid_onlyshowins, vals[i]);
g_free (valid_onlyshowins);
}

View File

@ -1,7 +1,7 @@
Summary: Utilities for manipulating .desktop files Summary: Utilities for manipulating .desktop files
Name: desktop-file-utils Name: desktop-file-utils
Version: 0.11 Version: 0.11
Release: 1%{?dist} Release: 2%{?dist}
URL: http://www.freedesktop.org/software/desktop-file-utils URL: http://www.freedesktop.org/software/desktop-file-utils
Source0: %{name}-%{version}.tar.gz Source0: %{name}-%{version}.tar.gz
Patch1: desktop-file-utils-0.10-dont-use-unintialized-memory.patch Patch1: desktop-file-utils-0.10-dont-use-unintialized-memory.patch
@ -55,6 +55,12 @@ update-desktop-database %{_datadir}/applications || :
%{_datadir}/emacs/site-lisp/ %{_datadir}/emacs/site-lisp/
%changelog %changelog
* Thu Oct 26 2006 Ray Strode <rstrode@redhat.com> - 0.11-2
- make desktop file validation non-fatal until we
add support for categories beginning with X- and clean up
our menu system to not require invalid categories
(bug 212048)
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.11-1 * Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.11-1
- Update to 0.11 - Update to 0.11