diff options
author | Jean-Baptiste Faure <jbf.faure@sud-ouest.org> | 2013-11-02 18:09:28 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2013-11-02 18:09:28 +0100 |
commit | 78e4c8a925f4735a7e9a4c32a29b19fd2b77670d (patch) | |
tree | 65426f2f9f24f6b3e5e00cd42f2edfe68a0da962 /sysui/desktop | |
parent | c5701117b4ba30f46f26fa2c15c4eb252a44e9f7 (diff) |
fdo#70553: Fix Unity Quicklists
Change-Id: I4bf29d0021c1342cd529a7c6cbd86eceb467a9b5
Diffstat (limited to 'sysui/desktop')
-rwxr-xr-x | sysui/desktop/menus/base.desktop | 11 | ||||
-rwxr-xr-x | sysui/desktop/menus/calc.desktop | 11 | ||||
-rwxr-xr-x | sysui/desktop/menus/draw.desktop | 11 | ||||
-rwxr-xr-x | sysui/desktop/menus/impress.desktop | 11 | ||||
-rwxr-xr-x | sysui/desktop/menus/math.desktop | 13 | ||||
-rwxr-xr-x | sysui/desktop/menus/startcenter.desktop | 37 | ||||
-rwxr-xr-x | sysui/desktop/menus/writer.desktop | 11 |
7 files changed, 73 insertions, 32 deletions
diff --git a/sysui/desktop/menus/base.desktop b/sysui/desktop/menus/base.desktop index 2f3005cfab0e..62626d4490cb 100755 --- a/sysui/desktop/menus/base.desktop +++ b/sysui/desktop/menus/base.desktop @@ -30,10 +30,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Data;SQL; InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-base X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Database -Exec=${UNIXBASISROOTNAME} --base %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Database +Exec=${UNIXBASISROOTNAME} --base +OnlyShowIn=Unity; diff --git a/sysui/desktop/menus/calc.desktop b/sysui/desktop/menus/calc.desktop index 1c3f955f5499..e50de65b8d82 100755 --- a/sysui/desktop/menus/calc.desktop +++ b/sysui/desktop/menus/calc.desktop @@ -30,10 +30,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Accounting;Stats;OpenDocument Spreadsheet;Chart;Microsoft Excel;Microsoft Works;OpenOffice Calc;ods;xls;xlsx; InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-calc X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Spreadsheet -Exec=${UNIXBASISROOTNAME} --calc %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Spreadsheet +Exec=${UNIXBASISROOTNAME} --calc +OnlyShowIn=Unity; diff --git a/sysui/desktop/menus/draw.desktop b/sysui/desktop/menus/draw.desktop index 96918410865e..348333177fd9 100755 --- a/sysui/desktop/menus/draw.desktop +++ b/sysui/desktop/menus/draw.desktop @@ -30,10 +30,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Vector;Schema;Diagram;Layout;OpenDocument Graphics;Microsoft Publisher;Corel Draw;cdr;odg;svg; InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-draw X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Drawing -Exec=${UNIXBASISROOTNAME} --draw %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Drawing +Exec=${UNIXBASISROOTNAME} --draw +OnlyShowIn=Unity; diff --git a/sysui/desktop/menus/impress.desktop b/sysui/desktop/menus/impress.desktop index 082b2f6a89fc..7efe6103c9b4 100755 --- a/sysui/desktop/menus/impress.desktop +++ b/sysui/desktop/menus/impress.desktop @@ -30,10 +30,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Slideshow;Slides;OpenDocument Presentation;Microsoft PowerPoint;Microsoft Works;OpenOffice Impress;odp;ppt;pptx; InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-impress X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Presentation -Exec=${UNIXBASISROOTNAME} --impress %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Presentation +Exec=${UNIXBASISROOTNAME} --impress +OnlyShowIn=Unity; diff --git a/sysui/desktop/menus/math.desktop b/sysui/desktop/menus/math.desktop index 132c5c3f8dc5..e13f466a98d3 100755 --- a/sysui/desktop/menus/math.desktop +++ b/sysui/desktop/menus/math.desktop @@ -18,7 +18,7 @@ [Desktop Entry] Version=1.0 Terminal=false -NoDisplay=true +NoDisplay=false Icon=math Type=Application Categories=Office;Education;Science;Math;X-Red-Hat-Base;X-MandrivaLinux-Office-Other; @@ -31,10 +31,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Equation;OpenDocument Formula;Formula;odf;MathML InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-math X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Formula -Exec=${UNIXBASISROOTNAME} --math %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Formula +Exec=${UNIXBASISROOTNAME} --math +OnlyShowIn=Unity; diff --git a/sysui/desktop/menus/startcenter.desktop b/sysui/desktop/menus/startcenter.desktop index 8a25b576df85..dabe887866e2 100755 --- a/sysui/desktop/menus/startcenter.desktop +++ b/sysui/desktop/menus/startcenter.desktop @@ -18,7 +18,7 @@ [Desktop Entry] Version=1.0 Terminal=false -NoDisplay=true +NoDisplay=false Icon=startcenter Type=Application Categories=Office;X-Red-Hat-Base;X-SuSE-Core-Office;X-MandrivaLinux-Office-Other; @@ -31,3 +31,38 @@ StartupNotify=true X-GIO-NoFuse=true StartupWMClass=libreoffice-startcenter X-KDE-Protocols=file,http,smb,ftp,webdav + +##Define Actions +Actions=Writer;Calc;Impress;Draw;Base;Math; + +[Desktop Action Writer] +Name=Text Document +Exec=${UNIXBASISROOTNAME} --writer +OnlyShowIn=Unity; + +[Desktop Action Calc] +Name=Spreadsheet +Exec=${UNIXBASISROOTNAME} --calc +OnlyShowIn=Unity; + +[Desktop Action Impress] +Name=Presentation +Exec=${UNIXBASISROOTNAME} --impress +OnlyShowIn=Unity; + +[Desktop Action Draw] +Name=Drawing +Exec=${UNIXBASISROOTNAME} --draw +OnlyShowIn=Unity; + +[Desktop Action Base] +Name=Database +Exec=${UNIXBASISROOTNAME} --base +OnlyShowIn=Unity; + +[Desktop Action Math] +Name=Formula +Exec=${UNIXBASISROOTNAME} --math +OnlyShowIn=Unity; + +##End of actions menu diff --git a/sysui/desktop/menus/writer.desktop b/sysui/desktop/menus/writer.desktop index bb3218730e48..25d30cb0b976 100755 --- a/sysui/desktop/menus/writer.desktop +++ b/sysui/desktop/menus/writer.desktop @@ -30,10 +30,11 @@ StartupNotify=true X-GIO-NoFuse=true Keywords=Text;Letter;Fax;Document;OpenDocument Text;Microsoft Word;Microsoft Works;Lotus WordPro;OpenOffice Writer;CV;odt;doc;docx;rtf; InitialPreference=5 -X-Ayatana-Desktop-Shortcuts=X-New StartupWMClass=libreoffice-writer X-KDE-Protocols=file,http,smb,ftp,webdav -[X-New Shortcut Group] -UnityQuicklist=New Document -Exec=${UNIXBASISROOTNAME} --writer %%FILE%% -TargetEnvironment=Unity + +Actions=NewDocument; +[Desktop Action NewDocument] +Name=New Document +Exec=${UNIXBASISROOTNAME} --writer +OnlyShowIn=Unity; |