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