testinggtk r377 - trunk/tests
- From: bjornl svn gnome org
- To: svn-commits-list gnome org
- Subject: testinggtk r377 - trunk/tests
- Date: Wed, 20 Aug 2008 18:44:26 +0000 (UTC)
Author: bjornl
Date: Wed Aug 20 18:44:26 2008
New Revision: 377
URL: http://svn.gnome.org/viewvc/testinggtk?rev=377&view=rev
Log:
size_allocate() doesn't seem to update the render properties, try get_cell_renderers() instead
Modified:
trunk/tests/test_cellview.py
Modified: trunk/tests/test_cellview.py
==============================================================================
--- trunk/tests/test_cellview.py (original)
+++ trunk/tests/test_cellview.py Wed Aug 20 18:44:26 2008
@@ -168,7 +168,7 @@
cv.add_attribute(cr, 'text', 1)
# Hack to make the cell view update the renderers properties.
- cv.size_allocate(gdk.Rectangle())
+ cv.get_cell_renderers()
assert cr.get_property('text') == 'two'
######################################################################
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]