Move signal connections around

This commit is contained in:
Florian Bruhin 2017-05-28 10:54:16 +02:00
parent 06e754a632
commit beb731c04c

View File

@ -186,16 +186,16 @@ class TabbedBrowser(tabwidget.TabWidget):
self._filter.create(self.cur_load_started, tab)) self._filter.create(self.cur_load_started, tab))
tab.scroller.perc_changed.connect( tab.scroller.perc_changed.connect(
self._filter.create(self.cur_scroll_perc_changed, tab)) self._filter.create(self.cur_scroll_perc_changed, tab))
tab.scroller.perc_changed.connect(self.on_scroll_pos_changed)
tab.url_changed.connect( tab.url_changed.connect(
self._filter.create(self.cur_url_changed, tab)) self._filter.create(self.cur_url_changed, tab))
tab.load_status_changed.connect( tab.load_status_changed.connect(
self._filter.create(self.cur_load_status_changed, tab)) self._filter.create(self.cur_load_status_changed, tab))
tab.fullscreen_requested.connect( tab.fullscreen_requested.connect(
self._filter.create(self.cur_fullscreen_requested, tab)) self._filter.create(self.cur_fullscreen_requested, tab))
# misc
tab.scroller.perc_changed.connect(self.on_scroll_pos_changed)
tab.url_changed.connect( tab.url_changed.connect(
functools.partial(self.on_url_changed, tab)) functools.partial(self.on_url_changed, tab))
# misc
tab.title_changed.connect( tab.title_changed.connect(
functools.partial(self.on_title_changed, tab)) functools.partial(self.on_title_changed, tab))
tab.icon_changed.connect( tab.icon_changed.connect(