~ubuntu-branches/debian/squeeze/inkscape/squeeze

« back to all changes in this revision

Viewing changes to share/extensions/color_removeblue.py

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Viehmann
  • Date: 2008-09-09 23:29:02 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080909232902-c50iujhk1w79u8e7
Tags: 0.46-2.1
* Non-maintainer upload.
* Add upstream patch fixing a crash in the open dialog
  in the zh_CN.utf8 locale. Closes: #487623.
  Thanks to Luca Bruno for the patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import coloreffect
 
2
 
 
3
class C(coloreffect.ColorEffect):
 
4
  def colmod(self,r,g,b):
 
5
    return '%02x%02x%02x' % (r,g,0)
 
6
 
 
7
c = C()
 
8
c.affect()
 
 
b'\\ No newline at end of file'