tweak: boot up with the correct zoom
This commit is contained in:
parent
0787f62e16
commit
374128fccc
2
rose.c
2
rose.c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user