- 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:
parent
db802d6a35
commit
08d67b91da
@ -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
|
Mon Feb 11 16:49:30 UTC 2013 - pmladek@suse.com
|
||||||
|
|
||||||
|
@ -1636,7 +1636,7 @@ for desktop in * ; do
|
|||||||
# finally, create the right link
|
# finally, create the right link
|
||||||
ln -sf $relative_target $desktop_new
|
ln -sf $relative_target $desktop_new
|
||||||
# enable startup notification (bnc#796875)
|
# 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
|
# suse_update
|
||||||
app=`echo $desktop_new | sed "s/.desktop//"`
|
app=`echo $desktop_new | sed "s/.desktop//"`
|
||||||
%suse_update_desktop_file $app
|
%suse_update_desktop_file $app
|
||||||
|
Loading…
x
Reference in New Issue
Block a user