Replace img_{width,height} by width and height attributes

issue4266
review10561002
This commit is contained in:
Cédric Krier committed 2014-10-23 20:57:50 +02:00
1 parent d39bfa8906
commit 4201524b8b
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
* Replace img_{width,height} by width and height attributes
Version 3.4.0 - 2014-10-20
* Bug fixes (see mercurial logs for details)
* Add DnD on export window
@@ -18,8 +18,8 @@ class Image(Widget):
super(Image, self).__init__(view, attrs)
self.filename = attrs.get('filename')
self.height = int(attrs.get('img_height', 100))
self.width = int(attrs.get('img_width', 300))
self.height = int(attrs.get('height', 100))
self.width = int(attrs.get('width', 300))
self.widget = gtk.VBox(spacing=3)
self.event = gtk.EventBox()