Add more familiar zoom keybindings (closes #45)

One can use '+' to zoom in, '-' to zoom out and '=' to set the zoom level back
to 100%.
This commit is contained in:
Sebastian Ramacher 2010-10-31 10:30:26 +01:00
parent 454b356f37
commit 59b202ca4a

View File

@ -146,6 +146,9 @@ Shortcut shortcuts[] = {
{GDK_CONTROL_MASK, GDK_m, sc_toggle_inputbar, NORMAL, {0} },
{GDK_CONTROL_MASK, GDK_n, sc_toggle_statusbar, NORMAL, {0} },
{GDK_CONTROL_MASK, GDK_q, sc_quit, ALL, {0} },
{0, GDK_plus, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_IN } },
{0, GDK_minus, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_OUT } },
{0, GDK_equal, sc_zoom, NORMAL | FULLSCREEN, { ZOOM_ORIGINAL } },
};
/* inputbar shortcuts */