changeset 166dcb5e896d in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=166dcb5e896d
description:
Reorder search entry buttons
issue8099
review50751002
diffstat:
tryton/gui/window/view_form/view/screen_container.py | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (35 lines):
diff -r 9db3d4f3eca5 -r 166dcb5e896d
tryton/gui/window/view_form/view/screen_container.py
--- a/tryton/gui/window/view_form/view/screen_container.py Tue Feb 26
16:05:25 2019 +0100
+++ b/tryton/gui/window/view_form/view/screen_container.py Tue Feb 26
16:09:12 2019 +0100
@@ -207,15 +207,6 @@
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 @@
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'))