From a7f95e009ccef9532d502d29beff114e490ef985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 26 Feb 2019 16:09:12 +0100 Subject: [PATCH] Reorder search entry buttons issue8099 review50751002 --- .../window/view_form/view/screen_container.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tryton/gui/window/view_form/view/screen_container.py b/tryton/gui/window/view_form/view/screen_container.py index 315327ba10..37e2514fc3 100644 --- a/tryton/gui/window/view_form/view/screen_container.py +++ b/tryton/gui/window/view_form/view/screen_container.py @@ -207,15 +207,6 @@ class ScreenContainer(object): def deactivate(menuitem, togglebutton): togglebutton.props.active = False - but_active = gtk.ToggleButton() - self.but_active = but_active - self._set_active_tooltip() - but_active.add(common.IconFactory.get_image( - 'tryton-archive', gtk.ICON_SIZE_SMALL_TOOLBAR)) - but_active.set_relief(gtk.RELIEF_NONE) - but_active.connect('toggled', self.search_active) - hbox.pack_start(but_active, expand=False, fill=False) - but_bookmark = gtk.ToggleButton() self.but_bookmark = but_bookmark tooltips.set_tip(but_bookmark, _('Show bookmarks of filters')) @@ -229,6 +220,15 @@ class ScreenContainer(object): but_bookmark.connect('toggled', popup) hbox.pack_start(but_bookmark, expand=False, fill=False) + but_active = gtk.ToggleButton() + self.but_active = but_active + self._set_active_tooltip() + but_active.add(common.IconFactory.get_image( + 'tryton-archive', gtk.ICON_SIZE_SMALL_TOOLBAR)) + but_active.set_relief(gtk.RELIEF_NONE) + but_active.connect('toggled', self.search_active) + hbox.pack_start(but_active, expand=False, fill=False) + but_prev = gtk.Button() self.but_prev = but_prev tooltips.set_tip(but_prev, _('Previous'))