- make sure that StartupNotify=true is written into the [Desktop Entry]

section (bnc#796875)

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=28
This commit is contained in:
Petr Mladek 2013-02-20 11:39:37 +00:00 committed by Git OBS Bridge
parent db802d6a35
commit 08d67b91da
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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