Hello community, here is the log from the commit of package update-desktop-files for openSUSE:Factory checked in at Sun Oct 2 11:17:22 CEST 2011. -------- --- openSUSE:Factory/update-desktop-files/update-desktop-files.changes 2011-09-23 12:49:31.000000000 +0200 +++ /mounts/work_src_done/STABLE/update-desktop-files/update-desktop-files.changes 2011-09-29 16:59:12.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Sep 29 14:58:16 UTC 2011 - vuntz@opensuse.org + +- Update suse_update_desktop_file.sh: when -u is used, do not add + the non-standard X-SuSE-Unimportant=true anymore, but + NoDisplay=true. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse_update_desktop_file.sh ++++++ --- /var/tmp/diff_new_pack.ZjXwvk/_old 2011-10-02 11:17:18.000000000 +0200 +++ /var/tmp/diff_new_pack.ZjXwvk/_new 2011-10-02 11:17:18.000000000 +0200 @@ -45,7 +45,7 @@ echo " Example: use "%suse_update_desktop_file \" echo " %{buildroot}%{_datadir}/susehelp/meta/%name/%name.desktop"" echo " to edit the susehelp desktop entry file instead." - echo " -u|--unimportant : add "X-SuSE-Unimportant=true" to the resulting desktop" + echo " -u|--unimportant : add "NoDisplay=true" to the resulting desktop" echo " file." echo " -n|--no-i18n : Do not prepare the desktop file for translators (obsoletes -t)." echo " (adds X-SuSE-translate=false to the desktop file)" @@ -314,8 +314,13 @@ fi fi if [ "$UNIMPORTANT" = "yes" ]; then - sed -e '/^[Desktop Entry]/a \ -X-SuSE-Unimportant=true' $FILE > ${FILE}_ && mv ${FILE}_ $FILE + if grep -q ^NoDisplay= $FILE; then + sed -e '/^[Desktop Entry]/,/([.*|$)/ s,^NoDisplay=.*,NoDisplay=true,' "$FILE" > "${FILE}.new" && + mv "${FILE}.new" "${FILE}" + else + sed -e '/^[Desktop Entry]/a \ +NoDisplay=true' $FILE > ${FILE}_ && mv ${FILE}_ $FILE + fi fi if [ "$DOCID" ]; then sed -e '/^[Desktop Entry]/a \ continue with "q"... Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org