Kaydet (Commit) 6af6c804 authored tarafından Damjan Jovanovic's avatar Damjan Jovanovic

Added StartupNotify=true to all relevant Freedesktop .desktop

shortcuts in AOO, so the user gets feedback that AOO is
being started. This is important because it can take a long
time to start.

Tests show the notifications come up correctly, and go
away when the splash screen comes up, even without LIBSN,
because the GUI toolkit(s?) we use (GTK?) do this
automatically.

See also:
http://developer.gnome.org/integration-guide/stable/startup-notification.html.en
https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/479973
üst 2042fb47
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Base ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Base
GenericName=Database Development GenericName=Database Development
Comment=Manage databases, create queries and reports to track and manage your information by using Base. Comment=Manage databases, create queries and reports to track and manage your information by using Base.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Calc ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Calc
GenericName=Spreadsheet GenericName=Spreadsheet
Comment=Perform calculation, analyze information and manage lists in spreadsheets by using Calc. Comment=Perform calculation, analyze information and manage lists in spreadsheets by using Calc.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Draw ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Draw
GenericName=Drawing Program GenericName=Drawing Program
Comment=Create and edit drawings, flow charts, and logos by using Draw. Comment=Create and edit drawings, flow charts, and logos by using Draw.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Impress ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Impress
GenericName=Presentation GenericName=Presentation
Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress. Comment=Create and edit presentations for slideshows, meeting and Web pages by using Impress.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Math ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Math
GenericName=Formula Editor GenericName=Formula Editor
Comment=Create and edit scientific formulas and equations by using Math. Comment=Create and edit scientific formulas and equations by using Math.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -26,3 +26,4 @@ Type=Application ...@@ -26,3 +26,4 @@ Type=Application
Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office; Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;
Exec=openoffice-printeradmin Exec=openoffice-printeradmin
Name=%PRODUCTNAME Printer Administration Name=%PRODUCTNAME Printer Administration
StartupNotify=true
...@@ -29,3 +29,4 @@ MimeType=application/vnd.openofficeorg.extension; ...@@ -29,3 +29,4 @@ MimeType=application/vnd.openofficeorg.extension;
Name=%PRODUCTNAME Name=%PRODUCTNAME
GenericName=Office GenericName=Office
Comment=The office productivity suite compatible to the open and standardized ODF document format. Comment=The office productivity suite compatible to the open and standardized ODF document format.
StartupNotify=true
...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Writer ...@@ -30,3 +30,4 @@ Name=%PRODUCTNAME Writer
GenericName=Word Processor GenericName=Word Processor
Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer. Comment=Create and edit text and graphics in letters, reports, documents and Web pages by using Writer.
InitialPreference=5 InitialPreference=5
StartupNotify=true
...@@ -150,9 +150,6 @@ $(LAUNCHERFLAGFILE) : $(LAUNCHERDEPN) ...@@ -150,9 +150,6 @@ $(LAUNCHERFLAGFILE) : $(LAUNCHERDEPN)
@$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "Name" $(ULFDIR)$/launcher_name.ulf @$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "Name" $(ULFDIR)$/launcher_name.ulf
@$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "Comment" $(ULFDIR)$/launcher_comment.ulf @$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "Comment" $(ULFDIR)$/launcher_comment.ulf
@$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "GenericName" $(ULFDIR)$/launcher_genericname.ulf @$(PERL) translate.pl -p '$${{PRODUCTNAME}} $${{PRODUCTVERSION}}' -d $(@:db).$(INPATH).$(@:f) --ext "desktop" --key "GenericName" $(ULFDIR)$/launcher_genericname.ulf
.IF "$(WITH_LIBSN)"=="YES"
@noop x$(foreach,i,$(LAUNCHERLIST) $(shell @echo "StartupNotify=true" >> $(@:db).$(INPATH).$(@:f)/$i.desktop))x
.ENDIF
@$(MV) -f $(@:db).$(INPATH).$(@:f)/* $(@:d) @$(MV) -f $(@:db).$(INPATH).$(@:f)/* $(@:d)
@rmdir $(@:db).$(INPATH).$(@:f) @rmdir $(@:db).$(INPATH).$(@:f)
@touch $@ @touch $@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment