cifrado r87 - trunk/package/cifrado
- From: bersace svn gnome org
- To: svn-commits-list gnome org
- Subject: cifrado r87 - trunk/package/cifrado
- Date: Fri, 4 Apr 2008 17:38:47 +0100 (BST)
Author: bersace
Date: Fri Apr 4 17:38:47 2008
New Revision: 87
URL: http://svn.gnome.org/viewvc/cifrado?rev=87&view=rev
Log:
Imprime le sÃparateur vertical toujours à gauche du titre.
Modified:
trunk/package/cifrado/cifrado.py
Modified: trunk/package/cifrado/cifrado.py
==============================================================================
--- trunk/package/cifrado/cifrado.py (original)
+++ trunk/package/cifrado/cifrado.py Fri Apr 4 17:38:47 2008
@@ -845,10 +845,10 @@
cr.restore()
# chiffrements
- w,h = self.impr_text(contexte, "Chiffrement",
- font='sans bold 9',
- y=hh/pango.SCALE,
- align=pango.ALIGN_RIGHT)
+ hw,h = self.impr_text(contexte, "Chiffrement",
+ font='sans bold 9',
+ y=hh/pango.SCALE,
+ align=pango.ALIGN_RIGHT)
iter = em.codeurs.get_iter_first()
mw = 0
@@ -886,7 +886,7 @@
cr.save()
cr.set_source_rgb(.5, .5, .5)
- cr.move_to(contexte.get_width()-(2*il)/pango.SCALE-mw,
+ cr.move_to(contexte.get_width()-(2*il)/pango.SCALE-max(mw,hw/pango.SCALE),
hh/pango.SCALE)
cr.rel_line_to(0, (y-hh)/pango.SCALE)
cr.set_line_width(.5)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]