# HG changeset patch
# User Alain Leufroy <alain.leufroy@logilab.fr>
# Date 1395250709 -3600
# Wed Mar 19 18:38:29 2014 +0100
# Node ID b8aaf6d1bbaa599fad736030e37ec159006cbab8
# Parent 66055b7bdfbcee8f15120fd820b7c587d5c31177
[qt] install description.css as a example file
closes #209472
closes #210274
This file is an example that may help users to customize the
description style (see the `descriptionstylepath <a25065d46075>`_ config entry).
# User Alain Leufroy <alain.leufroy@logilab.fr>
# Date 1395250709 -3600
# Wed Mar 19 18:38:29 2014 +0100
# Node ID b8aaf6d1bbaa599fad736030e37ec159006cbab8
# Parent 66055b7bdfbcee8f15120fd820b7c587d5c31177
[qt] install description.css as a example file
closes #209472
closes #210274
This file is an example that may help users to customize the
description style (see the `descriptionstylepath <a25065d46075>`_ config entry).
@@ -1,2 +1,2 @@
1 usr/lib/python*/*-packages/hgviewlib/qt4 2 -usr/share/hgview 3 +usr/share/doc/hgview
@@ -59,8 +59,8 @@
4 5 debian_handler = 'python-dep-standalone' 6 7 include_dirs = [] 8 data_files = [ 9 - [joinpath('share', 'hgview'), 10 + [joinpath('share', 'doc', 'hgview', 'examples'), 11 [joinpath('hgviewlib', 'qt4', 'resources', 'description.css')]] 12 ]
@@ -92,12 +92,12 @@
13 @cached 14 def getDescriptionStylePath(self, default=None): 15 """ 16 descriptionstylepath: 17 stylesheet file path used to format the revision description. 18 - You should found a copy of the default style sheet in the shared 19 - files location of your system (ex. /usr/share/hgview). 20 + You should found a copy of the default style sheet in the documentation 21 + files location of your system (ex. /usr/share/doc/hgview/examples). 22 """ 23 return self._fromconfig('descriptionstylepath', default) 24 25 @cached 26 def getDotRadius(self, default=8):