[POS-commit] r3912 - kiwi/trunk/kiwi/ui/widgets
Johan Dahlin
jdahlin at async.com.br
Thu Jul 13 10:03:18 BRT 2006
Author: jdahlin
Date: Thu Jul 13 10:03:17 2006
New Revision: 3912
Modified:
kiwi/trunk/kiwi/ui/widgets/entry.py
Log:
normalizing whitespace
Modified: kiwi/trunk/kiwi/ui/widgets/entry.py
==============================================================================
--- kiwi/trunk/kiwi/ui/widgets/entry.py (original)
+++ kiwi/trunk/kiwi/ui/widgets/entry.py Thu Jul 13 10:03:17 2006
@@ -238,7 +238,7 @@
metrics = context.get_metrics(context.get_font_description())
char_width = metrics.get_approximate_char_width() / pango.SCALE
current_width = self.entry.get_width_chars()
-
+
# We add 4 pixels to the width, because of the icon borders
icon_width = VALIDATION_ICON_WIDTH + 4
self.entry.set_width_chars(current_width
@@ -264,8 +264,8 @@
self.entry.set_property('mandatory', value)
return value
- # ValidatableProxyWidgetMixin implementation
-
+ # ValidatableProxyWidgetMixin
+
# Since the widget that should be marked as valid/invalid is the entry,
# we also call those methods for self.entry
def set_valid(self):
More information about the POS-commit
mailing list