Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageView.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ImageView.py b/ImageView.py
index ec0c79a..e91dc95 100644
--- a/ImageView.py
+++ b/ImageView.py
@@ -197,10 +197,6 @@ class ImageViewer(gtk.DrawingArea):
logging.warning('Got unsupported rotate angle')
self._temp_pixbuf = self.pixbuf.rotate_simple(rotate)
- self.set_zoom(self.zoom)
- if self._optimal_zoom_flag == True:
- self.zoom = self.calculate_optimal_zoom(pixbuf=self._temp_pixbuf)
-
width = int(self._temp_pixbuf.get_width() * self.zoom)
height = int(self._temp_pixbuf.get_height() * self.zoom)