passthrough for toggle custom style switch
This commit is contained in:
parent
f5a03f4d05
commit
80424d2854
12
rosenrot.c
12
rosenrot.c
|
@ -252,6 +252,12 @@ int handle_shortcut(func id, GtkNotebook* notebook)
|
||||||
webkit_web_view_go_forward(view);
|
webkit_web_view_go_forward(view);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */
|
||||||
|
if (custom_style_enabled)
|
||||||
|
custom_style_enabled = 0;
|
||||||
|
else
|
||||||
|
custom_style_enabled = 1;
|
||||||
|
// break; passthrough
|
||||||
case refresh:
|
case refresh:
|
||||||
webkit_web_view_reload(view);
|
webkit_web_view_reload(view);
|
||||||
break;
|
break;
|
||||||
|
@ -310,12 +316,6 @@ int handle_shortcut(func id, GtkNotebook* notebook)
|
||||||
gtk_window_fullscreen(window);
|
gtk_window_fullscreen(window);
|
||||||
is_fullscreen = !is_fullscreen;
|
is_fullscreen = !is_fullscreen;
|
||||||
break;
|
break;
|
||||||
case toggle_custom_style: /* Ctrl s + Ctrl Shift R to reload */
|
|
||||||
if (custom_style_enabled)
|
|
||||||
custom_style_enabled = 0;
|
|
||||||
else
|
|
||||||
custom_style_enabled = 1;
|
|
||||||
break;
|
|
||||||
case show_searchbar:
|
case show_searchbar:
|
||||||
toggle_bar(notebook, _SEARCH);
|
toggle_bar(notebook, _SEARCH);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user