tweak: boot up with the correct zoom

This commit is contained in:
NunoSempere 2022-12-12 15:37:31 +00:00
parent 0787f62e16
commit 374128fccc

2
rose.c
View File

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