From bece13675cbfb731d7dd53066f4b203969184f2a Mon Sep 17 00:00:00 2001 From: Ignacio Rodriguez Date: Mon, 09 Dec 2013 23:12:57 +0000 Subject: Change order of toolbar --- 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) -- cgit v0.9.1