Add Desktop Entry
This commit is contained in:
1 parent
4c316dc049
commit
f5ece20af4
5 files changed
+14
-1
No files matched your search
@@ -6,8 +6,10 @@ include TODO
|
||||
include CHANGELOG
|
||||
include setup.nsi
|
||||
include setup-single.nsi
|
||||
include tryton.desktop
|
||||
include *.nsh
|
||||
include doc/*
|
||||
include share/pixmaps/tryton-icon.png
|
||||
include share/pixmaps/tryton/*.png
|
||||
include share/pixmaps/tryton/*.svg
|
||||
include share/pixmaps/tryton/*.ico
|
||||
|
||||
@@ -89,6 +89,7 @@ setup(name=PACKAGE,
|
||||
url=WEBSITE,
|
||||
packages=find_packages(),
|
||||
data_files=[
|
||||
('share/pixmaps/tryton', glob.glob('share/pixmaps/tryton-icon.png')),
|
||||
('share/pixmaps/tryton', glob.glob('share/pixmaps/tryton/*.png') + \
|
||||
glob.glob('share/pixmaps/tryton/*.svg')),
|
||||
('share/locale/fr_FR/LC_MESSAGES', glob.glob('share/locale/fr_FR/LC_MESSAGES/*.mo')),
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=Tryton
|
||||
Comment=Access tryton server.
|
||||
Exec=tryton
|
||||
Icon=tryton-icon
|
||||
Terminal=false
|
||||
Categories=Office;Finance;
|
||||
GenericName=Tryton Client
|
||||
+1
-1
@@ -196,7 +196,7 @@ if os.name == 'nt':
|
||||
import gtk
|
||||
|
||||
TRYTON_ICON = gtk.gdk.pixbuf_new_from_file(
|
||||
os.path.join(PIXMAPS_DIR, 'tryton-icon.png'))
|
||||
os.path.join(PIXMAPS_DIR, '..', 'tryton-icon.png'))
|
||||
|
||||
def _data_dir():
|
||||
data_dir = os.path.join(CURRENT_DIR, 'share', 'tryton')
|
||||
|
||||
Reference in new issue
Block a user