avoid 'reload' to show local fs master
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 24 Apr 2014 09:38:00 +0000 (11:38 +0200)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 24 Apr 2014 09:38:00 +0000 (11:38 +0200)
src/webbrowser.c

index bb69e34..829ceee 100644 (file)
@@ -71,7 +71,7 @@ GtkWidget *web_get_widget()
 
 void web_load(const char *str)
 {
 
 void web_load(const char *str)
 {
-       webkit_web_view_load_string(view, str, NULL, "UTF-8", "file://");
+       webkit_web_view_load_string(view, str, NULL, "UTF-8", "");
 }
 
 void webbrowser_init(GtkStatusbar *status)
 }
 
 void webbrowser_init(GtkStatusbar *status)