Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Fomin <fominde@gmail.com>2011-10-07 23:22:25 +0400
committerDenis Fomin <fominde@gmail.com>2011-10-07 23:22:25 +0400
commit0e011ac00661f7d01fdc2e14c874e8034fde36e1 (patch)
tree1668be5d9794e70616ed4f3862bfd1afcb351970
parent47e5a52314b5985272b6d1e5191ebba4d2fa1ab3 (diff)
Fix gtk.label + wrapping in the dataform widget.(problem - http://img36.imageshack.us/img36/2782/tmpbhyeyn.png)gajim-0.15-beta2
-rw-r--r--src/gtkgui_helpers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtkgui_helpers.py b/src/gtkgui_helpers.py
index 5b62aca0d..c2e1bf249 100644
--- a/src/gtkgui_helpers.py
+++ b/src/gtkgui_helpers.py
@@ -1081,6 +1081,7 @@ def __label_size_allocate(widget, allocation):
return
# set wrap width to the pango.Layout of the labels ###
+ widget.set_alignment(0.0, 0.0)
layout.set_width (allocation.width * pango.SCALE)
lh = layout.get_size()[1]