Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnacio Rodriguez <ignacio@sugarlabs.org>2013-12-09 23:12:57 (GMT)
committer Ignacio Rodriguez <ignacio@sugarlabs.org>2013-12-09 23:12:57 (GMT)
commitbece13675cbfb731d7dd53066f4b203969184f2a (patch)
treeb4c76e6639c7718003dd3aa9f70488bcf1c6441c
parent1cfb3bcb5a5132e0363c92c509a82a2887c69480 (diff)
Change order of toolbartoolbar-fixes
-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)