Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageViewerActivity.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/ImageViewerActivity.py b/ImageViewerActivity.py
index bf73163..5ba86d8 100644
--- a/ImageViewerActivity.py
+++ b/ImageViewerActivity.py
@@ -296,6 +296,12 @@ class ImageViewerActivity(activity.Activity):
toolbar_box.toolbar.insert(zoom_original_button, -1)
zoom_original_button.show()
+ fullscreen_button = ToolButton('view-fullscreen')
+ fullscreen_button.set_tooltip(_('Fullscreen'))
+ fullscreen_button.connect('clicked', self.__fullscreen_cb)
+ toolbar_box.toolbar.insert(fullscreen_button, -1)
+ fullscreen_button.show()
+
self._seps.append(Gtk.SeparatorToolItem())
toolbar_box.toolbar.insert(self._seps[-1], -1)
self._seps[-1].show()
@@ -313,16 +319,6 @@ class ImageViewerActivity(activity.Activity):
toolbar_box.toolbar.insert(rotate_clockwise_button, -1)
rotate_clockwise_button.show()
- self._seps.append(Gtk.SeparatorToolItem())
- toolbar_box.toolbar.insert(self._seps[-1], -1)
- self._seps[-1].show()
-
- fullscreen_button = ToolButton('view-fullscreen')
- fullscreen_button.set_tooltip(_('Fullscreen'))
- fullscreen_button.connect('clicked', self.__fullscreen_cb)
- toolbar_box.toolbar.insert(fullscreen_button, -1)
- fullscreen_button.show()
-
separator = Gtk.SeparatorToolItem()
separator.props.draw = False
separator.set_expand(True)