Whitespace adjustments

This commit is contained in:
Florian Bruhin 2014-02-21 20:07:40 +01:00
parent e47d13d725
commit 42bac07e6b

View File

@ -349,34 +349,34 @@ class QuteBrowser(QApplication):
browser = self.mainwindow.tabs
handlers = {
'open': browser.openurl,
'opencur': browser.opencur,
'tabopen': browser.tabopen,
'tabopencur': browser.tabopencur,
'quit': self.shutdown,
'tabclose': browser.cur_close,
'tabprev': browser.switch_prev,
'tabnext': browser.switch_next,
'reload': browser.cur_reload,
'stop': browser.cur_stop,
'back': browser.cur_back,
'forward': browser.cur_forward,
'print': browser.cur_print,
'scroll': browser.cur_scroll,
'scroll_page': browser.cur_scroll_page,
'open': browser.openurl,
'opencur': browser.opencur,
'tabopen': browser.tabopen,
'tabopencur': browser.tabopencur,
'quit': self.shutdown,
'tabclose': browser.cur_close,
'tabprev': browser.switch_prev,
'tabnext': browser.switch_next,
'reload': browser.cur_reload,
'stop': browser.cur_stop,
'back': browser.cur_back,
'forward': browser.cur_forward,
'print': browser.cur_print,
'scroll': browser.cur_scroll,
'scroll_page': browser.cur_scroll_page,
'scroll_perc_x': browser.cur_scroll_percent_x,
'scroll_perc_y': browser.cur_scroll_percent_y,
'undo': browser.undo_close,
'pyeval': self.pyeval,
'nextsearch': self.searchparser.nextsearch,
'yank': browser.cur_yank,
'yanktitle': browser.cur_yank_title,
'paste': browser.paste,
'tabpaste': browser.tabpaste,
'crash': self.crash,
'version': lambda: browser.openurl('qute:version'),
'zoomin': browser.cur_zoom_in,
'zoomout': browser.cur_zoom_out,
'undo': browser.undo_close,
'pyeval': self.pyeval,
'nextsearch': self.searchparser.nextsearch,
'yank': browser.cur_yank,
'yanktitle': browser.cur_yank_title,
'paste': browser.paste,
'tabpaste': browser.tabpaste,
'crash': self.crash,
'version': lambda: browser.openurl('qute:version'),
'zoomin': browser.cur_zoom_in,
'zoomout': browser.cur_zoom_out,
}
handler = handlers[cmd]