rosenrot-browser

A hackable browser based on Webkitgtk
Log | Files | Refs | README

commit 374128fccc4f5725355736bf6008697318944101
parent 0787f62e1676ebc6d295d5eb82eab8532dcf204f
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Mon, 12 Dec 2022 15:37:31 +0000

tweak: boot up with the correct zoom

Diffstat:
Mrose.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/rose.c b/rose.c @@ -305,6 +305,8 @@ void setup(GtkNotebook *notebook, const char *uri) gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(notebook)); gtk_widget_show_all(GTK_WIDGET(window)); gtk_widget_hide(GTK_WIDGET(bar)); + webkit_web_view_set_zoom_level(notebook_get_webview(notebook), ZOOM); + } int main(int argc, char **argv)