Interpret Ctrl+= as Zoom In for compatibility
This commit is contained in:
parent
eb7245c30a
commit
3331921cfc
1 changed files with 7 additions and 0 deletions
|
@ -1625,6 +1625,13 @@ midori_browser_key_press_event (GtkWidget* widget,
|
||||||
gtk_action_activate (_action_by_name (browser, "TabPrevious"));
|
gtk_action_activate (_action_by_name (browser, "TabPrevious"));
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
/* Interpret Ctrl+= as Zoom In for compatibility */
|
||||||
|
else if ((event->keyval == GDK_KP_Equal || event->keyval == GDK_equal)
|
||||||
|
&& (event->state & GDK_CONTROL_MASK))
|
||||||
|
{
|
||||||
|
midori_browser_activate_action (browser, "ZoomIn");
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
/* Interpret F5 as reloading for compatibility */
|
/* Interpret F5 as reloading for compatibility */
|
||||||
else if (event->keyval == GDK_F5)
|
else if (event->keyval == GDK_F5)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue