Commit 6797c022 authored by Jack Michaelson's avatar Jack Michaelson

Add alternate keybindings without Control modifier for zooming in and

out
parent f883ab55
Pipeline #1245 passed with stages
in 1 minute and 16 seconds
......@@ -4518,6 +4518,18 @@ key_press_event (
}
}
break;
case GDK_KEY_minus:
cb_rstto_main_window_zoom_out( GTK_WIDGET(window), rstto_window );
break;
case GDK_KEY_plus:
cb_rstto_main_window_zoom_in( GTK_WIDGET(window), rstto_window );
break;
case GDK_KEY_equal:
cb_rstto_main_window_zoom_fit( GTK_WIDGET(window), rstto_window );
break;
case GDK_KEY_0:
cb_rstto_main_window_zoom_100( GTK_WIDGET(window), rstto_window );
break;
}
}
return TRUE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment