diff --git a/libreoffice.changes b/libreoffice.changes index 1a554ae..f8c41cc 100644 --- a/libreoffice.changes +++ b/libreoffice.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 20 11:35:25 UTC 2013 - pmladek@suse.com + +- make sure that StartupNotify=true is written into the [Desktop Entry] + section (bnc#796875) + ------------------------------------------------------------------- Mon Feb 11 16:49:30 UTC 2013 - pmladek@suse.com diff --git a/libreoffice.spec b/libreoffice.spec index fe453d2..fe4d64d 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1636,7 +1636,7 @@ for desktop in * ; do # finally, create the right link ln -sf $relative_target $desktop_new # enable startup notification (bnc#796875) - grep -q "NoDisplay=true" $desktop_new || echo "StartupNotify=true" >>$desktop_new + grep -q "NoDisplay=true" $desktop_new || sed -i "s/\(\[Desktop Entry\]\)/\1\nStartupNotify=true/" $desktop_new # suse_update app=`echo $desktop_new | sed "s/.desktop//"` %suse_update_desktop_file $app