diff options
Diffstat (limited to 'plugins/turtle_blocks_extras/turtle_blocks_extras.py')
-rw-r--r-- | plugins/turtle_blocks_extras/turtle_blocks_extras.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/turtle_blocks_extras/turtle_blocks_extras.py b/plugins/turtle_blocks_extras/turtle_blocks_extras.py index c3f00b1..8013ea6 100644 --- a/plugins/turtle_blocks_extras/turtle_blocks_extras.py +++ b/plugins/turtle_blocks_extras/turtle_blocks_extras.py @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import gtk +from util.gtkcompat import Gtk from time import time import os.path from gettext import gettext as _ @@ -994,7 +994,7 @@ bullets')) return pixbuf = None try: - pixbuf = gtk.gdk.pixbuf_new_from_file_at_size(self.tw.lc.filepath, + pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_size(self.tw.lc.filepath, scale, scale) except: self.tw.showlabel('nojournal', self.tw.lc.filepath) |