[Okular-devel] [okular] [Bug 314981] active-documentviewer desktop files are installed even if app is not built

Marco Martin notmart at gmail.com
Wed Feb 20 10:15:55 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=314981

Marco Martin <notmart at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/okul
                   |                            |ar/27c37c1fd1b87e8db40bfb3c
                   |                            |46f1489559749286

--- Comment #2 from Marco Martin <notmart at gmail.com> ---
Git commit 27c37c1fd1b87e8db40bfb3c46f1489559749286 by Marco Martin.
Committed on 20/02/2013 at 11:14.
Pushed by mart into branch 'master'.

use TryExec to not appear when not installed

when okular active is not installed, it should not appear in the open with
menu, so add TryExec to see if the executable exists
this is used instead of conditional install to make easier for distributions to
package the desktop and active versions separately
REVIEW:109047

M  +1    -0    generators/chm/active-documentviewer_chm.desktop
M  +1    -0    generators/comicbook/active-documentviewer_comicbook.desktop
M  +1    -0    generators/djvu/active-documentviewer_djvu.desktop
M  +1    -0    generators/dvi/active-documentviewer_dvi.desktop
M  +1    -0    generators/epub/active-documentviewer_epub.desktop
M  +1    -0    generators/fax/active-documentviewer_fax.desktop
M  +1    -0    generators/fictionbook/active-documentviewer_fb.desktop
M  +1    -0    generators/kimgio/active-documentviewer_kimgio.desktop
M  +1    -0    generators/ooo/active-documentviewer_ooo.desktop
M  +1    -0    generators/plucker/active-documentviewer_plucker.desktop
M  +1    -0    generators/poppler/active-documentviewer_pdf.desktop
M  +1    -0    generators/spectre/active-documentviewer_ghostview.desktop
M  +1    -0    generators/tiff/active-documentviewer_tiff.desktop
M  +1    -0    generators/txt/active-documentviewer_txt.desktop
M  +1    -0    generators/xps/active-documentviewer_xps.desktop

http://commits.kde.org/okular/27c37c1fd1b87e8db40bfb3c46f1489559749286

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list