Accepting request 155895 from LibreOffice:Factory

- make sure that StartupNotify=true is written into the [Desktop Entry]
  section (bnc#796875)

OBS-URL: https://build.opensuse.org/request/show/155895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libreoffice?expand=0&rev=44
This commit is contained in:
Stephan Kulow 2013-02-20 16:42:08 +00:00 committed by Git OBS Bridge
commit 42a25bdc21
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