[Python-modules-commits] r6698 - in packages/python-xlib (4 files)

odd_bloke-guest at users.alioth.debian.org odd_bloke-guest at users.alioth.debian.org
Thu Oct 16 13:40:12 UTC 2008


    Date: Thursday, October 16, 2008 @ 13:40:11
  Author: odd_bloke-guest
Revision: 6698

Added patch to correct the mis-spelling of 'Rhomboid' in the examples.

Added:
  packages/python-xlib/trunk/debian/patches/fix-rhomboid-examples
Modified:
  packages/python-xlib/trunk/	(properties)
  packages/python-xlib/trunk/debian/changelog
  packages/python-xlib/trunk/debian/patches/series


Property changes on: packages/python-xlib/trunk
___________________________________________________________________
Name: bzr:revision-info
   + timestamp: 2008-10-16 14:39:54.778000116 +0100
committer: Daniel Watkins <daniel at daniel-watkins.co.uk>
properties: 
	branch-nick: python-xlib

Name: bzr:file-ids
   + debian/changelog	3391 at 771dd761-d7fa-0310-a302-f036d1c1ebb6:packages%2Fpython-xlib%2Ftrunk:debian%2Fchangelog
debian/patches/fix-rhomboid-examples	fixrhomboidexamples-20081016133351-nurri33hcigzojiq-1
debian/patches/series	3391 at 771dd761-d7fa-0310-a302-f036d1c1ebb6:packages%2Fpython-xlib%2Ftrunk:debian%2Fpatches%2Fseries

Name: bzr:revision-id:v3-trunk2
   + 14 daniel at daniel-watkins.co.uk-20081016133954-dav2q5xkt2jah4fo

Name: bzr:text-parents
   + 

Modified: packages/python-xlib/trunk/debian/changelog
===================================================================
--- packages/python-xlib/trunk/debian/changelog	2008-10-14 20:16:14 UTC (rev 6697)
+++ packages/python-xlib/trunk/debian/changelog	2008-10-16 13:40:11 UTC (rev 6698)
@@ -1,3 +1,9 @@
+python-xlib (0.14-3) UNRELEASED; urgency=low
+
+  * Added patch to correct the mis-spelling of 'Rhomboid' in the examples.
+
+ -- Daniel Watkins <daniel at daniel-watkins.co.uk>  Thu, 16 Oct 2008 14:38:39 +0100
+
 python-xlib (0.14-2) unstable; urgency=low
 
   [ Sandro Tosi ]

Added: packages/python-xlib/trunk/debian/patches/fix-rhomboid-examples
===================================================================
--- packages/python-xlib/trunk/debian/patches/fix-rhomboid-examples	                        (rev 0)
+++ packages/python-xlib/trunk/debian/patches/fix-rhomboid-examples	2008-10-16 13:40:11 UTC (rev 6698)
@@ -0,0 +1,102 @@
+Index: python-xlib-0.14/examples/draw.py
+===================================================================
+--- python-xlib-0.14.orig/examples/draw.py	2008-10-16 14:35:25.000000000 +0100
++++ python-xlib-0.14/examples/draw.py	2008-10-16 14:36:35.000000000 +0100
+@@ -117,7 +117,7 @@
+                         sys.exit(0)
+ 
+ # A drawed objects, consisting of either a single
+-# romboid, or two romboids connected by a winding line
++# rhomboid, or two rhomboids connected by a winding line
+ 
+ class Movement:
+     def __init__(self, win, ev):
+@@ -131,7 +131,7 @@
+         self.time = ev.time
+         self.lines = [(ev.event_x, ev.event_y)]
+ 
+-        self.first = Romboid(self.win, ev)
++        self.first = Rhomboid(self.win, ev)
+         self.last = None
+ 
+     def motion(self, ev):
+@@ -187,7 +187,7 @@
+     def finish(self, ev):
+         self.motion(ev)
+         if len(self.lines) > 1:
+-            self.last = Romboid(self.win, ev)
++            self.last = Rhomboid(self.win, ev)
+ 
+             self.left = min(ev.event_x - 5, self.left)
+             self.right = max(ev.event_x + 5, self.right)
+@@ -209,8 +209,8 @@
+                 self.last.draw()
+ 
+ 
+-# A romboid, drawed around the Movement endpoints
+-class Romboid:
++# A rhomboid, drawed around the Movement endpoints
++class Rhomboid:
+     def __init__(self, win, ev):
+         self.win = win
+         self.x = ev.event_x
+@@ -218,7 +218,7 @@
+         self.draw()
+ 
+     def draw(self):
+-        # Draw the segments of the romboid
++        # Draw the segments of the rhomboid
+         self.win.window.poly_line(self.win.gc, X.CoordModePrevious,
+                                   [(self.x, self.y - 5),
+                                    (5, 5),
+Index: python-xlib-0.14/examples/draw-proto.py
+===================================================================
+--- python-xlib-0.14.orig/examples/draw-proto.py	2008-10-16 14:35:25.000000000 +0100
++++ python-xlib-0.14/examples/draw-proto.py	2008-10-16 14:36:42.000000000 +0100
+@@ -106,7 +106,7 @@
+                 current.motion(e)
+ 
+ # A drawed objects, consisting of either a single
+-# romboid, or two romboids connected by a winding line
++# rhomboid, or two rhomboids connected by a winding line
+ 
+ class Movement:
+     def __init__(self, win, ev):
+@@ -120,7 +120,7 @@
+         self.time = ev.time
+         self.lines = [(ev.event_x, ev.event_y)]
+ 
+-        self.first = Romboid(self.win, ev)
++        self.first = Rhomboid(self.win, ev)
+         self.last = None
+ 
+     def motion(self, ev):
+@@ -183,7 +183,7 @@
+     def finish(self, ev):
+         self.motion(ev)
+         if len(self.lines) > 1:
+-            self.last = Romboid(self.win, ev)
++            self.last = Rhomboid(self.win, ev)
+ 
+             self.left = min(ev.event_x - 5, self.left)
+             self.right = max(ev.event_x + 5, self.right)
+@@ -207,8 +207,8 @@
+                 self.last.draw()
+ 
+ 
+-# A romboid, drawed around the Movement endpoints
+-class Romboid:
++# A rhomboid, drawed around the Movement endpoints
++class Rhomboid:
+     def __init__(self, win, ev):
+         self.win = win
+         self.x = ev.event_x
+@@ -216,7 +216,7 @@
+         self.draw()
+ 
+     def draw(self):
+-        # Draw the segments of the romboid
++        # Draw the segments of the rhomboid
+         PolyLine(self.win.d, None,
+                  X.CoordModePrevious,
+                  self.win.window,

Modified: packages/python-xlib/trunk/debian/patches/series
===================================================================
--- packages/python-xlib/trunk/debian/patches/series	2008-10-14 20:16:14 UTC (rev 6697)
+++ packages/python-xlib/trunk/debian/patches/series	2008-10-16 13:40:11 UTC (rev 6698)
@@ -3,3 +3,4 @@
 add-texinfo-dir-entry
 add-texinfo-makefile
 fix-ssh-tunnel-auth
+fix-rhomboid-examples




More information about the Python-modules-commits mailing list